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 |
|---|---|---|---|---|---|---|---|
p04041 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int mod = 1e9 + 7;
int dp[50][1 << 17];
int ans = 1;
ll S, fow;
int main() {
int n;
scanf("%d", &n);
int x, y, z;
scanf("%d%d%d", &x, &y, &z);
for (int i = 0; i < n; i++) {
ans = 1ll * ans * 10 % mod;
}
S = (1 << x + y + z) - 1;... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int mod = 1e9 + 7;
int dp[50][1 << 17];
int ans = 1;
ll S, fow;
int main() {
int n;
scanf("%d", &n);
int x, y, z;
scanf("%d%d%d", &x, &y, &z);
for (int i = 0; i < n; i++) {
ans = 1ll * ans * 10 % mod;
}
S = (1 << x + y + z) - 1;... | [
"assignment.value.change",
"expression.operation.binary.change"
] | 1,528,824 | 1,528,825 | u510959226 | cpp |
p04041 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int mod = 1e9 + 7;
int dp[50][1 << 17];
ll ans = 1;
ll S, fow;
int main() {
int n;
scanf("%d", &n);
int x, y, z;
scanf("%d%d%d", &x, &y, &z);
for (int i = 0; i < n; i++) {
ans = 1ll * ans * 10 % mod;
}
S = (1 << x + y + z) - 1;
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int mod = 1e9 + 7;
int dp[50][1 << 17];
int ans = 1;
ll S, fow;
int main() {
int n;
scanf("%d", &n);
int x, y, z;
scanf("%d%d%d", &x, &y, &z);
for (int i = 0; i < n; i++) {
ans = 1ll * ans * 10 % mod;
}
S = (1 << x + y + z) - 1;... | [
"variable_declaration.type.change",
"assignment.value.change",
"expression.operation.binary.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,528,826 | 1,528,825 | u510959226 | cpp |
p04041 | #include <cstdio>
#define ll long long
const int p = 1e9 + 7;
int n, X, Y, Z;
int f[42][1 << 17];
int main() {
scanf("%d%d%d%d", &n, &X, &Y, &Z);
f[0][0] = 1;
int Haiku = (1 << (Z - 1)) | (1 << (Y + Z - 1)) | (1 << (X + Y + Z - 1));
int mask = (1 << (X + Y + Z)) - 1, ans = 1;
for (int i = 1; i <= n; i++)
... | #include <cstdio>
#define ll long long
const int p = 1e9 + 7;
int n, X, Y, Z;
int f[42][1 << 17];
int main() {
scanf("%d%d%d%d", &n, &X, &Y, &Z);
f[0][0] = 1;
int Haiku = (1 << (Z - 1)) | (1 << (Y + Z - 1)) | (1 << (X + Y + Z - 1));
int mask = (1 << (X + Y + Z)) - 1, ans = 1;
for (int i = 1; i <= n; i++)
... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 1,528,829 | 1,528,830 | u529933380 | cpp |
p04041 | #include <bits/stdc++.h>
#define rep(i, n) for (lli i = 0; i < (n); i++)
#define rrep(i, n) for (lli i = (n)-1; i >= 0; i--)
using namespace std;
using lli = long long int;
template <signed M, unsigned T> struct mod_int {
constexpr static signed MODULO = M;
constexpr static unsigned TABLE_SIZE = T;
signed x;
... | #include <bits/stdc++.h>
#define rep(i, n) for (lli i = 0; i < (n); i++)
#define rrep(i, n) for (lli i = (n)-1; i >= 0; i--)
using namespace std;
using lli = long long int;
template <signed M, unsigned T> struct mod_int {
constexpr static signed MODULO = M;
constexpr static unsigned TABLE_SIZE = T;
signed x;
... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"expression.operation.binary.change"
] | 1,528,831 | 1,528,832 | u630452895 | cpp |
p04041 | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
const int m = 1e9 + 7;
ll dp[45][1 << 16];
int main() {
int n, x, y, z, l, mask, fbd;
scanf("%d%d%d%d", &n, &x, &y, &z);
l = x + y + z - 1;
mask = (1 << l) - 1;
fbd = (1 << (x + y + z - 1)) | (1 << (y + z - 1)) | (1 << (z - 1));
dp[0][0] = ... | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
const int m = 1e9 + 7;
ll dp[45][1 << 18];
int main() {
int n, x, y, z, l, mask, fbd;
scanf("%d%d%d%d", &n, &x, &y, &z);
l = x + y + z - 1;
mask = (1 << l) - 1;
fbd = (1 << (x + y + z - 1)) | (1 << (y + z - 1)) | (1 << (z - 1));
dp[0][0] = ... | [
"literal.number.change",
"expression.operation.binary.change"
] | 1,528,833 | 1,528,834 | u935196741 | cpp |
p04041 | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
const int m = 1e9 + 7;
ll dp[45][1 << 16];
int main() {
int n, x, y, z, l, mask, fbd;
scanf("%d%d%d%d", &n, &x, &y, &z);
l = x + y + z - 1;
mask = (1 << l) - 1;
fbd = (1 << (x + y + z - 1)) | (1 << (y + z - 1)) | (1 << (z - 1));
dp[0][0] = ... | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
const int m = 1e9 + 7;
ll dp[45][1 << 20];
int main() {
int n, x, y, z, l, mask, fbd;
scanf("%d%d%d%d", &n, &x, &y, &z);
l = x + y + z - 1;
mask = (1 << l) - 1;
fbd = (1 << (x + y + z - 1)) | (1 << (y + z - 1)) | (1 << (z - 1));
dp[0][0] = ... | [
"literal.number.change",
"expression.operation.binary.change"
] | 1,528,833 | 1,528,835 | u935196741 | cpp |
p04043 | #include <algorithm>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 12)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <algorithm>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 17)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,844 | 1,528,845 | u845620905 | cpp |
p04043 | #include <iostream>
using namespace std;
int a, b, c;
int main() {
cin >> a;
cin >> b;
cin >> c;
if (a + b + c == 12) {
if (a == 5 || a == 7) {
if (b == 5 || b == 7) {
if (c == 5 || c == 7) {
cout << "YES\n";
} else {
cout << "NO\n";
}
} else {
... | #include <iostream>
using namespace std;
int a, b, c;
int main() {
cin >> a;
cin >> b;
cin >> c;
if (a + b + c == 17) {
if (a == 5 || a == 7) {
if (b == 5 || b == 7) {
if (c == 5 || c == 7) {
cout << "YES\n";
} else {
cout << "NO\n";
}
} else {
... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,860 | 1,528,861 | u315975763 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <map>
#include <numeric>
#include <set>
#include <sstream>
#include <stdio.h>
#include <string>
#include <vector>
namespace test {
std::string to_string(char val) {
return std::string(1, val);
// return std::s... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <map>
#include <numeric>
#include <set>
#include <sstream>
#include <stdio.h>
#include <string>
#include <vector>
namespace test {
std::string to_string(char val) {
return std::string(1, val);
// return std::s... | [
"literal.number.change",
"function.return_value.change"
] | 1,528,866 | 1,528,867 | u127653131 | cpp |
p04043 | #include <bits/stdc++.h>
#define inf 1000000000 // 1E+9
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
multiset<int> s;
s.insert(a);
s.insert(b);
s.insert(c);
if (s.count(5) == 2 && s.count(7) == 1)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
#define inf 1000000000 // 1E+9
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
multiset<int> s;
s.insert(a);
s.insert(b);
s.insert(c);
if (s.count(5) == 2 && s.count(7) == 1)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,868 | 1,528,869 | u819160021 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7) {
cout << "YES" << endl;
}
if (A == 5 && B == 7 && C == 5) {
cout << "YES" << endl;
}
if (A == 7 && B == 5 && C == 5) {
cout << "YES" << endl;
} else {
cout << "NO" << e... | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7) {
cout << "YES" << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << "YES" << endl;
} else if (A == 7 && B == 5 && C == 5) {
cout << "YES" << endl;
} else {
cout << "NO... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,528,881 | 1,528,882 | u971256474 | cpp |
p04043 | #include <bits/stdc++.h>
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int a, b, c, d = 0, e = 0;
signed main() {
cin >> a >> b >> c;
if (a == 5) {
d++;
} else if (a == 7) {
e++;
}
if (b == 5) {
d++;
} else if (b == 7) {
e++;
}
if (b == 5) {
... | #include <bits/stdc++.h>
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int a, b, c, d = 0, e = 0;
signed main() {
cin >> a >> b >> c;
if (a == 5) {
d++;
} else if (a == 7) {
e++;
}
if (b == 5) {
d++;
} else if (b == 7) {
e++;
}
if (c == 5) {
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,528,883 | 1,528,884 | u835937527 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (max({a, b, c}) == 7) {
if (min({a, b, c}) == 5) {
if (a + b + c - max({a, b, c}) - min({a, b, c}) == 7) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (max({a, b, c}) == 7) {
if (min({a, b, c}) == 5) {
if (a + b + c - max({a, b, c}) - min({a, b, c}) == 5) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,886 | 1,528,887 | u942393279 | cpp |
p04043 | #include <algorithm>
#include <climits>
#include <iostream>
#include <set>
#include <string>
#include <vector>
#define MAX 1000000007
using namespace std;
#define ll long long
#define dbg if (0)
#define ISRANGE(val, lo, hi) ((lo <= val) && (val < hi))
int main() {
ll ans, five = 0, seven = 0;
for (int i = 0; i < ... | #include <algorithm>
#include <climits>
#include <iostream>
#include <set>
#include <string>
#include <vector>
#define MAX 1000000007
using namespace std;
#define ll long long
#define dbg if (0)
#define ISRANGE(val, lo, hi) ((lo <= val) && (val < hi))
int main() {
ll ans, five = 0, seven = 0;
for (int i = 0; i < ... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,894 | 1,528,895 | u828752458 | cpp |
p04043 | #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
int a[3];
for (int i = 0; i < 3; i++)
cin >> a[i];
int count5 = 0;
int count7 = 7;
for (int i = 0; i < 3; i++) {
if (a[i] == 5)
count5++;
if (a[i] == 7)
count7++;
}
if (c... | #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
int a[3];
for (int i = 0; i < 3; i++)
cin >> a[i];
int count5 = 0;
int count7 = 0;
for (int i = 0; i < 3; i++) {
if (a[i] == 5)
count5++;
if (a[i] == 7)
count7++;
}
if (c... | [
"literal.number.change",
"variable_declaration.value.change"
] | 1,528,910 | 1,528,911 | u572012241 | cpp |
p04043 | #include <iostream>
// ABC42
int main() {
int a[3];
std::cin >> a[0] >> a[1] >> a[2];
if (a[0] * a[1] * a[2] == 175)
std::cout << "yes" << std::endl;
else
std::cout << "no" << std::endl;
return 0;
} | #include <iostream>
// ABC42
int main() {
int a[3];
std::cin >> a[0] >> a[1] >> a[2];
if (a[0] * a[1] * a[2] == 175)
std::cout << "YES" << std::endl;
else
std::cout << "NO" << std::endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,528,919 | 1,528,920 | u830977413 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
int x, y, z;
cin >> x >> y >> x;
if ((x == 5 && y == 5 && z == 7) || (x == 5 && y == 7 && z == 5) ||
(x == 7 && y == 5 && z == 5)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <iostream>
using namespace std;
int main(void) {
int x, y, z;
cin >> x >> y >> z;
if ((x == 5 && y == 5 && z == 7) || (x == 5 && y == 7 && z == 5) ||
(x == 7 && y == 5 && z == 5)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"identifier.change",
"expression.operation.binary.change"
] | 1,528,921 | 1,528,922 | u560522955 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 17 && a * b * c == 175) {
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 == 17 && a * b * c == 175) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,943 | 1,528,944 | u539402331 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 17 && a * b * c == 245) {
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 == 17 && a * b * c == 175) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,945 | 1,528,944 | u539402331 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool f = false;
if (A == 5) {
if ((B == 5 && C == 7) || (B == 7 && C == 5)) {
f = true;
}
} else if (A == 7) {
if (B == 5 && B == C) {
f = true;
}
}
cout << (f ? "Yes" : "No") << endl;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool f = false;
if (A == 5) {
if ((B == 5 && C == 7) || (B == 7 && C == 5)) {
f = true;
}
} else if (A == 7) {
if (B == 5 && B == C) {
f = true;
}
}
cout << (f ? "YES" : "NO") << endl;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,955 | 1,528,956 | u975773137 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 7) {
if (b == 5 && c == 5) {
cout << "YES";
return 0;
}
}
if (a == 5) {
if ((b == 7 && c == 5) || (c == 5 && b == 7)) {
cout << "YES";
return 0;
}
}
cout << "NO";
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 7) {
if (b == 5 && c == 5) {
cout << "YES";
return 0;
}
}
if (a == 5) {
if ((b == 7 && c == 5) || (b == 5 && c == 7)) {
cout << "YES";
return 0;
}
}
cout << "NO";
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,528,957 | 1,528,958 | u617197301 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 7) {
if (b == 5 && c == 5)
cout << "YES";
return 0;
}
if (a == 5) {
if ((b == 7 && c == 5) || (c == 5 && b == 7)) {
cout << "YES";
return 0;
}
}
cout << "NO";
return 0;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 7) {
if (b == 5 && c == 5) {
cout << "YES";
return 0;
}
}
if (a == 5) {
if ((b == 7 && c == 5) || (b == 5 && c == 7)) {
cout << "YES";
return 0;
}
}
cout << "NO";
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,528,959 | 1,528,958 | u617197301 | cpp |
p04043 | #include <bits/stdc++.h>
#define F first
#define S second
#define $ ios::sync_with_stdio(0);
#define endl '\n'
using namespace std;
using ll = long long int;
using ii = pair<ll, ll>;
using vi = vector<ll>;
using vii = vector<ii>;
using graph = vector<vi>;
const int INF = 0x3f3f3f3f;
const ll INFL = 0x3f3f3f3f3f3f3f3f;
... | #include <bits/stdc++.h>
#define F first
#define S second
#define $ ios::sync_with_stdio(0);
#define endl '\n'
using namespace std;
using ll = long long int;
using ii = pair<ll, ll>;
using vi = vector<ll>;
using vii = vector<ii>;
using graph = vector<vi>;
const int INF = 0x3f3f3f3f;
const ll INFL = 0x3f3f3f3f3f3f3f3f;
... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 1,528,965 | 1,528,966 | u738532317 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
int a[3], n = 0, m = 0;
for (int i = 0; i > 0; i++) {
cin >> a[i];
if (a[i] == 5)
n++;
if (a[i] == 7)
m++;
}
if (n == 2 && m == 1) {
cout << "YES" << endl;
return 0;
} else {
cout << "NO" << endl;
return 0;
}
... | #include <iostream>
using namespace std;
int main(void) {
int a[3], n = 0, m = 0;
for (int i = 0; i < 3; i++) {
cin >> a[i];
if (a[i] == 5)
n++;
if (a[i] == 7)
m++;
}
if (n == 2 && m == 1) {
cout << "YES" << endl;
return 0;
} else {
cout << "NO" << endl;
return 0;
}
... | [
"control_flow.loop.for.condition.change"
] | 1,528,972 | 1,528,973 | u890511332 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef vector<int> VI;
int main() {
int a, b, c;
cin >> a >> b >> c;
int t[10] = {0};
t[a]++;
t[b]++;
t[c... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef vector<int> VI;
int main() {
int a, b, c;
cin >> a >> b >> c;
int t[10] = {0};
t[a]++;
t[b]++;
t[c... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,985 | 1,528,986 | u534417782 | cpp |
p04043 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; ++i)
#define repR(i, n) for (int i = n; i >= 0; ++i)
#define FDS(i, n) for (ll i = 0; i < n; ++i)
#define FDSR(i, n) for (int i = n; i >= 0; ++i)
#define FOR(i, m, n) for (int i = m; i < n; ++i)
#define FORR(i, m, n) for (int i = m; i >= n; --i)
#define ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; ++i)
#define repR(i, n) for (int i = n; i >= 0; ++i)
#define FDS(i, n) for (ll i = 0; i < n; ++i)
#define FDSR(i, n) for (int i = n; i >= 0; ++i)
#define FOR(i, m, n) for (int i = m; i < n; ++i)
#define FORR(i, m, n) for (int i = m; i >= n; --i)
#define ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,010 | 1,529,011 | u870797515 | cpp |
p04043 | #include "bits/stdc++.h"
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
string ans;
vector<int> vec = {a, b, c};
sort(vec.begin(), vec.end());
if (vec[0] == 5 && vec[1] == 7 && vec[2] == 5)
ans = "YES";
else
ans = "NO";
cout << ans << endl;
}
| #include "bits/stdc++.h"
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
string ans;
vector<int> vec = {a, b, c};
sort(vec.begin(), vec.end());
if (vec[0] == 5 && vec[1] == 5 && vec[2] == 7)
ans = "YES";
else
ans = "NO";
cout << ans << endl;
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,529,012 | 1,529,013 | u637834578 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
bool result;
if (a == 7 && b == 5 && c == 5 || b == 7 && a == 5 && c == 5 ||
c == 7 && a == 5 && c == 5) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
bool result;
if (a == 7 && b == 5 && c == 5 || b == 7 && a == 5 && c == 5 ||
c == 7 && a == 5 && b == 5) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,529,014 | 1,529,015 | u627434558 | cpp |
p04043 | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 12)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 17)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,529,030 | 1,529,031 | u919272156 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C == 17 && abs(A - B) < 3 && abs(B - C) < 3) {
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 == 17 && abs(A - B) < 3 && abs(B - C) < 3) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,032 | 1,529,033 | u607465351 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int n[3];
for (int i = 0; i < 3; i++) {
cin >> n[i];
}
sort(n, n + 3);
if (n[0] == 5 || n[1] == 5 || n[2] == 7) {
... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int n[3];
for (int i = 0; i < 3; i++) {
cin >> n[i];
}
sort(n, n + 3);
if (n[0] == 5 && n[1] == 5 && n[2] == 7) {
... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,529,039 | 1,529,040 | u817014213 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A, B, C;
if (A == 7 && B == 5 && C == 5)
cout << "YES" << endl;
else if (A == 5 && B == 7 && C == 5)
cout << "YES" << endl;
else if (A == 5 && B == 5 && C == 7)
cout << "YES" << endl;
else
cout << "NO" << endl;
ret... | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 7 && B == 5 && C == 5)
cout << "YES" << endl;
else if (A == 5 && B == 7 && C == 5)
cout << "YES" << endl;
else if (A == 5 && B == 5 && C == 7)
cout << "YES" << endl;
else
cout << "NO" << endl;
... | [] | 1,529,043 | 1,529,044 | u681440564 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7) {
cout << "YES" << endl;
}
if (a == 5 && b == 7 && c == 5) {
cout << "YES" << endl;
}
if (a == 7 && b == 5 && c == 5) {
cout << "YES" << endl;
}
else {
cout ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7) {
cout << "YES" << endl;
}
else if (a == 5 && b == 7 && c == 5) {
cout << "YES" << endl;
}
else if (a == 7 && b == 5 && c == 5) {
cout << "YES" << endl;
}
else {... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,529,052 | 1,529,053 | u979163294 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
using VS = vector<string>;
using LL = long long;
using VI = vector<int>;
using VVI = vector<VI>;
using PII = pair<int, int>;
using PLL = pair<LL, LL>;
using VL = vector<LL>;
using VVL = vector<VL>;
#define ALL(a) begin((a)), end((a))
#define RALL(a) (a).rbegin(), (a).rend... | #include <bits/stdc++.h>
using namespace std;
using VS = vector<string>;
using LL = long long;
using VI = vector<int>;
using VVI = vector<VI>;
using PII = pair<int, int>;
using PLL = pair<LL, LL>;
using VL = vector<LL>;
using VVL = vector<VL>;
#define ALL(a) begin((a)), end((a))
#define RALL(a) (a).rbegin(), (a).rend... | [
"variable_declaration.type.change"
] | 1,529,059 | 1,529,060 | u788341294 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C == 17 &&
((A == 5 || A == 7) && (B == 5 || B == 7) && (C == 5 || C == 7)))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C == 17 &&
((A == 5 || A == 7) && (B == 5 || B == 7) && (C == 5 || C == 7)))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,061 | 1,529,062 | u341488930 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#define FOR(idx, begin, end) for (int idx = (begin); idx < (end); ++idx)
#define DBG(x) cerr << #x << ": " << x << "\n"
using namespace std;
typedef long long lint;
con... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#define FOR(idx, begin, end) for (int idx = (begin); idx < (end); ++idx)
#define DBG(x) cerr << #x << ": " << x << "\n"
using namespace std;
typedef long long lint;
con... | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,069 | 1,529,068 | u532573979 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> p = {5, 7, 5};
sort(p.begin(), p.end());
vector<int> q(3);
for (int i = 0; i < 3; i++)
cin >> q.at(i);
sort(q.begin(), q.end());
int con = 0;
for (int i = 0; i < 3; i++)
if (p.at(i) == q.at(i))
con++;
if (con == 3)
... | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> p = {5, 7, 5};
sort(p.begin(), p.end());
vector<int> q(3);
for (int i = 0; i < 3; i++)
cin >> q.at(i);
sort(q.begin(), q.end());
int con = 0;
for (int i = 0; i < 3; i++)
if (p.at(i) == q.at(i))
con++;
if (con == 3)
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,071 | 1,529,072 | u716917908 | cpp |
p04043 | #include <iostream>
int main(void) {
int data[2] = {0, 0};
int input;
for (int i = 0; i < 3; i++) {
std::cin >> input;
if (input == 5)
data[0]++;
else if (input == 7)
data[1]++;
}
if (data[0] == 2 && data[1] == 1)
std::cout << "Yes";
else
std::cout << "No";
return 0;
} | #include <iostream>
int main(void) {
int data[2] = {0, 0};
int input;
for (int i = 0; i < 3; i++) {
std::cin >> input;
if (input == 5)
data[0]++;
else if (input == 7)
data[1]++;
}
if (data[0] == 2 && data[1] == 1)
std::cout << "YES";
else
std::cout << "NO";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,529,073 | 1,529,074 | u562333532 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C == 12) {
if (A == 7 or B == 7 or C == 7) {
if (A == 5 or B == 5 or C == 5) {
cout << "YES" << endl;
return 0;
}
}
}
cout << "NO" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C == 17) {
if (A == 7 or B == 7 or C == 7) {
if (A == 5 or B == 5 or C == 5) {
cout << "YES" << endl;
return 0;
}
}
}
cout << "NO" << endl;
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,529,075 | 1,529,076 | u798944838 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C == 12) {
if (A == 7 or B == 7 or C == 7) {
if (A == 5 or B == 5 or C == 5) {
cout << "Yes" << endl;
return 0;
}
}
}
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C == 17) {
if (A == 7 or B == 7 or C == 7) {
if (A == 5 or B == 5 or C == 5) {
cout << "YES" << endl;
return 0;
}
}
}
cout << "NO" << endl;
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,077 | 1,529,076 | u798944838 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define rep(i, n) for (ll i = 0; i < n; i++)
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define is(a, b) a == b
#define len(v) ll(v.size())
class UnionFind {
public:
vector<int> par; //親の番号
vector<int> rank; //木の深さ
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define rep(i, n) for (ll i = 0; i < n; i++)
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define is(a, b) a == b
#define len(v) ll(v.size())
class UnionFind {
public:
vector<int> par; //親の番号
vector<int> rank; //木の深さ
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,084 | 1,529,085 | u340010271 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if ((A == 5 && B == 5 && C == 7) || (A == 7 && B == 5 && C == 5) ||
(A == 5 && B == 7 && C == 5))
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 == 5 && B == 5 && C == 7) || (A == 7 && B == 5 && C == 5) ||
(A == 5 && B == 7 && C == 5))
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,091 | 1,529,092 | u126508424 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int val1, val2, val3;
cin >> val1 >> val2 >> val3;
if ((val1 == 7 && val2 == 5 && val3 == 5) ||
(val1 == 5 && val2 == 7 && val3 == 5) ||
(val1 == 5 && val2 == 5 && val3 == 7)) {
cout << "Yes";
} else {
cout << "No";
}
} | #include <iostream>
using namespace std;
int main() {
int val1, val2, val3;
cin >> val1 >> val2 >> val3;
if ((val1 == 7 && val2 == 5 && val3 == 5) ||
(val1 == 5 && val2 == 7 && val3 == 5) ||
(val1 == 5 && val2 == 5 && val3 == 7)) {
cout << "YES";
} else {
cout << "NO";
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,095 | 1,529,096 | u457190703 | cpp |
p04043 | #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[0] == 5 && A[1] == 5 && A[2] == 7)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #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[0] == 5 && A[1] == 5 && A[2] == 7)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,110 | 1,529,111 | u577926181 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define elif else if
#define rep(i, n) for ((i) = (0); (i) < (n); ++(i))
#define str string
#define Cout(a) cout << (a) << endl;
int a, b, c, i, j, k, n, m, x, y, cnt = 0, ans = 0;
str s, t;
int main() {
int a[3];
rep(i, 3) cin >> a[i];
sort(a, a + 3);
bool w = a[0... | #include <bits/stdc++.h>
using namespace std;
#define elif else if
#define rep(i, n) for ((i) = (0); (i) < (n); ++(i))
#define str string
#define Cout(a) cout << (a) << endl;
int a, b, c, i, j, k, n, m, x, y, cnt = 0, ans = 0;
str s, t;
int main() {
int a[3];
rep(i, 3) cin >> a[i];
sort(a, a + 3);
bool w = a[0... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,112 | 1,529,113 | u423624748 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, countF, countS;
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5) {
countF++;
} else if (a == 7) {
countS++;
}
}
if (countF == 2 && countS == 1) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int a, countF, countS;
countF = countS = 0;
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5) {
countF++;
} else if (a == 7) {
countS++;
}
}
if (countF == 2 && countS == 1) {
cout << "YES" << endl;
} else {
cout << ... | [
"assignment.add"
] | 1,529,114 | 1,529,115 | u915934642 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
char a;
char b;
char c;
cin >> a >> b >> c;
int countf = 0;
int counts = 0;
if (a == '5') {
countf++;
} else if (a == '7') {
counts++;
}
if (b == '5') {
countf++;
} else if (b == '7') {
counts++... | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
char a;
char b;
char c;
cin >> a >> b >> c;
int countf = 0;
int counts = 0;
if (a == '5') {
countf++;
} else if (a == '7') {
counts++;
}
if (b == '5') {
countf++;
} else if (b == '7') {
counts++... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,116 | 1,529,117 | u777201860 | cpp |
p04043 |
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a == 2 && b == 2 && c == 7) || (a == 2 && c == 2 && b == 7) ||
(b == 2 && c == 2 && a == 7))
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a == 5 && b == 5 && c == 7) || (a == 5 && c == 5 && b == 7) ||
(b == 5 && c == 5 && a == 7))
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,529,122 | 1,529,123 | u424333771 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7)
cout << "Yes" << endl;
else if (a == 5 && b == 7 && c == 5)
cout << "Yes" << endl;
else if (a == 7 && b == 5 && c == 5)
cout << "Yes" << endl;
else
cout << "No" << endl;
r... | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7)
cout << "YES" << endl;
else if (a == 5 && b == 7 && c == 5)
cout << "YES" << endl;
else if (a == 7 && b == 5 && c == 5)
cout << "YES" << endl;
else
cout << "NO" << endl;
r... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,164 | 1,529,165 | u687548330 | cpp |
p04043 | #pragma comment(linker, "/stack:20000000")
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx")
#include <bits/stdc++.h>
/*#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/detail/standard_policies.hpp>*/
#include <ext/pb_ds/tree_policy.hpp>
#define sz(s) (int)(s.size()... | #pragma comment(linker, "/stack:20000000")
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx")
#include <bits/stdc++.h>
/*#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/detail/standard_policies.hpp>*/
#include <ext/pb_ds/tree_policy.hpp>
#define sz(s) (int)(s.size()... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,529,170 | 1,529,171 | u235627298 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int arr[3];
cin >> arr[0], arr[1], arr[2];
sort(arr, arr + 3);
if (arr[0] == 5 && arr[1] == 5 && arr[2] == 7)
cout << "YES";
else
cout << "NO";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int arr[3];
cin >> arr[0] >> arr[1] >> arr[2];
sort(arr, arr + 3);
if (arr[0] == 5 && arr[1] == 5 && arr[2] == 7)
cout << "YES";
else
cout << "NO";
} | [] | 1,529,172 | 1,529,173 | u211432328 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool can = false;
// 5が2つ,7が1つかどうかを判定
int count_5 = 0;
int count_7 = 0;
if (A == 5) {
count_5++;
}
if (A == 7) {
count_7++;
}
if (B == 5) {
count_5++;
}
if (B == 7) {
count_7++;
}
if (C ... | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool can = false;
// 5が2つ,7が1つかどうかを判定
int count_5 = 0;
int count_7 = 0;
if (A == 5) {
count_5++;
}
if (A == 7) {
count_7++;
}
if (B == 5) {
count_5++;
}
if (B == 7) {
count_7++;
}
if (C ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,183 | 1,529,184 | u234415519 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a == b && b == 7 && c == 5) || (b == c && b == 7 && a == 5) ||
(a == c && a == 7 && b == 5))
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 && b == 5 && c == 7) || (b == c && b == 5 && a == 7) ||
(a == c && a == 5 && b == 7))
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,529,189 | 1,529,190 | u654240084 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int d = a + b + c;
if (d == 12)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int d = a + b + c;
if (d == 17)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,529,193 | 1,529,194 | u899711906 | cpp |
p04043 | #include <iostream>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
if (((a == 5) && (b == 5) && (c == 7)) ||
((a == 5) && (b == 7) && (c == 5)) ||
((a == 7) && (b == 5) && (c == 5))) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
} | #include <iostream>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
if (((a == 5) && (b == 5) && (c == 7)) ||
((a == 5) && (b == 7) && (c == 5)) ||
((a == 7) && (b == 5) && (c == 5))) {
std::cout << "YES" << std::endl;
} else {
std::cout << "NO" << std::endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,529,209 | 1,529,210 | u238876549 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7) {
cout << "Yes" << endl;
} else if (a == 5 && b == 7 && c == 5) {
cout << "Yes" << endl;
} else if (a == 7 && b == 5 && c == 5) {
cout << "Yes" << endl;
} else {
cout <... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7) {
cout << "YES" << endl;
} else if (a == 5 && b == 7 && c == 5) {
cout << "YES" << endl;
} else if (a == 7 && b == 5 && c == 5) {
cout << "YES" << endl;
} else {
cout <... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,234 | 1,529,235 | u922602011 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[3];
scanf("%d%d%d", &a[0], &a[1], &a[2]);
sort(a, a + 3);
if (a[0] == 5 && a[1] == 5 && a[2] == 7) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[3];
scanf("%d%d%d", &a[0], &a[1], &a[2]);
sort(a, a + 3);
if (a[0] == 5 && a[1] == 5 && a[2] == 7) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,243 | 1,529,244 | u339483858 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a == 5 && b == 5 && c == 7) || (a == 5 && b == 7 && c == 5) ||
(a == 7 && b == 5 && c == 5)) {
cout << "Yes";
} else
cout << "No";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a == 5 && b == 5 && c == 7) || (a == 5 && b == 7 && c == 5) ||
(a == 7 && b == 5 && c == 5)) {
cout << "YES";
} else
cout << "NO";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,245 | 1,529,246 | u112315768 | cpp |
p04043 | #include <iostream>
using namespace std;
int A, B, C;
int main() {
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7)
cout << "Yes" << endl;
else if (A == 5 && B == 7 && C == 5)
cout << "Yes" << endl;
else if (A == 7 && B == 5 && C == 5)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <iostream>
using namespace std;
int A, B, C;
int main() {
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7)
cout << "YES" << endl;
else if (A == 5 && B == 7 && C == 5)
cout << "YES" << endl;
else if (A == 7 && B == 5 && C == 5)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,262 | 1,529,263 | u945452839 | cpp |
p04043 | #include <stdio.h>
int main(void) {
int a[3];
for (int i = 0; i < 3; i++) {
scanf("%d", &a[i]);
}
int jud = 1;
if ((a[0] + a[1] + a[2]) == 17) {
if (a[0] == 5) {
if (a[1] == 5)
jud = 0;
else if (a[1] == 7)
jud = 0;
} else if (a[0] == 7) {
if (a[1] == 5)
j... | #include <stdio.h>
int main(void) {
int a[3];
for (int i = 0; i < 3; i++) {
scanf("%d", &a[i]);
}
int jud = 1;
if ((a[0] + a[1] + a[2]) == 17) {
if (a[0] == 5) {
if (a[1] == 5)
jud = 0;
else if (a[1] == 7)
jud = 0;
} else if (a[0] == 7) {
if (a[1] == 5)
j... | [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,529,266 | 1,529,267 | u518794199 | cpp |
p04043 | #include <algorithm>
#include <climits>
#include <complex>
#include <cstdio>
#include <functional>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
typedef pair<int, int> P;
double dat[100][100];
int dp[6][1010]; //動的計画法
int prime[10000001];
char str[1010... | #include <algorithm>
#include <climits>
#include <complex>
#include <cstdio>
#include <functional>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
typedef pair<int, int> P;
double dat[100][100];
int dp[6][1010]; //動的計画法
int prime[10000001];
char str[1010... | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,529,274 | 1,529,275 | u559645647 | cpp |
p04043 | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <string>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define ll long long int
using namespace std;
int main(int argc, char c... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <string>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define ll long long int
using namespace std;
int main(int argc, char c... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,529,276 | 1,529,277 | u403753892 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a[12], go = 0, na = 0;
for (int i = 0; i < 3; i++)
cin >> a[i];
for (int i = 0; i < 3; i++) {
if (a[i] == 5)
go++;
if (a[i] == 7)
na++;
}
if (go == 2 && na == 1)
cout << "Yes";
else
cout << "No";
} | #include <iostream>
using namespace std;
int main() {
int a[12], go = 0, na = 0;
for (int i = 0; i < 3; i++)
cin >> a[i];
for (int i = 0; i < 3; i++) {
if (a[i] == 5)
go++;
if (a[i] == 7)
na++;
}
if (go == 2 && na == 1)
cout << "YES";
else
cout << "NO";
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,280 | 1,529,281 | u399261731 | cpp |
p04043 | #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a * b * c == 175) ? "YES" : "NO";
cout << endl;
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << ((a * b * c == 175) ? "YES" : "NO") << endl;
return 0;
} | [
"io.output.change"
] | 1,529,282 | 1,529,283 | u209767598 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
int num[3];
int fiv = 0, sev = 0;
for (int i = 0; i < 3; i++) {
cin >> num[i];
}
for (int j = 0; j < 3; j++) {
if (num[j] == 5)
fiv++;
}
for (int k = 0; k < 3; k++) {
if (num[k] == 7)
sev++;
}
if (sev == 1 && fiv == 2... | #include <iostream>
using namespace std;
int main(void) {
int num[3];
int fiv = 0, sev = 0;
for (int i = 0; i < 3; i++) {
cin >> num[i];
}
for (int j = 0; j < 3; j++) {
if (num[j] == 5)
fiv++;
}
for (int k = 0; k < 3; k++) {
if (num[k] == 7)
sev++;
}
if (sev == 1 && fiv == 2... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,284 | 1,529,285 | u238235808 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7) {
cout << "Yes" << endl;
} else if (A == 7 && B == 5 && C == 5) {
cout << "Yes" << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << "Yes" << endl;
} else {
cout <<... | #include <iostream>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7) {
cout << "YES" << endl;
} else if (A == 7 && B == 5 && C == 5) {
cout << "YES" << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << "YES" << endl;
} else {
cout <<... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,297 | 1,529,298 | u500026208 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7) {
cout << "Yes" << endl;
} else if (A == 7 && B == 5 && C == 5) {
cout << "Yes" << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << "Yes" << endl;
} else {
cout <<... | #include <iostream>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7) {
cout << "YES" << endl;
} else if (A == 7 && B == 5 && C == 5) {
cout << "YES" << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << "YES" << endl;
} else {
cout <<... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,297 | 1,529,299 | u500026208 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a == 5 && b == 5 && c == 7) || (a == 5 && b == 7 && c == 5) ||
(a == 7 && b == 5 && c == 5))
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 == 5 && b == 5 && c == 7) || (a == 5 && b == 7 && c == 5) ||
(a == 7 && b == 5 && c == 5))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,318 | 1,529,319 | u057787167 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a;
cin >> b;
cin >> c;
if ((a == 5 && b == 5 && c == 7) || (a == 5 && b == 7 && c == 5) ||
(a == 7 && b == 5 && c == 5))
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 == 5 && b == 5 && c == 7) || (a == 5 && b == 7 && c == 5) ||
(a == 7 && b == 5 && c == 5))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,320 | 1,529,319 | u057787167 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if ((a + b + c) == 12)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if ((a + b + c) == 17)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,529,331 | 1,529,332 | u598382605 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int nb5 = 0, nb7 = 0;
for (int i = 0; i < 3; ++i) {
int s;
cin >> s;
nb5 += s == 5;
nb7 += s == 7;
}
cout << (nb5 == 2 && nb7 == 1 ? "OK" : "NOK") << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int nb5 = 0, nb7 = 0;
for (int i = 0; i < 3; ++i) {
int s;
cin >> s;
nb5 += s == 5;
nb7 += s == 7;
}
cout << (nb5 == 2 && nb7 == 1 ? "YES" : "NO") << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 1,529,339 | 1,529,340 | u648229788 | cpp |
p04043 | #include <cstdio>
int main() {
int a[4], f, s;
f = 0;
s = 0;
for (int i = 0; i < 3; i++) {
scanf("%d", &a[i]);
}
for (int i = 0; i < 3; i++) {
if (a[i] == 5)
f++;
else if (a[i] == 7)
s++;
}
if (f == 2 && s == 1) {
printf("Yes\n");
} else {
printf("No\n");
}
}
| #include <cstdio>
int main() {
int a[4], f, s;
f = 0;
s = 0;
for (int i = 0; i < 3; i++) {
scanf("%d", &a[i]);
}
for (int i = 0; i < 3; i++) {
if (a[i] == 5)
f++;
else if (a[i] == 7)
s++;
}
if (f == 2 && s == 1) {
printf("YES\n");
} else {
printf("NO\n");
}
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,529,341 | 1,529,342 | u561639627 | cpp |
p04043 | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#if __cplusplus >= 201103
#include <numeric>
#... | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#if __cplusplus >= 201103
#include <numeric>
#... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,343 | 1,529,344 | u557565572 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a * b * c == 245)
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 == 175)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,529,357 | 1,529,358 | u876386943 | cpp |
p04043 | #include <stdio.h>
int main(void) {
int A, B, C;
scanf("%d %d %d", &A, &B, &C);
if (A == 5 && B == 5 && C == 7) {
printf("yes\n");
} else if (A == 5 && B == 7 && C == 5) {
printf("yes\n");
} else if (A == 7 && B == 5 && C == 5) {
printf("yes\n");
} else {
printf("no\n");
}
return 0;
} | #include <stdio.h>
int main(void) {
int A, B, C;
scanf("%d %d %d", &A, &B, &C);
if (A == 5 && B == 5 && C == 7) {
printf("YES\n");
} else if (A == 5 && B == 7 && C == 5) {
printf("YES\n");
} else if (A == 7 && B == 5 && C == 5) {
printf("YES\n");
} else {
printf("NO\n");
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,529,359 | 1,529,360 | u978801547 | cpp |
p04043 | // ABC-42-A.cpp : コンソール アプリケーションのエントリ ポイントを定義します。
//
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
bool f = false;
if (a == 5 && b == 7 && c == 5)
f = true;
if (a == 5 && b == 5 && c == 7)
f = true;
if (a == 7 && b == 5 && c == 5)
f = true;
cout << (f... | // ABC-42-A.cpp : コンソール アプリケーションのエントリ ポイントを定義します。
//
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
bool f = false;
if (a == 5 && b == 7 && c == 5)
f = true;
if (a == 5 && b == 5 && c == 7)
f = true;
if (a == 7 && b == 5 && c == 5)
f = true;
cout << (f... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,375 | 1,529,376 | u294322005 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
int A, B, C;
int tmp;
cin >> A;
cin >> B;
cin >> C;
if (A >= B) {
tmp = A;
A = B;
B = tmp;
}
if (C >= B) {
tmp = C;
C = B;
B = tmp;
}
if (A == 5 && B == 7 && C == 5) {
cout << "Yes" << endl;
} else {
cout ... | #include <iostream>
using namespace std;
int main(void) {
int A, B, C;
int tmp;
cin >> A;
cin >> B;
cin >> C;
if (A >= B) {
tmp = A;
A = B;
B = tmp;
}
if (C >= B) {
tmp = C;
C = B;
B = tmp;
}
if (A == 5 && B == 7 && C == 5) {
cout << "YES" << endl;
} else {
cout ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,382 | 1,529,383 | u949657644 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7) {
cout << "Yes" << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << " Yes" << endl;
} else if (A == 7 && B == 5 && C == 5) {
cout << "Yes" << endl;
} else {
cou... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7) {
cout << "YES" << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << " YES" << endl;
} else if (A == 7 && B == 5 && C == 5) {
cout << "YES" << endl;
} else {
cou... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,384 | 1,529,385 | u833064541 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7) {
cout << "Yes" << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << " Yes" << endl;
} else if (A == 7 && B == 5 && C == 5) {
cout << "Yes" << endl;
} else {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7) {
cout << "YES" << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << " YES" << endl;
} else if (A == 7 && B == 5 && C == 5) {
cout << "YES" << endl;
} else {
cou... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,387 | 1,529,385 | u833064541 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7) {
cout << "Yes" << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << " Yes" << endl;
} else if (A == 7 && B == 5 && C == 5) {
cout << "Yes" <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 5 && C == 7) {
cout << "YES" << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << " YES" << endl;
} else if (A == 7 && B == 5 && C == 5) {
cout << "YES" << endl;
} else {
cou... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,389 | 1,529,385 | u833064541 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool f;
if (A == B && B == 5) {
if (C == 7)
f = true;
} else if (B == C && C == 5) {
if (A == 7)
f = true;
} else if (A == C && C == 5) {
if (B == 7)
f = true;
} else
f = false;
if... | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool f;
if (A == B && B == 5) {
if (C == 7)
f = true;
} else if (B == C && C == 5) {
if (A == 7)
f = true;
} else if (A == C && C == 5) {
if (B == 7)
f = true;
} else
f = false;
if... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,396 | 1,529,397 | u344988629 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if ((a + b + c) == 17)
if ((a == b && c == 7) || (a == c && b == 7) || (c == b && a == 7))
cout << "NO" << endl;
return 0;
cout << "YES" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if ((a + b + c) == 17) {
if ((a == b && c == 7) || (a == c && b == 7) || (c == b && a == 7)) {
cout << "YES" << endl;
return 0;
}
}
cout << "NO" << endl;
return 0;
} | [
"expression.operation.binary.change",
"control_flow.return.add",
"control_flow.return.0.add"
] | 1,529,398 | 1,529,399 | u245485976 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 7 && B == 7 && C == 5) {
cout << "YES";
} else if (A == 7 && B == 5 && C == 7) {
cout << "YES";
} else if (A == 5 && B == 7 && C == 7) {
cout << "YES";
} else {
cout << "NO";
}
}
| #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 7 && B == 5 && C == 5) {
cout << "YES";
} else if (A == 5 && B == 5 && C == 7) {
cout << "YES";
} else if (A == 5 && B == 7 && C == 5) {
cout << "YES";
} else {
cout << "NO";
}
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,529,400 | 1,529,401 | u244712228 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a == 5 && b == 5 && c == 7) || (a == 5 && b == 7 && c == 5) ||
(a == 7 && b == 5 && c == 5)) {
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 == 5 && b == 5 && c == 7) || (a == 5 && b == 7 && c == 5) ||
(a == 7 && b == 5 && c == 5)) {
cout << "YES" << endl;
}
else {
cout << "NO" << endl;
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,402 | 1,529,403 | u455104068 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <limits>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <string>
using namespace std;
int main(void) {
char a[3];
int go, na;
go = 0;
na = 0;
for (int i = 0; i < 3; i++) {
cin >> a[i];
}
for (int i = 0; i < 3; i+... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <limits>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <string>
using namespace std;
int main(void) {
char a[3];
int go, na;
go = 0;
na = 0;
for (int i = 0; i < 3; i++) {
cin >> a[i];
}
for (int i = 0; i < 3; i+... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,404 | 1,529,405 | u421296696 | cpp |
p04043 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
char a[3];
cin >> a[0] >> a[1] >> a[2];
int five = 0;
int seven = 0;
for (int i = 0; i < 3; i++) {
if (a[i] == '五') {
five++;
} else if (a[i] == '七') {
seven++;
}
}
if (five == 2 && seven ... | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
char a[3];
cin >> a[0] >> a[1] >> a[2];
int five = 0;
int seven = 0;
for (int i = 0; i < 3; i++) {
if (a[i] == '5') {
five++;
} else if (a[i] == '7') {
seven++;
}
}
if (five == 2 && seven ... | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 1,529,408 | 1,529,409 | u876335718 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int N[3], five = 0, seven = 0;
cin >> N[0] >> N[1] >> N[2];
for (int i = 0; i < 3; i++) {
if (N[i] == 5)
five++;
else if (N[i] == 7)
seven++;
}
if (five == 2 && seven == 1)
cout << "Yes";
else
cout << "No";
return 0;
} | #include <iostream>
using namespace std;
int main() {
int N[3], five = 0, seven = 0;
cin >> N[0] >> N[1] >> N[2];
for (int i = 0; i < 3; i++) {
if (N[i] == 5)
five++;
else if (N[i] == 7)
seven++;
}
if (five == 2 && seven == 1)
cout << "YES";
else
cout << "NO";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,424 | 1,529,425 | u550314572 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); i++)
//#define int long long
int main() {
int a[3];
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3);
if (a[0] == 5 || a[1] == 5 || a[2] == 7) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); i++)
//#define int long long
int main() {
int a[3];
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3);
if (a[0] == 5 && a[1] == 5 && a[2] == 7) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,529,426 | 1,529,427 | u554953477 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define rc(s) return cout << s, 0
int a[4];
int main() {
cin >> a[1] >> a[2] >> a[3];
sort(a + 1, a + 3 + 1);
if (a[1] == 5 && a[2] == 5 && a[3] == 7)
rc("Yes");
rc("No");
} | #include <bits/stdc++.h>
using namespace std;
#define rc(s) return cout << s, 0
int a[4];
int main() {
cin >> a[1] >> a[2] >> a[3];
sort(a + 1, a + 3 + 1);
if (a[1] == 5 && a[2] == 5 && a[3] == 7)
rc("YES");
rc("NO");
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change"
] | 1,529,430 | 1,529,431 | u022510862 | cpp |
p04043 | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int descending_compare(const void *a, const void *b) {
if (*(long long *)a > *(long long *)b) {
return -1;
} else if (*(long long *)a == *(long long *)b) {
return 0;
} else {
return 1;
}
}
int ascending_compare(const void... | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int descending_compare(const void *a, const void *b) {
if (*(long long *)a > *(long long *)b) {
return -1;
} else if (*(long long *)a == *(long long *)b) {
return 0;
} else {
return 1;
}
}
int ascending_compare(const void... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,529,441 | 1,529,442 | u543284218 | cpp |
p04043 | #include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
... | #include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,443 | 1,529,444 | u783930685 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A[3], nana = 0, go = 0;
cin >> A[0] >> A[1] >> A[2];
for (int j = 0; j < 3; j++) {
if (A[j] == 7) {
nana += 1;
}
if (A[j] == 5) {
go += 1;
}
}
if (nana == 2 && go == 1) {
cout << "YES" << endl;
} else {
cout << "... | #include <iostream>
using namespace std;
int main() {
int A[3], nana = 0, go = 0;
cin >> A[0] >> A[1] >> A[2];
for (int j = 0; j < 3; j++) {
if (A[j] == 7) {
nana += 1;
}
if (A[j] == 5) {
go += 1;
}
}
if (nana == 1 && go == 2) {
cout << "YES" << endl;
} else {
cout << "... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,529,453 | 1,529,454 | u938317342 | cpp |
p04043 | #include <iostream>
#include <string>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C == 17) {
if ((A == 5 && B == 5) || (C == 5 && B == 5) || (C == 5 && A == 5)) {
cout << "Yes" << '\n';
return 0;
} else {
cout << "No" << '\n';
return 0;
}... | #include <iostream>
#include <string>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C == 17) {
if ((A == 5 && B == 5) || (C == 5 && B == 5) || (C == 5 && A == 5)) {
cout << "YES" << '\n';
return 0;
} else {
cout << "NO" << '\n';
return 0;
}... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,457 | 1,529,458 | u251017754 | cpp |
p04043 | #include <cstdio>
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a == 5 && (b == 5 && c == 7 || b == 7 && c == 5) ||
a == 7 && b == 5 && c == 5) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | #include <cstdio>
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a == 5 && (b == 5 && c == 7 || b == 7 && c == 5) ||
a == 7 && b == 5 && c == 5) {
printf("YES");
} else {
printf("NO");
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,529,461 | 1,529,462 | u350561621 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7 || a == 7 && b == 5 && c == 5 || b == 7 ||
a == 5 && c == 5) {
cout << "YES";
} else {
cout << "NO";
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7 || a == 7 && b == 5 && c == 5 ||
b == 7 && a == 5 && c == 5) {
cout << "YES";
} else {
cout << "NO";
}
} | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,529,465 | 1,529,466 | u687361044 | cpp |
p04043 | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7 || a == 5 && b == 7 && c == 5 ||
a == 7 && b == 5 || c == 5) {
std::cout << "YES" << std::endl;
} else {
... | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7 || a == 5 && b == 7 && c == 5 ||
a == 7 && b == 5 && c == 5) {
std::cout << "YES" << std::endl;
} else {
... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,529,467 | 1,529,468 | u732285858 | cpp |
p04043 | #include <algorithm>
#include <complex>
#include <iostream>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using std::cerr;
using std::cin;
using std::cout;
using std::endl;
using std::priority_queue;
using std::queue;
using std::set;
using std::stack;
using std::string;
using st... | #include <algorithm>
#include <complex>
#include <iostream>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using std::cerr;
using std::cin;
using std::cout;
using std::endl;
using std::priority_queue;
using std::queue;
using std::set;
using std::stack;
using std::string;
using st... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,469 | 1,529,470 | u643405868 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int a, b, c, cnt = 0, cnt2 = 0;
cin >> a >> b >> c;
if (a == 5) {
cnt++;
} else if (a == 7) {
cnt2++;
}
if (b == 5) {
cnt++;
} else if (b == 7) {
cnt2++;
}
if (c == 5) {
cnt++;
} else if (c == 7) {
... | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int a, b, c, cnt = 0, cnt2 = 0;
cin >> a >> b >> c;
if (a == 5) {
cnt++;
} else if (a == 7) {
cnt2++;
}
if (b == 5) {
cnt++;
} else if (b == 7) {
cnt2++;
}
if (c == 5) {
cnt++;
} else if (c == 7) {
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,480 | 1,529,481 | u582739661 | cpp |
p04043 | #include <bits/stdc++.h>
#define debug(x) cout << #x << " = " << x << endl
typedef unsigned long long ull;
typedef long long ll;
using namespace std;
const int N = 100000;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (a + b + c == 17)
cout << "Yes";
else
cout << "No";
}
| #include <bits/stdc++.h>
#define debug(x) cout << #x << " = " << x << endl
typedef unsigned long long ull;
typedef long long ll;
using namespace std;
const int N = 100000;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (a + b + c == 17)
cout << "YES";
else
cout << "NO";
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,482 | 1,529,483 | u047004228 | cpp |
p04043 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 7 && c == 5) {
cout << "Yes" << endl;
} else if (a == 5 && b == 5 && c == 7) {
cout << "Yes" << endl;
} else if (a == 7 && b == 5 && c == 5) {
cout << "Y... | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 7 && c == 5) {
cout << "YES" << endl;
} else if (a == 5 && b == 5 && c == 7) {
cout << "YES" << endl;
} else if (a == 7 && b == 5 && c == 5) {
cout << "Y... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,529,489 | 1,529,490 | u226223646 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.