problem_id stringlengths 6 6 | buggy_code stringlengths 8 526k | fixed_code stringlengths 12 526k | labels listlengths 0 15 ⌀ | buggy_submission_id int64 1 1.54M | fixed_submission_id int64 2 1.54M | user_id stringlengths 10 10 | language stringclasses 8
values |
|---|---|---|---|---|---|---|---|
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A + B == C || B + C == A || C + A == B)
cout << "Yes" << endl;
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A + B == C || B + C == A || C + A == B)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,480,930 | 1,480,931 | u820224016 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
d = a + b + c;
if (max(a, max(b, c)) == d / 2) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
d = a + b + c;
if (max(a, max(b, c)) * 2 == d) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 1,480,945 | 1,480,946 | u683078179 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
#ifdef _DEBUG
freopen("in", "r", stdin);
freopen("out", "w", stdout);
#endif
ios::sync_with_stdio(0);
cin.tie(0);
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + c == a)
cout << "YES\n";
else
cout << "NO\n";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
#ifdef _DEBUG
freopen("in", "r", stdin);
freopen("out", "w", stdout);
#endif
ios::sync_with_stdio(0);
cin.tie(0);
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + c == a)
cout << "Yes\n";
else
cout << "No\n";
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,480,947 | 1,480,948 | u795253799 | cpp |
p03943 | #include <algorithm>
#include <array>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
array<int, 3> x;
int max = 0;
int sum = 0;
// cin >> a >> b >> c;
for (int i = 0; i < 3; i++) {
cin >> x[i];
if (max < x[i]) {
max = i;
}
}
switch (max) {
... | #include <algorithm>
#include <array>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
array<int, 3> x;
int max = 0;
int sum = 0;
// cin >> a >> b >> c;
for (int i = 0; i < 3; i++) {
cin >> x[i];
if (x[max] <= x[i]) {
max = i;
}
// cout << max <... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 1,480,949 | 1,480,950 | u261045431 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define pb push_back
#define f(i, n) for (i = 0; i < n; i++)
#define F(i, a, b) for (i = a; a <= b; i++)
#define arr(a, n) \
for (i = 0; i < n; i++) ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define pb push_back
#define f(i, n) for (i = 0; i < n; i++)
#define F(i, a, b) for (i = a; a <= b; i++)
#define arr(a, n) \
for (i = 0; i < n; i++) ... | [] | 1,480,951 | 1,480,952 | u159663513 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
string ans = "No";
if (a - b - c == 0) {
ans = "Yes";
} else if (b - c - a == 0) {
ans == "Yes";
} else if (c - a - b == 0) {
ans == "Yes";
}
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
string ans = "No";
if (a - b - c == 0) {
ans = "Yes";
} else if (b - c - a == 0) {
ans = "Yes";
} else if (c - a - b == 0) {
ans = "Yes";
}
cout << ans << endl;
} | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,480,955 | 1,480,956 | u785492958 | cpp |
p03943 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define all(a) (a).begin(), (a).end()
#define dunk(a) cout << (a) << endl
using namespace std;
typedef long long ll;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
vector<int> a(3);
rep(i, 3) cin >> a[i];
sort(all(a));
if (a[0]... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define all(a) (a).begin(), (a).end()
#define dunk(a) cout << (a) << endl
using namespace std;
typedef long long ll;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
vector<int> a(3);
rep(i, 3) cin >> a[i];
sort(all(a));
if (a[0]... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,480,965 | 1,480,966 | u274883254 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
#define repr(i, a, b) for (int i = a; i < b; i++)
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
int main() {
ll a, b, c;
cin >> a >> b >> c;
if (a + b == c || a + c == b || a == b + c)
puts("Yes");
else
puts("NO");
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define repr(i, a, b) for (int i = a; i < b; i++)
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
int main() {
ll a, b, c;
cin >> a >> b >> c;
if (a + b == c || a + c == b || a == b + c)
puts("Yes");
else
puts("No");
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,480,967 | 1,480,968 | u426143712 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int s = a + b + c;
if (s == a || s == b || s == c)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int s = a + b + c;
if (s == a * 2 || s == b * 2 || s == c * 2)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 1,480,969 | 1,480,970 | u379947938 | cpp |
p03943 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + c == a) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + c == a) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,480,971 | 1,480,972 | u012131682 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, q = 0;
cin >> a >> b >> c;
if (a + b == c)
q = 1;
if (b + c == a)
q = 1;
if (a + c == b)
q = 1;
if (q)
cout << "YES";
else
cout << "NO";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, q = 0;
cin >> a >> b >> c;
if (a + b == c)
q = 1;
if (b + c == a)
q = 1;
if (a + c == b)
q = 1;
if (q)
cout << "Yes";
else
cout << "No";
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,480,973 | 1,480,974 | u894275299 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || b + c == a || a + c == b) {
cout << "yes" << endl;
}
else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || b + c == a || a + c == b) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,480,981 | 1,480,982 | u519449115 | cpp |
p03943 | // C
#include <cassert>
//#include <cctype>
#include <ccomplex>
#include <cerrno>
#include <cfenv>
#include <cfloat>
#include <cinttypes>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdalign>
#include <cstdarg>
#include <cstdbool>
#include <... | // C
#include <cassert>
//#include <cctype>
#include <ccomplex>
#include <cerrno>
#include <cfenv>
#include <cfloat>
#include <cinttypes>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdalign>
#include <cstdarg>
#include <cstdbool>
#include <... | [
"literal.string.change",
"io.output.change"
] | 1,480,985 | 1,480,986 | u685346012 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + c == a) {
cout << "Yes" << endl;
}
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + c == a) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
}
| [
"control_flow.branch.else.add"
] | 1,480,990 | 1,480,991 | u207948013 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int z[3];
z[0] = a;
z[1] = b;
z[2] = c;
sort(z, z + 3);
if (z[0] + z[1] == z[3])
cout << "Yes\n";
else
cout << "No\n";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int z[3];
z[0] = a;
z[1] = b;
z[2] = c;
sort(z, z + 3);
if (z[0] + z[1] == z[2])
cout << "Yes\n";
else
cout << "No\n";
return 0;
}
| [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,481,002 | 1,481,003 | u626157306 | cpp |
p03940 | #include <bits/stdc++.h>
#define all(vec) vec.begin(), vec.end()
#define mp make_pair
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
const ll INF = 1LL << 30;
const ll LINF = 1LL << 62;
const double eps = 1e-9;
const ll MOD = 1000000007LL;
template <typename T> void chmin(T &a, T b) { a = min(a, b);... | #include <bits/stdc++.h>
#define all(vec) vec.begin(), vec.end()
#define mp make_pair
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
const ll INF = 1LL << 30;
const ll LINF = 1LL << 62;
const double eps = 1e-9;
const ll MOD = 1000000007LL;
template <typename T> void chmin(T &a, T b) { a = min(a, b);... | [
"assignment.change"
] | 1,481,017 | 1,481,018 | u924339359 | cpp |
p03940 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
// const ll mod = 1000000007;
ll N, E, T;
ll x[100050];
ll dp[100050];
int main() {
// cout.precision(10);
cin >> N >> E >> T;
for (int i = 1; i <= N; i++) {
dp[i] = 1e17;
cin >>... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
// const ll mod = 1000000007;
ll N, E, T;
ll x[100050];
ll dp[100050];
int main() {
// cout.precision(10);
cin >> N >> E >> T;
for (int i = 1; i <= N; i++) {
dp[i] = 1e17;
cin >>... | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 1,481,019 | 1,481,020 | u980655160 | cpp |
p03940 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; i++)
#define all(c) (c).begin(), (c).end()
#define pb push_back
#define dbg(...) \
do { \
cerr << __LINE__ <<... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; i++)
#define all(c) (c).begin(), (c).end()
#define pb push_back
#define dbg(...) \
do { \
cerr << __LINE__ <<... | [
"assignment.add"
] | 1,481,029 | 1,481,030 | u525288965 | cpp |
p03940 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; i++)
#define all(c) (c).begin(), (c).end()
#define pb push_back
#define dbg(...) \
do { \
cerr << __LINE__ <<... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; i++)
#define all(c) (c).begin(), (c).end()
#define pb push_back
#define dbg(...) \
do { \
cerr << __LINE__ <<... | [
"assignment.add",
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 1,481,031 | 1,481,030 | u525288965 | cpp |
p03940 | #include <bits/stdc++.h>
using namespace std;
#ifdef DEBUG_MODE
#define DBG(n) n;
#else
#define DBG(n) ;
#endif
#define REP(i, n) for (ll(i) = (0); (i) < (n); ++i)
#define PB push_back
#define MP make_pair
#define FI first
#define SE second
#define SHOW1d(v, n) ... | #include <bits/stdc++.h>
using namespace std;
#ifdef DEBUG_MODE
#define DBG(n) n;
#else
#define DBG(n) ;
#endif
#define REP(i, n) for (ll(i) = (0); (i) < (n); ++i)
#define PB push_back
#define MP make_pair
#define FI first
#define SE second
#define SHOW1d(v, n) ... | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove"
] | 1,481,041 | 1,481,042 | u382880969 | cpp |
p03940 | #include <bits/stdc++.h>
#define N 100020
#define ll long long
using namespace std;
inline int read() {
int x = 0, f = 1;
char ch = getchar();
while (ch > '9' || ch < '0')
ch == '-' && (f = 0) || (ch = getchar());
while (ch <= '9' && ch >= '0')
x = (x << 3) + (x << 1) + ch - '0', ch = getchar();
retur... | #include <bits/stdc++.h>
#define N 100020
#define ll long long
using namespace std;
inline int read() {
int x = 0, f = 1;
char ch = getchar();
while (ch > '9' || ch < '0')
ch == '-' && (f = 0) || (ch = getchar());
while (ch <= '9' && ch >= '0')
x = (x << 3) + (x << 1) + ch - '0', ch = getchar();
retur... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,481,045 | 1,481,046 | u383992322 | cpp |
p03940 | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define int long long
#define itr ::iterator
typedef pair<int, int> pii;
const int MAX = 1e6;
const int INF = 1e18;
int N, E, T, arr[MAX], dp[MAX], tot[MAX], pre[MAX], nxt[MAX];
/*int cal(int ind)
{
if(ind==N+1)
... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define int long long
#define itr ::iterator
typedef pair<int, int> pii;
const int MAX = 1e6;
const int INF = 1e18;
int N, E, T, arr[MAX], dp[MAX], tot[MAX], pre[MAX], nxt[MAX];
/*int cal(int ind)
{
if(ind==N+1)
... | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,481,051 | 1,481,052 | u033696834 | cpp |
p03940 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int N = 100005, sz = 131072;
const ll INF = ll(1e18);
struct Seg {
ll d[2 * sz];
void ini() { fill(d, d + 2 * sz, INF); }
void upd(int x, ll v) {
x += sz;
d[x] = min(d[x], v);
for (x >>= 1; x; x >>= 1)
d[x] = min(d[2 * ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int N = 100005, sz = 131072;
const ll INF = ll(1e18);
struct Seg {
ll d[2 * sz];
void ini() { fill(d, d + 2 * sz, INF); }
void upd(int x, ll v) {
x += sz;
d[x] = min(d[x], v);
for (x >>= 1; x; x >>= 1)
d[x] = min(d[2 * ... | [
"literal.number.type.widen.change"
] | 1,481,055 | 1,481,056 | u089329978 | cpp |
p03940 | #include <bits/stdc++.h>
using namespace std;
#define mp make_pair
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define YES() printf("YES\n")
#define NO() printf("NO\n")
#define Yes() printf("Yes\n")
#define No() printf("No\n")
#define in(x, y, h, w) x >= 0 && x < h &&y >= 0 && y < w
#define int long lon... | #include <bits/stdc++.h>
using namespace std;
#define mp make_pair
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define YES() printf("YES\n")
#define NO() printf("NO\n")
#define Yes() printf("Yes\n")
#define No() printf("No\n")
#define in(x, y, h, w) x >= 0 && x < h &&y >= 0 && y < w
#define int long lon... | [
"assignment.change",
"expression.operation.binary.remove"
] | 1,481,059 | 1,481,060 | u456611841 | cpp |
p03940 | #include <bits/stdc++.h>
using namespace std;
typedef long long int64;
const int64 INF = 1LL << 58;
template <typename T> struct SegmentTree {
const T INF;
vector<T> seg;
int sz;
SegmentTree(int n) : INF(numeric_limits<T>::max()) {
sz = 1;
while (sz < n)
sz <<= 1;
seg.assign(2 * sz - 1, ... | #include <bits/stdc++.h>
using namespace std;
typedef long long int64;
const int64 INF = 1LL << 58;
template <typename T> struct SegmentTree {
const T INF;
vector<T> seg;
int sz;
SegmentTree(int n) : INF(numeric_limits<T>::max() / 10) {
sz = 1;
while (sz < n)
sz <<= 1;
seg.assign(2 * sz ... | [
"expression.operation.binary.add"
] | 1,481,070 | 1,481,071 | u524343822 | cpp |
p03940 | #include <cstdio>
#include <iostream>
#include <set>
using namespace std;
long long dp[100010];
int x[100010];
int n, e;
long long t;
int st;
multiset<long long> s1, s2;
int main() {
scanf("%d%d%lld", &n, &e, &t);
for (int i = 1; i <= n; i++)
scanf("%d", x + i);
s2.insert(t);
for (int i = 1; i <= n; i++) {
... | #include <cstdio>
#include <iostream>
#include <set>
using namespace std;
long long dp[100010];
int x[100010];
int n, e;
long long t;
int st;
multiset<long long> s1, s2;
int main() {
scanf("%d%d%lld", &n, &e, &t);
for (int i = 1; i <= n; i++)
scanf("%d", x + i);
s2.insert(t);
for (int i = 1; i <= n; i++) {
... | [
"call.arguments.add",
"call.arguments.change"
] | 1,481,072 | 1,481,073 | u309744970 | cpp |
p03940 | #include <bits/stdc++.h>
using namespace std;
#define mkp make_pair
#define fst first
#define snd second
typedef long long ll;
typedef pair<ll, int> pli;
const int MAXN = 100010;
const ll INF = 1LL << 50;
inline int read() {
int x = 0, f = 1;
char ch = getchar();
for (; !isdigit(ch); ch = getchar())
if (ch ... | #include <bits/stdc++.h>
using namespace std;
#define mkp make_pair
#define fst first
#define snd second
typedef long long ll;
typedef pair<ll, int> pli;
const int MAXN = 100010;
const ll INF = 1LL << 50;
inline int read() {
int x = 0, f = 1;
char ch = getchar();
for (; !isdigit(ch); ch = getchar())
if (ch ... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"misc.opposites"
] | 1,481,080 | 1,481,081 | u373494487 | cpp |
p03940 | #include <bits/stdc++.h>
#define ll long long
#define ld long double
#define pb push_back
#define mp make_pair
#define F first
#define S second
using namespace ::std;
const ll maxn = 1e5 + 500;
const ll inf = 2e18 + 7;
ll dp[maxn];
ll a[maxn];
ll parminn[maxn];
int main() {
fill(dp, dp + maxn, inf);
ll n, e, t;
... | #include <bits/stdc++.h>
#define ll long long
#define ld long double
#define pb push_back
#define mp make_pair
#define F first
#define S second
using namespace ::std;
const ll maxn = 1e5 + 500;
const ll inf = 2e18 + 7;
ll dp[maxn];
ll a[maxn];
ll parminn[maxn];
int main() {
fill(dp, dp + maxn, inf);
ll n, e, t;
... | [
"control_flow.loop.condition.change",
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 1,481,082 | 1,481,083 | u638361337 | cpp |
p03940 | // by yjz
#include <bits/stdc++.h>
using namespace std;
#define FF first
#define SS second
#define PB push_back
#define MP make_pair
#define bged(v) (v).begin(), (v).end()
#define foreach(it, s) \
for (__typeof((s).begin()) it = (s).begin(); it != (s).end(); it+... | // by yjz
#include <bits/stdc++.h>
using namespace std;
#define FF first
#define SS second
#define PB push_back
#define MP make_pair
#define bged(v) (v).begin(), (v).end()
#define foreach(it, s) \
for (__typeof((s).begin()) it = (s).begin(); it != (s).end(); it+... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 1,481,084 | 1,481,085 | u563764376 | cpp |
p03940 | #include <cstdio>
#include <cstring>
#include <iostream>
template <typename T> inline void check_min(T a, T &b) {
if (a < b)
b = a;
}
template <typename T> inline void read(T &x) {
char c = x = 0;
for (c = getchar(); !isdigit(c); c = getchar())
;
for (; isdigit(c); c = getchar())
x = (x << 3) + (x <... | #include <cstdio>
#include <cstring>
#include <iostream>
template <typename T> inline void check_min(T a, T &b) {
if (a < b)
b = a;
}
template <typename T> inline void read(T &x) {
char c = x = 0;
for (c = getchar(); !isdigit(c); c = getchar())
;
for (; isdigit(c); c = getchar())
x = (x << 3) + (x <... | [
"call.arguments.change"
] | 1,481,086 | 1,481,087 | u156352356 | cpp |
p03940 | #include <bits/stdc++.h>
using namespace std;
int n, t, e;
int x[111111];
long long f[111111], g[111111];
int main() {
// freopen("input.inp", "r", stdin);
scanf("%d%d%d", &n, &e, &t);
for (int i = 1; i <= n; ++i)
scanf("%d", &x[i]);
int p = 0;
g[0] = -2 * x[1];
for (int i = 1; i <= n; ++i) {
whi... | #include <bits/stdc++.h>
using namespace std;
int n, t, e;
int x[111111];
long long f[111111], g[111111];
int main() {
// freopen("input.inp", "r", stdin);
scanf("%d%d%d", &n, &e, &t);
for (int i = 1; i <= n; ++i)
scanf("%d", &x[i]);
int p = 0;
g[0] = -2 * x[1];
for (int i = 1; i <= n; ++i) {
whi... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,481,088 | 1,481,089 | u384645789 | cpp |
p03940 | #include <bits/stdc++.h>
using namespace std;
int n, t, e;
int x[111111];
long long f[111111], g[111111];
int main() {
// freopen("input.inp", "r", stdin);
scanf("%d%d%d", &n, &e, &t);
for (int i = 1; i <= n; ++i)
scanf("%d", &x[i]);
int p = 0;
g[0] = -2 * x[1];
for (int i = 1; i <= n; ++i) {
whi... | #include <bits/stdc++.h>
using namespace std;
int n, t, e;
int x[111111];
long long f[111111], g[111111];
int main() {
// freopen("input.inp", "r", stdin);
scanf("%d%d%d", &n, &e, &t);
for (int i = 1; i <= n; ++i)
scanf("%d", &x[i]);
int p = 0;
g[0] = -2 * x[1];
for (int i = 1; i <= n; ++i) {
whi... | [
"control_flow.loop.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,481,090 | 1,481,089 | u384645789 | cpp |
p03940 | #include <cmath>
#include <cstdio>
#include <set>
#define incID(i, l, r) for (int i = (l); i < (r); i++)
#define incII(i, l, r) for (int i = (l); i <= (r); i++)
#define decID(i, l, r) for (int i = (r)-1; i >= (l); i--)
#define decII(i, l, r) for (int i = (r); i >= (l); i--)
#define inc(i, n) incID(i, 0, n)
#define inc... | #include <cmath>
#include <cstdio>
#include <set>
#define incID(i, l, r) for (int i = (l); i < (r); i++)
#define incII(i, l, r) for (int i = (l); i <= (r); i++)
#define decID(i, l, r) for (int i = (r)-1; i >= (l); i--)
#define decII(i, l, r) for (int i = (r); i >= (l); i--)
#define inc(i, n) incID(i, 0, n)
#define inc... | [
"call.function.change",
"function.return_value.change",
"call.arguments.change"
] | 1,481,099 | 1,481,100 | u568652083 | cpp |
p03940 | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> pii;
typedef vector<int> vi;
const ll INF... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> pii;
typedef vector<int> vi;
const ll INF... | [
"variable_declaration.type.change",
"expression.operation.binary.remove"
] | 1,481,111 | 1,481,112 | u613658617 | cpp |
p03940 | #include <algorithm>
#include <cstdio>
#include <set>
typedef long long i64;
const int N = 100000 + 10;
const i64 INF = 1LL << 60;
int n, t, e, x[N];
i64 f[N];
int main() {
scanf("%d%d%d", &n, &e, &t);
for (int i = 1; i <= n; ++i)
scanf("%d", &x[i]);
std::multiset<i64> a, b;
for (int i = 1, j = 1; i <= ... | #include <algorithm>
#include <cstdio>
#include <set>
typedef long long i64;
const int N = 100000 + 10;
const i64 INF = 1LL << 60;
int n, t, e, x[N];
i64 f[N];
int main() {
scanf("%d%d%d", &n, &e, &t);
for (int i = 1; i <= n; ++i)
scanf("%d", &x[i]);
std::multiset<i64> a, b;
for (int i = 1, j = 1; i <= ... | [
"assignment.value.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 1,481,124 | 1,481,125 | u113982187 | cpp |
p03941 | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int N = 1.5e6 + 5;
const LL INF = 1e15;
int n;
LL w[N], mid;
int son[N][2];
vector<pair<LL, LL>> dp[N];
vector<pair<LL, LL>> aux1, aux2;
template <typename T> inline void chkmax(T &x, T y) { x = max(x, y); }
template <typename T> inline void... | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int N = 4e6 + 5;
const LL INF = 1e15;
int n;
LL w[N], mid;
int son[N][2];
vector<pair<LL, LL>> dp[N];
vector<pair<LL, LL>> aux1, aux2;
template <typename T> inline void chkmax(T &x, T y) { x = max(x, y); }
template <typename T> inline void c... | [
"literal.number.change",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change"
] | 1,481,126 | 1,481,127 | u459141850 | cpp |
p03941 | #include <bits/stdc++.h>
#define PB push_back
#define MP make_pair
#define SZ(a) ((int)(a).size())
#define ALL(a) (a).begin(), (a).end()
#define rep(i, a, b) for (int i = (a); i <= (b); ++i)
#define per(i, a, b) for (int i = (a); i >= (b); --i)
using namespace std;
typedef long long LL;
typedef pair<LL, LL> pii;
const ... | #include <bits/stdc++.h>
#define PB push_back
#define MP make_pair
#define SZ(a) ((int)(a).size())
#define ALL(a) (a).begin(), (a).end()
#define rep(i, a, b) for (int i = (a); i <= (b); ++i)
#define per(i, a, b) for (int i = (a); i >= (b); --i)
using namespace std;
typedef long long LL;
typedef pair<LL, LL> pii;
const ... | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 1,481,131 | 1,481,130 | u495170989 | cpp |
p03941 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
const int mxN = 131071;
int n, lb, rb = 1e7;
vector<array<int, 2>> c[mxN];
vector<array<ll, 2>> dp[mxN];
void dfs(int x, int u = 0) {
if (!c[u].size()) {
dp[u] = {{0, 0}};
return;
}
dfs(x, c[u][0][0]);
dfs(x, c[u][1][0]);
if (dp[c[u... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
const int mxN = 131071;
int n, lb, rb = 1e7;
vector<array<int, 2>> c[mxN];
vector<array<ll, 2>> dp[mxN];
void dfs(int x, int u = 0) {
if (!c[u].size()) {
dp[u] = {{0, 0}};
return;
}
dfs(x, c[u][0][0]);
dfs(x, c[u][1][0]);
if (dp[c[u... | [] | 1,481,145 | 1,481,146 | u460603067 | cpp |
p03941 | #include <algorithm>
#include <climits>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int N = 2e5 + 5;
const int M = 4e6 + 5;
inline int read() {
register int x = 0;
register char ch = getchar();
while (ch < '0' || ch > '9')
ch = getchar();
while (ch >= '0' && ch <= '9')... | #include <algorithm>
#include <climits>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int N = 2e5 + 5;
const int M = 4e6 + 5;
inline int read() {
register int x = 0;
register char ch = getchar();
while (ch < '0' || ch > '9')
ch = getchar();
while (ch >= '0' && ch <= '9')... | [
"assignment.value.change",
"call.arguments.change"
] | 1,481,147 | 1,481,148 | u328029824 | cpp |
p03941 | #include <algorithm>
#include <climits>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int N = 2e5 + 5;
const int M = 4e6 + 5;
inline int read() {
register int x = 0;
register char ch = getchar();
while (ch < '0' || ch > '9')
ch = getchar();
while (ch >= '0' && ch <= '9')... | #include <algorithm>
#include <climits>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int N = 2e5 + 5;
const int M = 4e6 + 5;
inline int read() {
register int x = 0;
register char ch = getchar();
while (ch < '0' || ch > '9')
ch = getchar();
while (ch >= '0' && ch <= '9')... | [
"control_flow.loop.condition.change",
"call.arguments.change"
] | 1,481,149 | 1,481,148 | u328029824 | cpp |
p03941 | #include <algorithm>
#include <climits>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int N = 2e5 + 5;
const int M = 4e6 + 5;
inline int read() {
register int x = 0;
register char ch = getchar();
while (ch < '0' || ch > '9')
ch = getchar();
while (ch >= '0' && ch <= '9')... | #include <algorithm>
#include <climits>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int N = 2e5 + 5;
const int M = 4e6 + 5;
inline int read() {
register int x = 0;
register char ch = getchar();
while (ch < '0' || ch > '9')
ch = getchar();
while (ch >= '0' && ch <= '9')... | [
"control_flow.loop.condition.change",
"call.arguments.change"
] | 1,481,150 | 1,481,148 | u328029824 | cpp |
p03941 | #include <algorithm>
#include <climits>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int N = 2e5 + 5;
const int M = 4e6 + 5;
inline int read() {
register int x = 0;
register char ch = getchar();
while (ch < '0' || ch > '9')
ch = getchar();
while (ch >= '0' && ch <= '9')... | #include <algorithm>
#include <climits>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int N = 2e5 + 5;
const int M = 4e6 + 5;
inline int read() {
register int x = 0;
register char ch = getchar();
while (ch < '0' || ch > '9')
ch = getchar();
while (ch >= '0' && ch <= '9')... | [
"assignment.value.change",
"call.arguments.change"
] | 1,481,147 | 1,481,151 | u328029824 | cpp |
p03941 | #include <algorithm>
#include <climits>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int N = 2e5 + 5;
const int M = 4e6 + 5;
inline int read() {
register int x = 0;
register char ch = getchar();
while (ch < '0' || ch > '9')
ch = getchar();
while (ch >= '0' && ch <= '9')... | #include <algorithm>
#include <climits>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int N = 2e5 + 5;
const int M = 4e6 + 5;
inline int read() {
register int x = 0;
register char ch = getchar();
while (ch < '0' || ch > '9')
ch = getchar();
while (ch >= '0' && ch <= '9')... | [
"control_flow.loop.condition.change",
"call.arguments.change"
] | 1,481,149 | 1,481,151 | u328029824 | cpp |
p03941 | #include <algorithm>
#include <climits>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int N = 2e5 + 5;
const int M = 4e6 + 5;
inline int read() {
register int x = 0;
register char ch = getchar();
while (ch < '0' || ch > '9')
ch = getchar();
while (ch >= '0' && ch <= '9')... | #include <algorithm>
#include <climits>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int N = 2e5 + 5;
const int M = 4e6 + 5;
inline int read() {
register int x = 0;
register char ch = getchar();
while (ch < '0' || ch > '9')
ch = getchar();
while (ch >= '0' && ch <= '9')... | [
"control_flow.loop.condition.change",
"call.arguments.change"
] | 1,481,150 | 1,481,151 | u328029824 | cpp |
p03943 | #include <bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
int A, B, C;
cin >> A >> B;
if (A + B == C || A + C == B || B + C == A) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
int A, B, C;
cin >> A >> B >> C;
if (A + B == C || A + C == B || B + C == A) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"expression.operation.binary.add"
] | 1,481,160 | 1,481,161 | u521652313 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << ((a + b == c || b + c == a || c + a == b) ? "YES" : "NO") << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << ((a + b == c || b + c == a || c + a == b) ? "Yes" : "No") << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,169 | 1,481,170 | u423656246 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
printf("%s", (a + b + c) / 2 == max(c, max(a, b)) ? "Yes" : "No");
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
printf("%s", (a + b + c) == 2 * max(c, max(a, b)) ? "Yes" : "No");
return 0;
}
| [
"expression.operation.binary.remove"
] | 1,481,173 | 1,481,174 | u553129408 | cpp |
p03943 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a[3];
for (int i = 0; i < 3; i++)
cin >> a[i];
sort(a, a + 3, greater<int>());
if (a[0] == a[1] + a[2])
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a[3];
for (int i = 0; i < 3; i++)
cin >> a[i];
sort(a, a + 3, greater<int>());
if (a[0] == a[1] + a[2])
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,177 | 1,481,178 | u860463295 | cpp |
p03943 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
// 最小値を求める
if (a > b)
swap(a, b);
if (b > c)
swap(b, c);
if (a > b)
swap(a, b);
if (c == (a + b))
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
// 最小値を求める
if (a > b)
swap(a, b);
if (b > c)
swap(b, c);
if (a > b)
swap(a, b);
if (c == (a + b))
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,183 | 1,481,184 | u595432284 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int a[3];
int main() {
for (int i = 0; i < 3; i++)
cin >> a[i];
sort(a, a + 3);
cout << (a[0] + a[1] == 3 ? "Yes" : "No") << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int a[3];
int main() {
for (int i = 0; i < 3; i++)
cin >> a[i];
sort(a, a + 3);
cout << (a[0] + a[1] == a[2] ? "Yes" : "No") << endl;
}
| [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 1,481,185 | 1,481,186 | u760628894 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
signed main() {
int a, b, c, d, e;
cin >> a >> b >> c;
d = max(a, b);
e = max(d, c);
while (1) {
if (e == a) {
if (e == b + c) {
cout << "YES\n";
break;
} else {
cout << "NO\n";
break;
}
}
if (e == b) {... | #include <bits/stdc++.h>
using namespace std;
signed main() {
int a, b, c, d, e;
cin >> a >> b >> c;
d = max(a, b);
e = max(d, c);
while (1) {
if (e == a) {
if (e == b + c) {
cout << "Yes\n";
break;
} else {
cout << "No\n";
break;
}
}
if (e == b) {... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,189 | 1,481,190 | u652908807 | cpp |
p03943 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a[3];
int ans = 0;
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3, greater<int>());
if (a[0] == a[1] + a[2])
cout << "YES";
else
cout << "NO";
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a[3];
int ans = 0;
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3, greater<int>());
if (a[0] == a[1] + a[2])
cout << "Yes";
else
cout << "No";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,193 | 1,481,194 | u468823225 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == (b + c)) {
cout << "Yes";
} else if (b == (a + c)) {
cout << "Yes";
} else if (c = (a + b)) {
cout << "Yes";
} else {
cout << "No";
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == (b + c)) {
cout << "Yes";
} else if (b == (a + c)) {
cout << "Yes";
} else if (c == (a + b)) {
cout << "Yes";
} else {
cout << "No";
}
}
| [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,481,197 | 1,481,198 | u808056523 | cpp |
p03943 | #include "bits/stdc++.h"
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == (b + c) || b == (a + c) || c == (a + b))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | #include "bits/stdc++.h"
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == (b + c) || b == (a + c) || c == (a + b))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,210 | 1,481,211 | u275677130 | cpp |
p03943 | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <set>
using namespace std;
int main() {
// 引数の受け取り
int A, B, C;
scanf("%d %d %d", &A, &B, &C);
if ((max(max(A, B), C) * 2) == (A + B + C)) {
printf("YES");
} else {
printf("NO");
}
return 0;
}
| #include <algorithm>
#include <cstdio>
#include <iostream>
#include <set>
using namespace std;
int main() {
// 引数の受け取り
int A, B, C;
scanf("%d %d %d", &A, &B, &C);
if ((max(max(A, B), C) * 2) == (A + B + C)) {
printf("Yes");
} else {
printf("No");
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,481,212 | 1,481,213 | u641145334 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b + c || b == c + a || c == a + b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b + c || b == c + a || c == a + b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,216 | 1,481,217 | u284670453 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
int main() {
ll a, b, c;
cin >> a >> b >> c;
cout << (a + b == c || b +... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
int main() {
ll a, b, c;
cin >> a >> b >> c;
cout << (a + b == c || b +... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,224 | 1,481,225 | u008830548 | cpp |
p03943 | #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
string ans = "NO";
if (a == b + c || b == a + c || c == a + b) {
ans = "YES";
}
cout << ans << endl;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
string ans = "No";
if (a == b + c || b == a + c || c == a + b) {
ans = "Yes";
}
cout << ans << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"variable_declaration.value.change",
"assignment.value.change"
] | 1,481,228 | 1,481,229 | u199795014 | cpp |
p03943 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b + c || b == a + c || c == b + c) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b + c || b == a + c || c == a + b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,481,238 | 1,481,239 | u284506378 | cpp |
p03943 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b + c || b == a + c || c == b + c) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b + c || b == a + c || c == a + b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"identifier.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,240 | 1,481,239 | u284506378 | cpp |
p03943 | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || b + c == a || c + a == b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || b + c == a || c + a == b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,241 | 1,481,242 | u361036928 | cpp |
p03943 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c)
cout << "YES" << endl;
else if (b + c == a)
cout << "YES" << endl;
else if (c + a == b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c)
cout << "Yes" << endl;
else if (b + c == a)
cout << "Yes" << endl;
else if (c + a == b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,245 | 1,481,246 | u923285281 | cpp |
p03943 |
#include <algorithm>
#include <cstdlib>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || b + c == a || c + a == b)
cout << "Yes";
else
cout << "Yes";
}
| #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || b + c == a || c + a == b)
cout << "Yes";
else
cout << "No";
}
| [
"literal.string.change",
"io.output.change"
] | 1,481,247 | 1,481,248 | u000113982 | cpp |
p03943 |
#include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a[3];
cin >> a[0];
cin >> a[1];
cin >> a[2];
sort(a, a + 3);
if (a[0] == a[1] + a[2]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a[3];
cin >> a[0];
cin >> a[1];
cin >> a[2];
sort(a, a + 3);
if (a[2] == a[1] + a[0]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,481,249 | 1,481,250 | u959822889 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
main() {
int a[4];
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3);
if (a[0] + a[1] == a[3])
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
main() {
int a[4];
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3);
if (a[0] + a[1] == a[2])
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,481,257 | 1,481,258 | u284539389 | cpp |
p03943 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <iterator>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define MOD 1000000007
#define INF 1 << 30
#define LINF (ll)1 << 62
#define rep(i, n) for (ll i = 0; i < (n); i++)
#defin... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <iterator>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define MOD 1000000007
#define INF 1 << 30
#define LINF (ll)1 << 62
#define rep(i, n) for (ll i = 0; i < (n); i++)
#defin... | [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,481,259 | 1,481,260 | u242679311 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a + c == b) {
printf("YES");
} else if (a - c == b) {
printf("YES");
} else if (c - a == b) {
printf("YES");
} else {
printf("NO");
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a + c == b) {
printf("Yes");
} else if (a - c == b) {
printf("Yes");
} else if (c - a == b) {
printf("Yes");
} else {
printf("No");
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,481,265 | 1,481,266 | u270098435 | cpp |
p03943 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a + b) == c || (b + c) == a || (c + a) == b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a + b) == c || (b + c) == a || (c + a) == b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,269 | 1,481,270 | u810978770 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[3];
for (int i = 0; i < 3; i++) {
cin >> a[i];
}
sort(a, a + 3);
if (a[2] == a[0] + a[1])
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[3];
for (int i = 0; i < 3; i++) {
cin >> a[i];
}
sort(a, a + 3);
if (a[2] == a[0] + a[1])
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,279 | 1,481,280 | u018434698 | cpp |
p03942 | #include <bits/stdc++.h>
#define N 1000006
using namespace std;
char s0[N], t[N];
int n;
int val[N], match[N], ed[N];
int main() {
scanf("%d%s%s", &n, s0 + 1, t + 1);
for (int i = n, p = n; i >= 1; i--) {
p = min(p, i);
while (p != 0 && s0[p] != t[i])
p--;
if (p == 0)
return puts("-1"), 0;
... | #include <bits/stdc++.h>
#define N 1000006
using namespace std;
char s0[N], t[N];
int n;
int val[N], match[N], ed[N];
int main() {
scanf("%d%s%s", &n, s0 + 1, t + 1);
for (int i = n, p = n; i >= 1; i--) {
p = min(p, i);
while (p != 0 && s0[p] != t[i])
p--;
if (p == 0)
return puts("-1"), 0;
... | [
"variable_declaration.value.change",
"control_flow.loop.condition.change",
"control_flow.loop.for.condition.change"
] | 1,481,305 | 1,481,306 | u899515616 | cpp |
p03942 | #include <bits/stdc++.h>
using namespace std;
const int maxn = 1000005;
char a[maxn], b[maxn];
int q[maxn], head, tail;
int main() {
int n;
scanf("%d", &n);
scanf("%s%s", a + 1, b + 1);
if (strcmp(a + 1, b + 1) == 0) {
puts("0");
return 0;
}
int ans = 0;
head = tail = maxn - 2;
// q[tail++]=n+1;... | #include <bits/stdc++.h>
using namespace std;
const int maxn = 1000005;
char a[maxn], b[maxn];
int q[maxn], head, tail;
int main() {
int n;
scanf("%d", &n);
scanf("%s%s", a + 1, b + 1);
if (strcmp(a + 1, b + 1) == 0) {
puts("0");
return 0;
}
int ans = 0;
head = tail = maxn - 2;
// q[tail++]=n+1;... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,481,312 | 1,481,313 | u848654988 | cpp |
p03942 | #include <bits/stdc++.h>
typedef unsigned int uint;
typedef long long ll;
typedef unsigned long long ull;
typedef double lf;
typedef long double llf;
typedef std::pair<int, int> pii;
#define xx first
#define yy second
template <typename T> inline T max(T a, T b) { return a > b ? a : b; }
template <typename T> inline... | #include <bits/stdc++.h>
typedef unsigned int uint;
typedef long long ll;
typedef unsigned long long ull;
typedef double lf;
typedef long double llf;
typedef std::pair<int, int> pii;
#define xx first
#define yy second
template <typename T> inline T max(T a, T b) { return a > b ? a : b; }
template <typename T> inline... | [
"misc.opposites",
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 1,481,315 | 1,481,316 | u351372349 | cpp |
p03942 | #include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
char st1[1000001], st2[1000001];
int n, des[1000001], pos[1000001], cnt;
int main() {
// freopen("game.in","r",stdin);
scanf("%d", &n);
scanf("%s", st1 + 1);
scanf("%s", st2 + 1);
if (strcmp(st1, st2) == 0) {
printf("0\n")... | #include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
char st1[1000001], st2[1000001];
int n, des[1000001], pos[1000001], cnt;
int main() {
// freopen("game.in","r",stdin);
scanf("%d", &n);
scanf("%s", st1 + 1);
scanf("%s", st2 + 1);
if (strcmp(st1 + 1, st2 + 1) == 0) {
print... | [
"control_flow.branch.if.condition.change"
] | 1,481,329 | 1,481,330 | u957126665 | cpp |
p03943 | #include <algorithm>
#include <map>
#include <queue>
#include <stdio.h>
#include <string.h>
#include <vector>
using namespace std;
typedef long long ll;
const int MOD = (int)1e9 + 7;
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
puts(max(a, max(b, c)) * 2 == a + b + c ? "YES" : "NO");
return 0;
}
| #include <algorithm>
#include <map>
#include <queue>
#include <stdio.h>
#include <string.h>
#include <vector>
using namespace std;
typedef long long ll;
const int MOD = (int)1e9 + 7;
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
puts(max(a, max(b, c)) * 2 == a + b + c ? "Yes" : "No");
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,481,370 | 1,481,371 | u089230684 | cpp |
p03943 | #include <iostream>
using namespace std;
int main() {
int a[3];
cin >> a[0] >> a[1] >> a[2];
int max = a[0];
int total = a[0] + a[1] + a[2];
for (int i = 0; i < 3; i++) {
if (max < a[i])
max = a[i];
}
if (max = total - max)
cout << "Yes";
else
cout << "No";
} | #include <iostream>
using namespace std;
int main() {
int a[3];
cin >> a[0] >> a[1] >> a[2];
int max = a[0];
int total = a[0] + a[1] + a[2];
for (int i = 0; i < 3; i++) {
if (max < a[i])
max = a[i];
}
if (max == total - max)
cout << "Yes";
else
cout << "No";
} | [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,481,379 | 1,481,380 | u221008322 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + a == c)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + c == a)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 1,481,290 | 1,481,291 | u365870732 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + c == c)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + c == a)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,481,293 | 1,481,291 | u365870732 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a + b) == c || (a + c) == b || (b + c) == a) {
cout << "yes" << endl;
} else {
cout << "no" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a + b) == c || (a + c) == b || (b + c) == a) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,301 | 1,481,302 | u399816236 | cpp |
p03943 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b + c || b == a + c || c == b + c) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b + c || b == a + c || c == a + b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,481,304 | 1,481,390 | u820225607 | cpp |
p03943 | #include <bits/stdc++.h>
#include <cctype>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <set>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
std::string line;
typedef long long ll;
int main() {
int a, b, c;
cin >> a >> b >... | #include <bits/stdc++.h>
#include <cctype>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <set>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
std::string line;
typedef long long ll;
int main() {
int a, b, c;
cin >> a >> b >... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,481,400 | 1,481,401 | u796819311 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d[256];
cin >> a >> b >> c;
d[0] = a;
d[1] = b;
d[2] = c;
sort(d, d + 3);
if (d[0] + d[1] == d[2]) {
cout << "YES" << '\n';
} else {
cout << "NO" << '\n';
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d[256];
cin >> a >> b >> c;
d[0] = a;
d[1] = b;
d[2] = c;
sort(d, d + 3);
if (d[0] + d[1] == d[2]) {
cout << "Yes" << '\n';
} else {
cout << "No" << '\n';
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,402 | 1,481,403 | u364428932 | cpp |
p03943 | #include "bits/stdc++.h"
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define ALL(x) (x).begin(), (x).end()
#define SZ(x) ((int)(x).size)
#define MOD 1000000007
const long long mod = 1e9 + 7;
typedef v... | #include "bits/stdc++.h"
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define ALL(x) (x).begin(), (x).end()
#define SZ(x) ((int)(x).size)
#define MOD 1000000007
const long long mod = 1e9 + 7;
typedef v... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,404 | 1,481,405 | u718774863 | cpp |
p03943 | #include <bits/stdc++.h>
#define rep(i, m, n) for (int i = m; i < n; i++)
#define co(n) cout << n << endl
using namespace std;
int main() {
int a[3];
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3);
if (a[0] + a[1] == a[2])
co("YES");
else
co("NO");
return 0;
} | #include <bits/stdc++.h>
#define rep(i, m, n) for (int i = m; i < n; i++)
#define co(n) cout << n << endl
using namespace std;
int main() {
int a[3];
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3);
if (a[0] + a[1] == a[2])
co("Yes");
else
co("No");
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change"
] | 1,481,406 | 1,481,407 | u558115145 | cpp |
p03943 | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int a, b, c;
cin >> a >> b >> c;
if (b + c == a || a + c == b || a + b == c) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int a, b, c;
cin >> a >> b >> c;
if (b + c == a || a + c == b || a + b == c) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,416 | 1,481,417 | u777656471 | cpp |
p03943 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + c == a) {
cout << "Yes" << endl;
} else {
cout << "NO" << endl;
}
} | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + c == a) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,418 | 1,481,419 | u786985094 | cpp |
p03943 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a + c == b)
cout << "YES" << endl;
else if (a + b == c)
cout << "YES" << endl;
else if (b + c == a)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a + c == b)
cout << "Yes" << endl;
else if (a + b == c)
cout << "Yes" << endl;
else if (b + c == a)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,420 | 1,481,421 | u738501135 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a + b == c || b + c == a || c + a == b ? "YES" : "NO") << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a + b == c || b + c == a || c + a == b ? "Yes" : "No") << endl;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,428 | 1,481,429 | u735016696 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> A(3);
for (int i = 0; i < 3; i++) {
cin >> A.at(i);
}
sort(A.begin(), A.end());
if ((A.at(0) + A.at(1)) == A.at(2)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> A(3);
for (int i = 0; i < 3; i++) {
cin >> A.at(i);
}
sort(A.begin(), A.end());
if ((A.at(0) + A.at(1)) == A.at(2)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,435 | 1,481,436 | u702468315 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define pb emplace_back
#define mp make_pair
#define f(i, a, n) for (int i = a; i < n; i++)
#define F first
#define S second
#define fast ios::sync_with_stdio(false), cin.tie(0);
int32_t main() {
fast;
int a[3];
cin >> a[0] >> a[1] >> a[2];
s... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define pb emplace_back
#define mp make_pair
#define f(i, a, n) for (int i = a; i < n; i++)
#define F first
#define S second
#define fast ios::sync_with_stdio(false), cin.tie(0);
int32_t main() {
fast;
int a[3];
cin >> a[0] >> a[1] >> a[2];
s... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,443 | 1,481,444 | u670919462 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b + c || b == c + a || c == a + b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b + c || b == c + a || c == a + b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,445 | 1,481,446 | u658901072 | cpp |
p03943 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a + b == c) || (a = b + c) || (b = a + c)) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a + b == c) || (a == b + c) || (b == a + c)) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
}
| [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,481,447 | 1,481,448 | u021358975 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
vector<int> abc(3);
cin >> abc.at(0) >> abc.at(1) >> abc.at(2);
sort(abc.begin(), abc.end());
if (abc.at(0) + abc.at(2) == abc.at(1)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
vector<int> abc(3);
cin >> abc.at(0) >> abc.at(1) >> abc.at(2);
sort(abc.begin(), abc.end());
if (abc.at(0) + abc.at(1) == abc.at(2)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,481,451 | 1,481,452 | u091552241 | cpp |
p03943 | #include <algorithm>
#include <iostream>
#include <vector>
#define REP(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int a;
vector<int> v;
REP(i, 3) {
cin >> a;
v.push_back(a);
}
sort(v.begin(), v.end());
if (v[2] == v[0] + v[1])
cout << "YES";
else
cout << "NO";
... | #include <algorithm>
#include <iostream>
#include <vector>
#define REP(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int a;
vector<int> v;
REP(i, 3) {
cin >> a;
v.push_back(a);
}
sort(v.begin(), v.end());
if (v[2] == v[0] + v[1])
cout << "Yes";
else
cout << "No";
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,453 | 1,481,454 | u956844331 | cpp |
p03943 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
puts((a + b == c || a + c == b || b + c == a ? "YES" : "NO"));
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
puts((a + b == c || a + c == b || b + c == a ? "Yes" : "No"));
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,481,455 | 1,481,456 | u956844331 | cpp |
p03943 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
puts(a + b == c || a + c == b || b + c == a ? "YES" : "NO");
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
puts((a + b == c || a + c == b || b + c == a ? "Yes" : "No"));
return 0;
} | [
"call.arguments.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,457 | 1,481,456 | u956844331 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define REP(i, m, n) for (int i = (int)(m); i < (int)(n); ++i)
#define rep(i, n) REP(i, 0, n)
#define SORT(i) sort((i).begin(), (i).end())
constexpr int INF = 2000000000;
constexpr int mod = 1000000007;
int main() {
int a, b, c;
cin >> a >> b >> c... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define REP(i, m, n) for (int i = (int)(m); i < (int)(n); ++i)
#define rep(i, n) REP(i, 0, n)
#define SORT(i) sort((i).begin(), (i).end())
constexpr int INF = 2000000000;
constexpr int mod = 1000000007;
int main() {
int a, b, c;
cin >> a >> b >> c... | [
"literal.string.change",
"io.output.change"
] | 1,481,458 | 1,481,459 | u813559924 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
int a[3];
int main() {
cin >> a[0] >> a[1] >> a[3];
sort(a, a + 3);
if (a[2] == a[0] + a[1]) {
cout << "Yes";
} else {
cout << "No";
}
} | #include <bits/stdc++.h>
using namespace std;
int a[3];
int main() {
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3);
if (a[2] == a[0] + a[1]) {
cout << "Yes";
} else {
cout << "No";
}
} | [
"literal.number.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 1,481,464 | 1,481,465 | u397732894 | cpp |
p03943 | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
int main() {
ll a, b, c;
cin >> a >> b >> c;
if (a + b == c)
cout << "Yes" << endl;
if (a + c == b)
cout << "Yes" << endl;
if (c + b == a)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
int main() {
ll a, b, c;
cin >> a >> b >> c;
if (a + b == c)
cout << "Yes" << endl;
else if (a + c == b)
cout << "Yes" << endl;
else if (c + b == a)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,481,479 | 1,481,480 | u480892088 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); ++(i))
#define rrep(i, n) for (int(i) = (n)-1; (i) >= 0; --(i)) // Reversi rep
#define nfor(i, a, b) for (int(i) = (a); (i) < (b); ++(i)) // Natural for
#define rfor(i, a, b) for (int(i) = (b); (i) >= (a); --(i)) // Reversi ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); ++(i))
#define rrep(i, n) for (int(i) = (n)-1; (i) >= 0; --(i)) // Reversi rep
#define nfor(i, a, b) for (int(i) = (a); (i) < (b); ++(i)) // Natural for
#define rfor(i, a, b) for (int(i) = (b); (i) >= (a); --(i)) // Reversi ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,481,488 | 1,481,489 | u801513186 | cpp |
p03943 | #include <bits/stdc++.h>
using namespace std;
#define IOS \
ios::sync_with_stdio(false); \
cin.tie(0);
#define FOR(i, s, n) for (int i = s; i < (n); i++)
#define REP(i, n) FOR(i, 0, n)
#define ALL(n) (... | #include <bits/stdc++.h>
using namespace std;
#define IOS \
ios::sync_with_stdio(false); \
cin.tie(0);
#define FOR(i, s, n) for (int i = s; i < (n); i++)
#define REP(i, n) FOR(i, 0, n)
#define ALL(n) (... | [
"expression.operation.binary.add"
] | 1,481,494 | 1,481,495 | u330661451 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.