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 |
|---|---|---|---|---|---|---|---|
p02640 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repr(i, a, b) for (int i = a; i < b; i++)
#define each(i, mp) for (auto &i : mp)
const int INF = 1001001001;
int main() {
int x, y;
cin >> x >> y;
string an... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repr(i, a, b) for (int i = a; i < b; i++)
#define each(i, mp) for (auto &i : mp)
const int INF = 1001001001;
int main() {
int x, y;
cin >> x >> y;
string an... | [
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 350,696 | 350,697 | u344014102 | cpp |
p02640 | #include <iostream>
using namespace std;
void solve() {
int n, d;
cin >> n >> d;
if (d % n == 1)
cout << "No" << endl;
else if (n * 2 <= d && d <= n * 4)
cout << "Yes" << endl;
else
cout << "No" << endl;
return;
}
int main() {
solve();
return 0;
}
| #include <iostream>
using namespace std;
void solve() {
int n, d;
cin >> n >> d;
if (d % 2 == 1)
cout << "No" << endl;
else if (n * 2 <= d && d <= n * 4)
cout << "Yes" << endl;
else
cout << "No" << endl;
return;
}
int main() {
solve();
return 0;
}
| [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.branch.if.condition.change"
] | 350,702 | 350,703 | u548792804 | cpp |
p02640 | #include <iostream>
#include <vector>
using namespace std;
void abc_170a();
void abc_171a();
void abc_172a();
void abc_173a();
void abc_174a();
void abc_175a();
void abc_170b();
int main() {
// abc_170a();
// abc_171a();
// abc_172a();
// abc_173a();
// abc_174a();
// abc_175a();
abc_170b();
}
void ... | #include <iostream>
#include <vector>
using namespace std;
void abc_170a();
void abc_171a();
void abc_172a();
void abc_173a();
void abc_174a();
void abc_175a();
void abc_170b();
int main() {
// abc_170a();
// abc_171a();
// abc_172a();
// abc_173a();
// abc_174a();
// abc_175a();
abc_170b();
}
void ... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 350,709 | 350,710 | u546641746 | cpp |
p02640 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i <= 100; i++) {
int val = x - i;
if (i * 2 + val * 4 == y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
}
|
#include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i <= x; i++) {
int val = x - i;
if (i * 2 + val * 4 == y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
}
| [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 350,717 | 350,718 | u940113787 | cpp |
p02640 | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i <= x; i++) {
if (i + 2 * (x - i) == y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i <= x; i++) {
if (2 * i + 4 * (x - i) == y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
} | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"literal.number.change"
] | 350,723 | 350,724 | u110383054 | cpp |
p02640 | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i <= x; i++) {
for (int j = 0; j <= x; j++) {
if (i + j == x) {
int leg = i * 2 + j * 4;
if (leg == y) {
cout << "yes" << endl;
return 0;
}
}
}
}
cout... | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i <= x; i++) {
for (int j = 0; j <= x; j++) {
if (i + j == x) {
int leg = i * 2 + j * 4;
if (leg == y) {
cout << "Yes" << endl;
return 0;
}
}
}
}
cout... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 350,725 | 350,726 | u705622026 | cpp |
p02640 | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i <= x; i++) {
if ((2 * x - y / 2) == i) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i <= x; i++) {
if ((4 * x - 2 * i) == y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove",
"identifier.change"
] | 350,733 | 350,734 | u792510026 | cpp |
p02640 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int x, y;
cin >> x >> y;
rep(i, x) {
if (2 * i + 4 * (x - i) == y) {
cout << "Yes ";
exit(1);
}
}
cout << "No" << endl;
return 0;
} | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i <= (int)(n); i++)
int main() {
int x, y;
cin >> x >> y;
rep(i, x) {
if (2 * i + 4 * (x - i) == y) {
cout << "Yes ";
return 0;
}
}
cout << "No" << endl;
return 0;
} | [
"expression.operator.compare.change",
"preprocessor.define.value.change",
"call.arguments.change"
] | 350,741 | 350,740 | u506464494 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (b <= 2 * a || b >= 4 * a || b % 2 == 1)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (b < 2 * a || b > 4 * a || b % 2 == 1)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 350,744 | 350,745 | u366961154 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int m;
cin >> m;
if (m % 2 == 0) {
if (m <= n * 4 && m >= m * 2) {
cout << "Yes";
return 0;
}
}
cout << "No";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int m;
cin >> m;
if (m % 2 == 0) {
if (m <= n * 4 && m >= n * 2) {
cout << "Yes";
return 0;
}
}
cout << "No";
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 350,755 | 350,756 | u850207759 | cpp |
p02640 | #include <algorithm>
#include <bits/stdc++.h>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
using namespace std;
const int N = 1e5 + 5;
#define ll long long
#define inf 0x3f3f3f3f
#define m... | #include <algorithm>
#include <bits/stdc++.h>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
using namespace std;
const int N = 1e5 + 5;
#define ll long long
#define inf 0x3f3f3f3f
#define m... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 350,774 | 350,775 | u971470938 | cpp |
p02640 | #include <iostream>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using P = pair<int, int>;
#include <algorithm>
#include <map>
#include <math.h>
#include <queue>
#include <set>
int main() {
int x, y;
cin >> x >> y;
if (y < 2 * x) {
cout << "No";... | #include <iostream>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using P = pair<int, int>;
#include <algorithm>
#include <map>
#include <math.h>
#include <queue>
#include <set>
int main() {
int x, y;
cin >> x >> y;
if (y < 2 * x) {
cout << "No";... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 350,781 | 350,782 | u872982453 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> Pi;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rep2(i, n) for (int i = 1; i <= (n); i++)
#define rep3(i, i0, n) for (int i = i0; i < (n); i++)
#define pb push_back
#define mod 1000000007
const ll INF = 1LL << 60;
templ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> Pi;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rep2(i, n) for (int i = 1; i <= (n); i++)
#define rep3(i, i0, n) for (int i = i0; i < (n); i++)
#define pb push_back
#define mod 1000000007
const ll INF = 1LL << 60;
templ... | [
"expression.operation.binary.add"
] | 350,783 | 350,784 | u222188267 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
for (int i = 0; i <= X; i++) {
if (2 * i + 4 * (X - i) == Y) {
cout << "YES" << endl;
return 0;
}
}
cout << "NO" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
for (int i = 0; i <= X; i++) {
if (2 * i + 4 * (X - i) == Y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 350,796 | 350,797 | u255137505 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int num;
int leg;
cin >> num >> leg;
for (int i = 0; i <= num; i++) {
int j = num - i, allf = i * 2 + j * 4;
if (j == leg) {
cout << "Yes" << endl;
return 0;
} else
continue;
}
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int num, leg;
cin >> num >> leg;
for (int i = 0; i <= num; i++) {
int j = num - i, allf = i * 2 + j * 4;
if (allf == leg) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else.remove"
] | 350,798 | 350,799 | u264624999 | cpp |
p02640 | #include <bits/stdc++.h>
#define cina(a, n) \
for (int i = 0; i < n; ++i) { \
cin >> a[i]; \
}
#define ll long long
#define ld long double
usi... | #include <bits/stdc++.h>
#define cina(a, n) \
for (int i = 0; i < n; ++i) { \
cin >> a[i]; \
}
#define ll long long
#define ld long double
usi... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 350,800 | 350,801 | u240790246 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i < x; i++) {
int t = x - i;
int asi = i * 2 + i * 4;
if (asi == y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i <= x; i++) {
int t = x - i;
int asi = i * 2 + t * 4;
if (asi == y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
}
| [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"identifier.change"
] | 350,804 | 350,805 | u315197931 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i < x; i++) {
int t = x - i;
int asi = i * 2 + i * 4;
if (asi == y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i <= x; i++) {
int t = x - i;
int asi = i * 2 + t * 4;
if (asi == y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
}
| [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"identifier.change"
] | 350,806 | 350,805 | u315197931 | cpp |
p02640 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define MOD 1000000007
using namespace std;
using ll = long long;
int main() {
ll x, y;
string ans = "No";
cin >> x >> y;
rep(i, x + 1) {
ll n = i * 2 + 4 * (x - 1);
if (n == y)
ans = "Yes";
}
cout << ans << endl;
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define MOD 1000000007
using namespace std;
using ll = long long;
int main() {
ll x, y;
string ans = "No";
cin >> x >> y;
rep(i, x + 1) {
ll n = i * 2 + 4 * (x - i);
if (n == y)
ans = "Yes";
}
cout << ans << endl;
... | [
"identifier.replace.add",
"literal.replace.remove",
"expression.operation.binary.change"
] | 350,807 | 350,808 | u025464133 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
for (int i = 0; i < X; i++) {
if (2 * i + 4 * (X - i) == Y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
for (int i = 0; i < X + 1; i++) {
if (2 * i + 4 * (X - i) == Y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
}
| [
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 350,809 | 350,810 | u302636975 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
for (int i = 0; i < X; i++) {
if (2 * i + 4 * (X - 1) == Y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
for (int i = 0; i < X + 1; i++) {
if (2 * i + 4 * (X - i) == Y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
}
| [
"control_flow.loop.for.condition.change",
"misc.off_by_one",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 350,811 | 350,810 | u302636975 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int INF = 1e9;
int main() {
ll T = 1;
// cin >> T;
while (T--) {
int x;
int y;
cin >> x >> y;
int a = y % 2;
if (a > 0) {
cout << "No" << endl;
return 0;
} else if (y == x * 4) {
cout << "No" << e... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int INF = 1e9;
int main() {
ll T = 1;
// cin >> T;
while (T--) {
int x;
int y;
cin >> x >> y;
int a = y % 2;
if (a > 0) {
cout << "No" << endl;
return 0;
} else if (y > x * 4) {
cout << "No" << en... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 350,820 | 350,821 | u830468673 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(void) {
int x, y, sum;
bool flag;
cin >> x >> y;
for (int i = 0; i < x; i++) {
sum = 2 * i + 4 * (x - i);
if (sum == y) {
flag = true;
break;
}
}
if (flag) {
cout << "Yes" << endl;
} else {
cout <<... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(void) {
int x, y, sum;
bool flag = false;
cin >> x >> y;
for (int i = 0; i <= x; i++) {
sum = 2 * i + 4 * (x - i);
if (sum == y) {
flag = true;
break;
}
}
if (flag) {
cout << "Yes" << endl;
} else {
... | [
"variable_declaration.value.change",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 350,826 | 350,825 | u456619925 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
signed main() {
int X, Y;
cin >> X >> Y;
for (int i = 0; i < X; i++) {
if (2 * (X - i) + 4 * i == Y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
signed main() {
int X, Y;
cin >> X >> Y;
for (int i = 0; i <= X; i++) {
if (2 * (X - i) + 4 * i == Y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 350,830 | 350,831 | u607746177 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
string solve() {
int x, y;
cin >> x >> y;
// total # of lengs should be even
if (y & 1)
return "NO";
int b = y / 2 - x;
int a = x - b;
if (a < 0 || b < 0)
return "NO";
return (a + b == x) ? "YES" :... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
string solve() {
int x, y;
cin >> x >> y;
// total # of lengs should be even
if (y & 1)
return "No";
int b = y / 2 - x;
int a = x - b;
if (a < 0 || b < 0)
return "No";
return (a + b == x) ? "Yes" :... | [
"literal.string.change",
"literal.string.case.change",
"function.return_value.change"
] | 350,835 | 350,836 | u502450378 | cpp |
p02640 | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i <= x; i++) {
if (i * 2 + (x - 1) * 4 == y) {
cout << "Yes" << endl;
goto loopend;
}
}
cout << "No" << endl;
loopend:
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
for (int i = 0; i <= x; i++) {
if (i * 2 + (x - i) * 4 == y) {
cout << "Yes" << endl;
goto loopend;
}
}
cout << "No" << endl;
loopend:
return 0;
} | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 350,841 | 350,842 | u165924726 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
// #include <ext/pb_ds/assoc_container.hpp>
// #include <ext/pb_ds/tree_policy.hpp>
// using namespace __gnu_pbds;
#define ordered_set \
tree<pair<int, int>, null_type, less<pair<int, int>>, rb_tree_tag, ... | #include <bits/stdc++.h>
using namespace std;
// #include <ext/pb_ds/assoc_container.hpp>
// #include <ext/pb_ds/tree_policy.hpp>
// using namespace __gnu_pbds;
#define ordered_set \
tree<pair<int, int>, null_type, less<pair<int, int>>, rb_tree_tag, ... | [
"control_flow.branch.if.condition.change"
] | 350,847 | 350,848 | u406881148 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll x, y;
cin >> x >> y;
if (y % 2 == 0 && 2 * x <= y && y <= 4 * y)
cout << "Yes";
else
cout << "No";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll x, y;
cin >> x >> y;
if (y % 2 == 0 && 2 * x <= y && y <= 4 * x)
cout << "Yes";
else
cout << "No";
return 0;
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 350,854 | 350,855 | u774202056 | cpp |
p02640 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#define ll long long
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
if (Y % 2 != 0) {
cout << "No" << endl;
return 0;
}
bool can = false;
int kame, reg;
for (int turu = 1; turu <= X; turu++) {
kame = X ... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#define ll long long
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
if (Y % 2 != 0) {
cout << "No" << endl;
return 0;
}
bool can = false;
int kame, reg;
for (int turu = 0; turu <= X; turu++) {
kame = X ... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 350,856 | 350,857 | u877499362 | cpp |
p02640 | /*
*/
#include <algorithm>
#include <cstdlib>
#include <iomanip>
#include <ios>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define repb(i, a, b) for (int i = a; i < b; i++)
#... | /*
*/
#include <algorithm>
#include <cstdlib>
#include <iomanip>
#include <ios>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define repb(i, a, b) for (int i = a; i < b; i++)
#... | [
"control_flow.branch.if.condition.change"
] | 350,862 | 350,863 | u630664279 | cpp |
p02640 | /*
*/
#include <algorithm>
#include <cstdlib>
#include <iomanip>
#include <ios>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define repb(i, a, b) for (int i = a; i < b; i++)
#... | /*
*/
#include <algorithm>
#include <cstdlib>
#include <iomanip>
#include <ios>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define repb(i, a, b) for (int i = a; i < b; i++)
#... | [
"control_flow.branch.if.condition.change"
] | 350,864 | 350,863 | u630664279 | cpp |
p02640 | #include <cstdio>
int main() {
int x, y;
bool flag = false;
scanf("%d%d", &x, &y);
for (int i = 0; i < x; i++) {
if ((i * 4 + (x - i) * 2) == y)
flag = true;
}
flag ? puts("Yes") : puts("No");
return 0;
} | #include <cstdio>
int main() {
int x, y;
bool flag = false;
scanf("%d%d", &x, &y);
for (int i = 0; i <= x; i++) {
if ((i * 4 + (x - i) * 2) == y)
flag = true;
}
flag ? puts("Yes") : puts("No");
return 0;
} | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 350,868 | 350,869 | u673980701 | cpp |
p02640 | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if (y >= (x * 2) && y <= (x * 4) && y % 2 == 0)
cout << "yes";
else
cout << "no";
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if (y >= (x * 2) && y <= (x * 4) && y % 2 == 0)
cout << "Yes";
else
cout << "No";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 350,876 | 350,877 | u779386728 | cpp |
p02640 | /*=============================================================================================================================/*
Bismillahir Rahmanir Rahim
_ ____ ___ ____ _ _ _ ___ ____ _ _ __ __
/ \ / ___||_ _|| __ ) | | |... | /*=============================================================================================================================/*
Bismillahir Rahmanir Rahim
_ ____ ___ ____ _ _ _ ___ ____ _ _ __ __
/ \ / ___||_ _|| __ ) | | |... | [
"control_flow.branch.if.condition.change"
] | 350,882 | 350,883 | u664825721 | cpp |
p02640 | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int x, y;
cin >> x >> y;
if (y % 3 == 0) {
cout << "No" << endl;
} else if (x * 2 <= y && x * 4 >= y) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
}
| #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int x, y;
cin >> x >> y;
if (y % 2 == 1) {
cout << "No" << endl;
} else if (x * 2 <= y && x * 4 >= y) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 350,884 | 350,885 | u777656471 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef pair<int, int> P;
const long double EPS = 1e-10;
const long long INF = 1e18;
const int MOD = (int)1e9 + 7;
const long double PI = acos(-1.0... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef pair<int, int> P;
const long double EPS = 1e-10;
const long long INF = 1e18;
const int MOD = (int)1e9 + 7;
const long double PI = acos(-1.0... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 350,886 | 350,887 | u157994024 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long t, n, i, ans, cnt, j, k;
cin >> i >> j;
if (j % 2 != 0)
cout << "No";
else {
if (j > 4 * i && j < 2 * i)
cout << "No";
else
cout << "Yes";
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long t, n, i, ans, cnt, j, k;
cin >> i >> j;
if (j % 2 != 0)
cout << "No";
else {
if (j > 4 * i || j < 2 * i)
cout << "No";
else
cout << "Yes";
}
}
| [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 350,888 | 350,889 | u297481264 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long t, n, i, ans, cnt, j, k;
cin >> i >> j;
if (j % 2 != 0)
cout << "No";
else {
if (j > 4 * i)
cout << "No";
else
cout << "Yes";
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long t, n, i, ans, cnt, j, k;
cin >> i >> j;
if (j % 2 != 0)
cout << "No";
else {
if (j > 4 * i || j < 2 * i)
cout << "No";
else
cout << "Yes";
}
}
| [
"control_flow.branch.if.condition.change"
] | 350,890 | 350,889 | u297481264 | cpp |
p02640 | #include <bits/stdc++.h>
#define rep(i, n) for (int(i) = 0; (i) < (int)(n); (i)++)
#define REP(i, n) for (int(i) = 0; (i) <= (int)(n); (i)++)
#define rep1(i, x, n) for (int(i) = (x); (i) < (int)(n); (i)++)
#define REP1(i, x, n) for (int(i) = (x); (i) <= (int)(n); (i)++)
#define rrep(i, x) for (int i = ((int)(x)-1); i >... | #include <bits/stdc++.h>
#define rep(i, n) for (int(i) = 0; (i) < (int)(n); (i)++)
#define REP(i, n) for (int(i) = 0; (i) <= (int)(n); (i)++)
#define rep1(i, x, n) for (int(i) = (x); (i) < (int)(n); (i)++)
#define REP1(i, x, n) for (int(i) = (x); (i) <= (int)(n); (i)++)
#define rrep(i, x) for (int i = ((int)(x)-1); i >... | [
"literal.number.change",
"call.arguments.change"
] | 350,891 | 350,892 | u924373338 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
string ans = "No";
cin >> X >> Y;
for (int i = 1; i < X + 1; i++) {
if (Y == 4 * (X - i) + 2 * i) {
ans = "Yes";
break;
}
}
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
string ans = "No";
cin >> X >> Y;
for (int i = 0; i < X + 1; i++) {
if (Y == 4 * (X - i) + 2 * i) {
ans = "Yes";
break;
}
}
cout << ans << endl;
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 350,893 | 350,894 | u253160854 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
double a, b;
a = (4 * X - Y) / 2;
b = (Y - 2 * X) / 2;
if (ceil(a) == floor(a) && ceil(b) == floor(b) && a >= 0 && b >= 0) {
cout << "Yes" << endl;
// cout << "tsuru" << a << endl;
// cout << "kame" << b << ... | #include <bits/stdc++.h>
using namespace std;
int main() {
float X, Y;
cin >> X >> Y;
float a, b;
a = (4 * X - Y) / 2;
b = (Y - 2 * X) / 2;
if (ceil(a) == floor(a) && ceil(b) == floor(b) && a >= 0 && b >= 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"variable_declaration.type.primitive.change"
] | 350,899 | 350,900 | u871709616 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
int tsuru, kame;
int flag = 0, sum;
for (int i = 0; i < X; i++) {
tsuru = i + 1;
kame = X - i;
sum = tsuru * 2 + kame * 4;
if (sum == Y)
flag = 1;
}
if (flag == 0)
cout << "No" << endl;
else... | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
int tsuru, kame;
int flag = 0, sum;
for (int i = 0; i <= X; i++) {
tsuru = i;
kame = X - i;
sum = tsuru * 2 + kame * 4;
if (sum == Y)
flag = 1;
}
if (flag == 0)
cout << "No" << endl;
else
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 350,901 | 350,902 | u153615137 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
int tsuru, kame;
int flag = 0, sum;
for (int i = 1; i <= X; i++) {
tsuru = i;
kame = X - i;
sum = tsuru * 2 + kame * 4;
if (sum == Y)
flag = 1;
}
if (flag == 0)
cout << "No" << endl;
else
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
int tsuru, kame;
int flag = 0, sum;
for (int i = 0; i <= X; i++) {
tsuru = i;
kame = X - i;
sum = tsuru * 2 + kame * 4;
if (sum == Y)
flag = 1;
}
if (flag == 0)
cout << "No" << endl;
else
... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 350,903 | 350,902 | u153615137 | cpp |
p02640 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
int main() {
ll x, y;
ll a;
ll flag = 0;
cin >> x >> y;
rep(i, x) {
a = x - i + 1;
if ((2 * a + 4 * i) == y)
flag = 1;
}
if (flag == 0)
cout << "No" << endl;
if (... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
int main() {
ll x, y;
ll a;
ll flag = 0;
cin >> x >> y;
rep(i, x + 1) {
a = x - i;
if ((2 * a + 4 * i) == y)
flag = 1;
}
if (flag == 0)
cout << "No" << endl;
if (... | [
"expression.operation.binary.remove"
] | 350,906 | 350,905 | u530873555 | cpp |
p02640 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
int main() {
ll x, y;
ll a;
ll flag = 0;
cin >> x >> y;
rep(i, x) {
a = x - i;
if ((2 * a + 4 * i) == 0)
flag = 1;
}
if (flag == 0)
cout << "No" << endl;
if (flag... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
int main() {
ll x, y;
ll a;
ll flag = 0;
cin >> x >> y;
rep(i, x + 1) {
a = x - i;
if ((2 * a + 4 * i) == y)
flag = 1;
}
if (flag == 0)
cout << "No" << endl;
if (... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 350,907 | 350,905 | u530873555 | cpp |
p02640 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
int main() {
ll x, y;
ll a;
ll flag = 0;
cin >> x >> y;
rep(i, x) {
a = x - i + 1;
if ((2 * a + 4 * i) == 0)
flag = 1;
}
if (flag == 0)
cout << "No" << endl;
if (... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
int main() {
ll x, y;
ll a;
ll flag = 0;
cin >> x >> y;
rep(i, x + 1) {
a = x - i;
if ((2 * a + 4 * i) == y)
flag = 1;
}
if (flag == 0)
cout << "No" << endl;
if (... | [
"expression.operation.binary.remove",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 350,908 | 350,905 | u530873555 | cpp |
p02640 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
int main() {
ll x, y;
ll a;
ll flag = 0;
cin >> x >> y;
rep(i, x) {
a = x - i;
if ((2 * a + 4 * i) == 0)
flag = 1;
}
if (flag == 0)
cout << "No" << endl;
if (flag... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
int main() {
ll x, y;
ll a;
ll flag = 0;
cin >> x >> y;
rep(i, x + 1) {
a = x - i;
if ((2 * a + 4 * i) == y)
flag = 1;
}
if (flag == 0)
cout << "No" << endl;
if (... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change",
"literal.number.change"
] | 350,909 | 350,905 | u530873555 | cpp |
p02640 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
bool a = false;
for (int i = 0; i < x; i++) {
if (i * 2 + (x - i) * 4 == y) {
a = true;
}
}
if (a) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
bool a = false;
for (int i = 0; i <= x; i++) {
if (i * 2 + (x - i) * 4 == y) {
a = true;
}
}
if (a) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 350,913 | 350,914 | u202349541 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
#define all(x) x.begin(), x.end()
#define sz(x) (int)x.size()
#define pb push_back
#define endl '\n'
#define snd second
#define fst first
#define fastio cin.tie(NULL), cout.sync_with_stdio(true)
typedef long long int ll;
typedef unsigned long long int ull;
typedef vector... | #include <bits/stdc++.h>
using namespace std;
#define all(x) x.begin(), x.end()
#define sz(x) (int)x.size()
#define pb push_back
#define endl '\n'
#define snd second
#define fst first
#define fastio cin.tie(NULL), cout.sync_with_stdio(true)
typedef long long int ll;
typedef unsigned long long int ull;
typedef vector... | [
"control_flow.branch.if.condition.change"
] | 350,917 | 350,918 | u578913064 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll mod = 1000000007;
#define pll pair<ll, ll>
#define pii pair<int32_t, int32_t>
#define loop(i, n) for (int64_t i = 0; i < n; i++)
#define loop1(i, a, b) for (int64_t i = a; i <= b; i++)
#define rloop(i, n) for (int64_t i = n - 1; i >= 0; i--)
#define... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll mod = 1000000007;
#define pll pair<ll, ll>
#define pii pair<int32_t, int32_t>
#define loop(i, n) for (int64_t i = 0; i < n; i++)
#define loop1(i, a, b) for (int64_t i = a; i <= b; i++)
#define rloop(i, n) for (int64_t i = n - 1; i >= 0; i--)
#define... | [
"literal.string.change",
"literal.string.case.change",
"variable_declaration.value.change",
"assignment.value.change"
] | 350,931 | 350,932 | u120572887 | cpp |
p02640 | #include <bits/stdc++.h>
#include <unordered_map>
using namespace std;
typedef long long ll;
const ll mod = 1e9 + 7;
const int N = 200000;
void Run() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
}
ll a[N], s, res, f;
map<char, ll> mp;
vector<ll> v;
int main() {
Run();
int x, y;
cin >> x >> y;
... | #include <bits/stdc++.h>
#include <unordered_map>
using namespace std;
typedef long long ll;
const ll mod = 1e9 + 7;
const int N = 200000;
void Run() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
}
ll a[N], s, res, f;
map<char, ll> mp;
vector<ll> v;
int main() {
Run();
int x, y;
cin >> x >> y;
... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 350,938 | 350,939 | u788747046 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, j, n) for (ll i = j; i <= n; i++)
#define per(i, j, n) for (ll i = j; i >= n; i--)
#define ll long long
#define ld long double
#define ld long double
#define ii pair<ll, ll>
#define vii vector<ii>
#define vi vector<ll>
#define adj unordered_map<ll, vii>
#defi... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, j, n) for (ll i = j; i <= n; i++)
#define per(i, j, n) for (ll i = j; i >= n; i--)
#define ll long long
#define ld long double
#define ld long double
#define ii pair<ll, ll>
#define vii vector<ii>
#define vi vector<ll>
#define adj unordered_map<ll, vii>
#defi... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 350,942 | 350,943 | u236813964 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rept(i, n) for (int i = n - 1; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define all(v) v.bigin(), v.end()
#define MAX(a, b) a = a > b ? a : b
#define MI... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rept(i, n) for (int i = n - 1; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define all(v) v.bigin(), v.end()
#define MAX(a, b) a = a > b ? a : b
#define MI... | [
"variable_declaration.remove",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 350,958 | 350,959 | u866845891 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int x, y;
cin >> x >> y;
if (4 * x < y || y % 2 != 0) {
cout << "No";
} else
cout << "Yes";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int x, y;
cin >> x >> y;
if (4 * x < y || y % 2 != 0 || x * 2 > y) {
cout << "No";
} else
cout << "Yes";
}
| [
"control_flow.branch.if.condition.change"
] | 350,960 | 350,961 | u750143627 | cpp |
p02640 | #include "bits/stdc++.h"
using namespace std;
typedef long long int ll;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int x, y;
cin >> x >> y;
if (y & 1) {
cout << "No\n";
} else {
y /= 2;
if (2 * x >= y && x < y)
cout << "Yes\n";
else
cout << "No\n";
}
} | #include "bits/stdc++.h"
using namespace std;
typedef long long int ll;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int x, y;
cin >> x >> y;
if (y & 1) {
cout << "No\n";
} else {
y /= 2;
if (2 * x >= y && x <= y)
cout << "Yes\n";
else
cout << "No\n";
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 350,980 | 350,981 | u006871056 | cpp |
p02640 | #pragma GCC optimize("O3")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i < ll(b); i++)
#define FORD(i, a, b) for (ll i = a; i > ll(b); i--)
#define ALL(x) x.b... | #pragma GCC optimize("O3")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i < ll(b); i++)
#define FORD(i, a, b) for (ll i = a; i > ll(b); i--)
#define ALL(x) x.b... | [
"expression.operation.binary.add"
] | 350,994 | 350,995 | u751032540 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
void solve() { return; }
int main() {
int n, l;
cin >> n >> l;
string ans = "No";
for (int i = 1; i <= n; i++) {
int rem = n - i;
if (2 * i + 4 * rem == l)
ans = "Yes";
}
cout << ans << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
void solve() { return; }
int main() {
int n, l;
cin >> n >> l;
string ans = "No";
for (int i = 0; i <= n; i++) {
int rem = n - i;
if (2 * i + 4 * rem == l)
ans = "Yes";
}
cout << ans << endl;
return 0;
}
| [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 350,996 | 350,997 | u113154710 | cpp |
p02640 | #include <iostream>
using namespace std;
int x, y;
int main() {
cin >> x >> y;
if (x * 2 >= y && x * 4 <= y && y % 2 == 0)
cout << "Yes";
else
cout << "No";
} | #include <iostream>
using namespace std;
int x, y;
int main() {
cin >> x >> y;
if (x * 2 <= y && x * 4 >= y && y % 2 == 0)
cout << "Yes";
else
cout << "No";
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 350,998 | 350,999 | u324865252 | cpp |
p02640 | #include <iostream>
using namespace std;
int x, y;
int main() {
cin >> x >> y;
if (x * 2 >= y && x * 4 <= y && y % 2 == 0)
cout << "YES";
else
cout << "NO";
} | #include <iostream>
using namespace std;
int x, y;
int main() {
cin >> x >> y;
if (x * 2 <= y && x * 4 >= y && y % 2 == 0)
cout << "Yes";
else
cout << "No";
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 351,000 | 350,999 | u324865252 | cpp |
p02640 | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <time.h>
#include <vector>
typed... | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <time.h>
#include <vector>
typed... | [] | 351,009 | 351,010 | u098844816 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, m;
cin >> n >> m;
int a = n * 2, b = n * 4, c = m % 2;
if (m >= a && m <= b && !c)
cout << "Yes" << endl;
else
cout << "N0" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int n, m;
cin >> n >> m;
int a = n * 2, b = n * 4, c = m % 2;
if (m >= a && m <= b && !c)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [
"literal.string.change",
"io.output.change"
] | 351,011 | 351,012 | u091121886 | cpp |
p02640 | #include <algorithm>
#include <array>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <forward_list>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <queue>
#includ... | #include <algorithm>
#include <array>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <forward_list>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <queue>
#includ... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 351,018 | 351,019 | u328823138 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y, a, count = 0;
cin >> X >> Y;
for (int a = 1; a <= X; a++) {
int b = X - a;
if (2 * a + 4 * b == Y) {
count++;
}
}
if (count > 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y, a, count = 0;
cin >> X >> Y;
for (int a = 0; a <= X; a++) {
int b = X - a;
if (2 * a + 4 * b == Y) {
count++;
}
}
if (count > 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 351,020 | 351,021 | u081162298 | cpp |
p02640 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (b % 2 == 0 && b - 2 * a >= 0 && 4 * a - b >= 0)
cout << "yes";
else
cout << "no";
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (b % 2 == 0 && b - 2 * a >= 0 && 4 * a - b >= 0)
cout << "Yes";
else
cout << "No";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 351,022 | 351,023 | u936877713 | cpp |
p02640 | #include <iostream>
using namespace std;
int main() {
int X, Y, i;
cin >> X >> Y;
for (i = 0; i <= X; i++) {
if (i * 2 + (X - i) * 4 == Y) {
cout << "YES";
return 0;
}
}
cout << "NO";
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int X, Y, i;
cin >> X >> Y;
for (i = 0; i <= X; i++) {
if (i * 2 + (X - i) * 4 == Y) {
cout << "Yes";
return 0;
}
}
cout << "No";
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 351,031 | 351,032 | u179181959 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ll n, m;
cin >> n >> m;
if (m % 2 != 0) {
cout << "No" << endl;
return 0;
}
ll maxi = (m / 2);
ll mini = (m / 4);
if (m % 4 != 0)
maxi++;
if ((n >= mini) && (n <= maxi))
cout << "Yes" << endl;
else
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ll n, m;
cin >> n >> m;
if (m % 2 != 0) {
cout << "No" << endl;
return 0;
}
ll maxi = (m / 2);
ll mini = (m / 4);
if (m % 4 != 0)
mini++;
if ((n >= mini) && (n <= maxi))
cout << "Yes" << endl;
else
... | [
"identifier.change"
] | 351,034 | 351,035 | u037778829 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
int n, m;
cin >> n >> m;
if (m % 2 != 0) {
cout << "No" << endl;
return 0;
}
int maxi = (m / 2);
int mini = (m / 4);
if (m % 4 != 0)
maxi++;
if ((n >= mini) && (n <= maxi))
cout << "Yes" << endl;
else
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ll n, m;
cin >> n >> m;
if (m % 2 != 0) {
cout << "No" << endl;
return 0;
}
ll maxi = (m / 2);
ll mini = (m / 4);
if (m % 4 != 0)
mini++;
if ((n >= mini) && (n <= maxi))
cout << "Yes" << endl;
else
... | [
"variable_declaration.type.change",
"identifier.change"
] | 351,036 | 351,035 | u037778829 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X;
cin >> Y;
bool ok = false;
for (int i = 0; i <= X; i++) {
int turu = i;
int kame = (X - i);
if (turu * 2 + kame + 4 == Y) {
ok = true;
break;
}
}
if (ok) {
cout << "Yes" << endl;
} else {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X;
cin >> Y;
bool ok = false;
for (int i = 0; i <= X; i++) {
int turu = i;
int kame = (X - i);
if (turu * 2 + kame * 4 == Y) {
ok = true;
break;
}
}
if (ok) {
cout << "Yes" << endl;
} else {
... | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 351,042 | 351,043 | u399556431 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a * 2 <= b && b <= a * 4 && b % 2 == 0)
cout << "YES";
else
cout << "NO";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a * 2 <= b && b <= a * 4 && b % 2 == 0)
cout << "Yes";
else
cout << "No";
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 351,046 | 351,047 | u713574885 | cpp |
p02640 | #include <iostream>
using namespace std;
int main() {
int animals, total;
cin >> animals;
cin >> total;
string ans = "No";
for (int i = 1; i < animals; i++) {
if (((i * 2) + ((animals - i) * 4)) == total) {
ans = "Yes";
break;
}
}
cout << ans;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int animals, total;
cin >> animals;
cin >> total;
string ans = "No";
for (int i = 0; i <= animals; i++) {
if (((i * 2) + ((animals - i) * 4)) == total) {
ans = "Yes";
break;
}
}
cout << ans;
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 351,050 | 351,051 | u443897038 | cpp |
p02640 | #include <bits/stdc++.h>
#define endl '\n'
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define mod 1000000007
#define FASTIO \
ios::sync_with_stdio(0); \
cin.tie(0);
#de... | #include <bits/stdc++.h>
#define endl '\n'
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define mod 1000000007
#define FASTIO \
ios::sync_with_stdio(0); \
cin.tie(0);
#de... | [
"expression.operation.binary.add"
] | 351,056 | 351,057 | u335458021 | cpp |
p02640 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
int x, y;
cin >> x >> y;
bool ret = false;
for (int i = 0; i < x; i++) {
int t = x - i;
int total = 2 * i + 4 * t;
if (total == y)
ret = true;
}
if (ret)
cout << "Yes" << endl;
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
int x, y;
cin >> x >> y;
bool ret = false;
for (int i = 0; i <= x; i++) {
int t = x - i;
int total = 2 * i + 4 * t;
if (total == y)
ret = true;
}
if (ret)
cout << "Yes" << endl;
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 351,058 | 351,059 | u188332959 | cpp |
p02640 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a =... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a =... | [
"variable_declaration.type.primitive.change"
] | 351,060 | 351,061 | u917518913 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
if (2 * X <= Y && Y <= 2 * X && Y % 2 == 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
if (2 * X <= Y && Y <= 4 * X && Y % 2 == 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 351,064 | 351,065 | u276588887 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int x, y;
cin >> x >> y;
rep(i, x) {
int j = x - i;
if ((i * 4) + (j * 2) == y) {
cout << "Yes" << '\n';
return 0;
}
}
cout << "No" << '\n';
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i <= (int)(n); i++)
int main() {
int x, y;
cin >> x >> y;
rep(i, x) {
int j = x - i;
if ((i * 2) + (j * 4) == y) {
cout << "Yes" << '\n';
return 0;
}
}
cout << "No" << '\n';
} | [
"expression.operator.compare.change",
"preprocessor.define.value.change",
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 351,066 | 351,067 | u627330014 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
for (int i = 1; i <= X; i++) {
int j = X - i;
if (2 * i + 4 * j == Y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y;
cin >> X >> Y;
for (int i = 0; i <= X; i++) {
int j = X - i;
if (2 * i + 4 * j == Y) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 351,078 | 351,079 | u418892821 | cpp |
p02640 | #include <iostream>
int main(void) {
int n, m;
std::cin >> n >> m;
if ((n <= 2 * m) && (m <= 4 * n) && (m % 2 == 0))
std::cout << "Yes";
else
std::cout << "No";
} | #include <iostream>
int main(void) {
int n, m;
std::cin >> n >> m;
if ((m >= 2 * n) && (m <= 4 * n) && (m % 2 == 0))
std::cout << "Yes";
else
std::cout << "No";
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 351,082 | 351,083 | u744298512 | cpp |
p02640 | #include <iostream>
int main(void) {
int n, m;
std::cin >> n >> m;
if ((n < 2 * m) && (m < 4 * n) && (m % 2 == 0))
std::cout << "Yes";
else
std::cout << "No";
} | #include <iostream>
int main(void) {
int n, m;
std::cin >> n >> m;
if ((m >= 2 * n) && (m <= 4 * n) && (m % 2 == 0))
std::cout << "Yes";
else
std::cout << "No";
} | [
"identifier.change",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change"
] | 351,084 | 351,083 | u744298512 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, value;
cin >> n >> value;
if (value > n * 4 || value & 1) {
cout << "No\n";
} else {
cout << "Yes\n";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, value;
cin >> n >> value;
if (value > n * 4 || value & 1 || n * 2 > value) {
cout << "No\n";
} else {
cout << "Yes\n";
}
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 351,087 | 351,088 | u936053819 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define pb push_back
#define mp make_pair
#define F first
#define S second
/*
bool compare (pair<ll,ll> x,pair<ll,ll> y)
{
if(x.F==y.F)return x.S<y.S;
return x.F<y.F;
}
*/
int main() {
/* if you are getting wrong on test... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define pb push_back
#define mp make_pair
#define F first
#define S second
/*
bool compare (pair<ll,ll> x,pair<ll,ll> y)
{
if(x.F==y.F)return x.S<y.S;
return x.F<y.F;
}
*/
int main() {
/* if you are getting wrong on test... | [] | 351,089 | 351,090 | u775381895 | cpp |
p02640 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a * 2 <= b && b <= a * 4 && a % 2 == 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a * 2 <= b && b <= a * 4 && b % 2 == 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 351,091 | 351,092 | u051393058 | cpp |
p02640 | #include <bits/stdc++.h>
#define ll long long
#define nl "\n"
using namespace std;
void solve() {
int x, y;
scanf("%d %d", &x, &y);
if (2 * x > y)
printf("NO\n");
else {
int r = y - 2 * x;
if (r % 2 == 0 && r <= 2 * x)
printf("YES\n");
else
printf("NO\n");
}
}
int main() {
solve... | #include <bits/stdc++.h>
#define ll long long
#define nl "\n"
using namespace std;
void solve() {
int x, y;
scanf("%d %d", &x, &y);
if (2 * x > y)
printf("No\n");
else {
int r = y - 2 * x;
if (r % 2 == 0 && r <= 2 * x)
printf("Yes\n");
else
printf("No\n");
}
}
int main() {
solve... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 351,105 | 351,106 | u073164253 | cpp |
p02640 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define INT(...) \
int __VA_ARGS__; \
in(__VA_ARGS__)
#define LL(...) ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define INT(...) \
int __VA_ARGS__; \
in(__VA_ARGS__)
#define LL(...) ... | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 351,107 | 351,108 | u697150479 | cpp |
p02640 | #include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;
int main(void) {
int x, y;
bool yes = false;
scanf("%d %d", &x, &y);
for (int i = 0; i <= x; i++) {
if ((2 * i + 4 * (x - i)) == y) {
yes = true;
}
}
if (yes)
printf("yes");
else
printf("no");
return 0;... | #include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;
int main(void) {
int x, y;
bool yes = false;
scanf("%d %d", &x, &y);
for (int i = 0; i <= x; i++) {
if ((2 * i + 4 * (x - i)) == y) {
yes = true;
}
}
if (yes)
printf("Yes");
else
printf("No");
return 0;... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 351,118 | 351,119 | u325337559 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
#define rep(i, s, n) for (int i = s; i < (int)(n); i++)
int main() {
int n;
cin >> n;
vector<ll> ans(1e4 + 1, 0);
rep(z, 1, sqrt(n) + 1) {
rep(y, 1, z + 1) {
rep(x, 1, y + 1) {
ll f = x * x + y * y +... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
#define rep(i, s, n) for (int i = s; i < (int)(n); i++)
int main() {
int n;
cin >> n;
vector<ll> ans(1e4 + 1, 0);
rep(z, 1, sqrt(n) + 1) {
rep(y, 1, z + 1) {
rep(x, 1, y + 1) {
ll f = x * x + y * y +... | [
"assignment.value.change"
] | 351,140 | 351,141 | u634967948 | cpp |
p02608 | #include <bits/stdc++.h>
#define debug(a) cout << #a ": " << a << endl
#define IOS ios::sync_with_stdio(false), cin.tie(0)
using namespace std;
typedef long long ll;
const int table[] = {
0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 3,
0, 0, 0, 0, 0, 1, 6, 0, 3, 0, 0, 0,... | #include <bits/stdc++.h>
#define debug(a) cout << #a ": " << a << endl
#define IOS ios::sync_with_stdio(false), cin.tie(0)
using namespace std;
typedef long long ll;
const int table[] = {
0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 3,
3, 0, 0, 0, 0, 0, 1, 6, 0, 3, 0, 0,... | [] | 351,147 | 351,148 | u833266881 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
int f(int x, int y, int z) {
return x * x + y * y + z * z + x * y + x * z + y * z;
}
int main(int argc, char const *argv[]) {
int count = 40;
map<int, int> ans;
for (int x = 1; x < count; ++x) {
for (int y = 1; y < count; ++y) {
for (int z = 1; z < count; ... | #include <bits/stdc++.h>
using namespace std;
int f(int x, int y, int z) {
return x * x + y * y + z * z + x * y + x * z + y * z;
}
int main(int argc, char const *argv[]) {
int count = 105;
map<int, int> ans;
for (int x = 1; x < count; ++x) {
for (int y = 1; y < count; ++y) {
for (int z = 1; z < count;... | [
"literal.number.change",
"variable_declaration.value.change"
] | 351,153 | 351,154 | u586832145 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define REP(i, m, n) for (ll i = (ll)(m); i < (ll)(n); i++)
long long mo = 1e9 + 7;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> Pii;
typedef pair<ll, ll> Pll;
template <class T, class S> void cmin(T &a, ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define REP(i, m, n) for (ll i = (ll)(m); i < (ll)(n); i++)
long long mo = 1e9 + 7;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> Pii;
typedef pair<ll, ll> Pll;
template <class T, class S> void cmin(T &a, ... | [
"literal.number.change",
"call.arguments.change"
] | 351,155 | 351,156 | u601256797 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
long long f(int X, int Y, int Z) {
long long af = X * (X + Y) + Y * (Y + Z) + Z * (Z + X);
return af;
}
int main() {
int N;
cin >> N;
vector<int> ans(N + 1, 0);
for (int x = 1; x < N; x++)
for (int y = x; y < N; y++)
for (int z = y; z < N; z++) {
... | #include <bits/stdc++.h>
using namespace std;
long long f(int X, int Y, int Z) {
long long af = X * (X + Y) + Y * (Y + Z) + Z * (Z + X);
return af;
}
int main() {
int N;
cin >> N;
vector<long long> ans(N + 1, 0);
for (int x = 1; x < N; x++)
for (int y = x; y < N; y++)
for (int z = y; z < N; z++)... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 351,159 | 351,160 | u247164875 | cpp |
p02608 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
void debug_print(int N, vector<int> &A) {
int i;
for (i = 1; i < N + 1; i++) {
cout << A[i] << endl;
}
}
void tansaku(int ... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
void debug_print(int N, vector<int> &A) {
int i;
for (i = 1; i < N + 1; i++) {
cout << A[i] << endl;
}
}
void tansaku(int ... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 351,163 | 351,164 | u380187071 | cpp |
p02608 | #include <bits/stdc++.h>
#define ull unsigned long long
// #define _CRT_DISABLE_PERFCRIT_LOCKS
using namespace std;
int main(int argc, char const *argv[]) {
// ios_base::sync_with_stdio(false);
// cin.tie(NULL);
// cout.tie(NULL);
ull n;
std::cin >> n;
std::map<int, int> f;
double upp = sqrt(n);
for (... | #include <bits/stdc++.h>
#define ull unsigned long long
// #define _CRT_DISABLE_PERFCRIT_LOCKS
using namespace std;
int main(int argc, char const *argv[]) {
// ios_base::sync_with_stdio(false);
// cin.tie(NULL);
// cout.tie(NULL);
ull n;
std::cin >> n;
std::map<int, int> f;
double upp = sqrt(n);
for (... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 351,165 | 351,166 | u699355180 | cpp |
p02608 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main() {
int n;
cin >> n;
vector<int> num(60010, 0);
for (int x = 1; x <= 100; x++) {
for (int y = x; y <= 100; y++) {
for (int z = y; z <= 100; z++) {
int fn = x * x + y *... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main() {
int n;
cin >> n;
vector<int> num(60010, 0);
for (int x = 1; x <= 100; x++) {
for (int y = x; y <= 100; y++) {
for (int z = y; z <= 100; z++) {
int fn = x * x + y *... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 351,167 | 351,168 | u684002488 | cpp |
p02608 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
long long int n, x;
cin >> n;
long long int a[n + 1] = {0};
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
x ... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
long long int n, x;
cin >> n;
long long int a[n + 1] = {0};
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
x ... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 351,179 | 351,180 | u960933723 | cpp |
p02608 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
long long int n, x;
cin >> n;
long long int a[100] = {0};
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
x = ... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
long long int n, x;
cin >> n;
long long int a[n + 1] = {0};
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
x ... | [
"identifier.replace.add",
"literal.replace.remove",
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
... | 351,181 | 351,180 | u960933723 | cpp |
p02608 | #include "bits/stdc++.h"
using namespace std;
using ll = long long int;
#define rep(i, a, b) for (int i = a; i < b; i++)
#define rrep(i, a, b) for (int i = a; i >= b; i--)
#define fore(i, a) for (auto &i : a)
#define all(x) (x).begin(), (x).end()
#define pi 3.14159265358979323846
template <class T> bool ch1000000(T ... | #include "bits/stdc++.h"
using namespace std;
using ll = long long int;
#define rep(i, a, b) for (int i = a; i < b; i++)
#define rrep(i, a, b) for (int i = a; i >= b; i--)
#define fore(i, a) for (auto &i : a)
#define all(x) (x).begin(), (x).end()
#define pi 3.14159265358979323846
template <class T> bool ch1000000(T ... | [
"literal.number.change",
"call.arguments.change"
] | 351,185 | 351,186 | u434910428 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
int t, n, a[10005];
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
t = 1;
// cin>>t;
while (t--) {
cin >> n;
for (int i = 1; i <= 41; i++) {
for (int j = 1; j <= 41;... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
int t, n, a[100005];
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
t = 1;
// cin>>t;
while (t--) {
cin >> n;
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 1... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.loop.condition.change"
] | 351,190 | 351,191 | u616516236 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
const int N = 1000 + 10;
int ans[N];
int main() {
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
int t = i * i + j * j + k * k + i * j + j * k + i * k;
if (t <= 1000) {
ans[t]++;
... | #include <bits/stdc++.h>
using namespace std;
const int N = 10000 + 10;
int ans[N];
int main() {
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
int t = i * i + j * j + k * k + i * j + j * k + i * k;
if (t <= 10000) {
ans[t]++;
... | [
"literal.number.change",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change"
] | 351,195 | 351,196 | u866339621 | cpp |
p02608 | #include <algorithm>
#include <functional>
#include <initializer_list>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <regex>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define DBL_MIN 0.000000000000001
#d... | #include <algorithm>
#include <functional>
#include <initializer_list>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <regex>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define DBL_MIN 0.000000000000001
#d... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 351,203 | 351,204 | u361036928 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
// typedef
using ll = long long;
using str = string;
using PL = pair<ll, ll>;
using P = pair<int, int>;
using VL = vector<ll>;
using VI = vector<int>;
using VS = vector<str>;
using VP = vector<P>;
using VPL = vector<PL>;
using VVL = vector<VL>;
using VVI = vector<VI>;
// c... | #include <bits/stdc++.h>
using namespace std;
// typedef
using ll = long long;
using str = string;
using PL = pair<ll, ll>;
using P = pair<int, int>;
using VL = vector<ll>;
using VI = vector<int>;
using VS = vector<str>;
using VP = vector<P>;
using VPL = vector<PL>;
using VVL = vector<VL>;
using VVI = vector<VI>;
// c... | [
"variable_declaration.value.change"
] | 351,207 | 351,208 | u513983745 | cpp |
p02608 | #include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include <cassert>
#include <cfloat>
#include <complex>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <regex>
#include <set>
#... | #include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include <cassert>
#include <cfloat>
#include <complex>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <regex>
#include <set>
#... | [
"assignment.change"
] | 351,209 | 351,210 | u714724786 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.