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 |
|---|---|---|---|---|---|---|---|
p04043 | #include <bits/stdc++.h>
#include <cmath>
#include <math.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vl = vector<ll>;
using vvl = vector<vl>;
using vs = vector<string>;
using vvs = vector<vs>;
using vc = vector<char>;
using vvc = vector<vc>;
using vb = vector<boo... | #include <bits/stdc++.h>
#include <cmath>
#include <math.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vl = vector<ll>;
using vvl = vector<vl>;
using vs = vector<string>;
using vvs = vector<vs>;
using vc = vector<char>;
using vvc = vector<vc>;
using vb = vector<boo... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,373 | 1,527,374 | u776056110 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
string S;
cin >> A >> B >> C;
if (A + B + C == 17 && max(max(A, B), C) == 7 && min(min(A, B), C) == 5)
S = "Yes";
else
S = "No";
cout << S;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
string S;
cin >> A >> B >> C;
if (A + B + C == 17 && max(max(A, B), C) == 7 && min(min(A, B), C) == 5)
S = "YES";
else
S = "NO";
cout << S;
} | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 1,527,377 | 1,527,378 | u125669112 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int fives = 0;
int sevens = 0;
int num;
while (cin >> num) {
if (num == 5)
fives++;
if (num == 7)
sevens++;
}
cout << (fives == 2 && sevens == 1) ? "YES" : "NO";
return 0;
} | #include <iostream>
using namespace std;
int main() {
int fives = 0;
int sevens = 0;
int num;
while (cin >> num) {
if (num == 5)
fives++;
if (num == 7)
sevens++;
}
cout << (fives == 2 && sevens == 1 ? "YES" : "NO") << endl;
return 0;
} | [
"io.output.change"
] | 1,527,381 | 1,527,382 | u202690731 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C, c5 = 0, c7 = 0;
cin >> A >> B >> C;
if (A == 5) {
c5++;
}
if (A == 7) {
c7++;
}
if (B == 5) {
c5++;
}
if (B == 7) {
c7++;
}
if (C == 5) {
c5++;
}
if (C == 7) {
c7++;
}
if (c5 == 2 && c7 == 1) {
... | #include <iostream>
using namespace std;
int main() {
int A, B, C, c5 = 0, c7 = 0;
cin >> A >> B >> C;
if (A == 5) {
c5++;
}
if (A == 7) {
c7++;
}
if (B == 5) {
c5++;
}
if (B == 7) {
c7++;
}
if (C == 5) {
c5++;
}
if (C == 7) {
c7++;
}
if (c5 == 2 && c7 == 1) {
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,383 | 1,527,384 | u884776614 | 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;
}
| [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,527,388 | 1,527,389 | u795342657 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define vvec(m, n) vector<vector<int>>(int(m), vector<int>(n))
#define ALL(a) (a).begin(), (a).end()
using ll = long long;
int main() {
int a, b, c;
cin >> a >> b >> c;
bool check = false;
if (a == 5 && b == 7 && c ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define vvec(m, n) vector<vector<int>>(int(m), vector<int>(n))
#define ALL(a) (a).begin(), (a).end()
using ll = long long;
int main() {
int a, b, c;
cin >> a >> b >> c;
bool check = false;
if (a == 5 && b == 7 && c ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,390 | 1,527,391 | u842897677 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a[3], s = 0, f = 0;
for (int i = 0; i < 3; i++) {
cin >> a[i];
if (a[i] == 7) {
s++;
} else if (a[i] == 5) {
f++;
}
}
if (s == 1 && f == 2) {
cout << "yes";
} else {
cout << "no";
}
}
| #include <iostream>
using namespace std;
int main() {
int a[3], s = 0, f = 0;
for (int i = 0; i < 3; i++) {
cin >> a[i];
if (a[i] == 7) {
s++;
} else if (a[i] == 5) {
f++;
}
}
if (s == 1 && f == 2) {
cout << "YES";
} else {
cout << "NO";
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,392 | 1,527,393 | u754342046 | cpp |
p04043 | #include <algorithm>
#include <cctype>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
#define rep(i, m, n) for (int i = m; i < n; i++)
#define repr(i, n) for (int i = n; i >= 0; i--)
#define ll long long
#define ull unsigned long long
#define push(a) push_back(a)
#define pop(a... | #include <algorithm>
#include <cctype>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
#define rep(i, m, n) for (int i = m; i < n; i++)
#define repr(i, n) for (int i = n; i >= 0; i--)
#define ll long long
#define ull unsigned long long
#define push(a) push_back(a)
#define pop(a... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,394 | 1,527,395 | u159695843 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define fo(x, n) for (int i = x; i <= n; i++)
#define all(x) x.begin(), x.end()
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
const int MOD = 1e9 + 7;
void solve() {
int a, b, c;
cin >> a >> b >> c;
if (a > b)
swap(a, b);
if (b > c)
... | #include <bits/stdc++.h>
using namespace std;
#define fo(x, n) for (int i = x; i <= n; i++)
#define all(x) x.begin(), x.end()
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
const int MOD = 1e9 + 7;
void solve() {
int a, b, c;
cin >> a >> b >> c;
if (a > b)
swap(a, b);
if (b > c)
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,413 | 1,527,414 | u024616993 | cpp |
p04043 | /*
author: Salam_35
Created at :
*/
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
#define sc(n) scanf("%d", &n)
#define Max 100005
#define scan(n) scanf("%lld", &n)
#define pi acos(-1.0)
#define _fastio ... | /*
author: Salam_35
Created at :
*/
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
#define sc(n) scanf("%d", &n)
#define Max 100005
#define scan(n) scanf("%lld", &n)
#define pi acos(-1.0)
#define _fastio ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,422 | 1,527,423 | u858815602 | cpp |
p04043 | #include <bits/stdc++.h>
#define nl '\n'
#define F fisrt
#define S second
#define pb push_back
#define mp make_pair
#define REP(i, a, b) for (int i = a; i < b; i++)
#define ForeachTC \
int t; ... | #include <bits/stdc++.h>
#define nl '\n'
#define F fisrt
#define S second
#define pb push_back
#define mp make_pair
#define REP(i, a, b) for (int i = a; i < b; i++)
#define ForeachTC \
int t; ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,428 | 1,527,429 | u492806471 | 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 << "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)
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" << end... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,527,430 | 1,527,431 | u252211543 | 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 << "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)
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" << end... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,527,432 | 1,527,431 | u252211543 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 7 && b == 7 && c == 5)
cout << "YES" << endl;
else if (a == 7 && b == 5 && c == 7)
cout << "YES" << endl;
else if (a == 5 && b == 7 && c == 7)
cout << "YES" << endl;
else
cout << "NO" << end... | #include <bits/stdc++.h>
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 == 5 && c == 7)
cout << "YES" << endl;
else if (a == 5 && b == 7 && c == 5)
cout << "YES" << endl;
else
cout << "NO" << end... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,433 | 1,527,434 | u037675438 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
int main() {
string ans = "YES";
vector<int> a(3);
cin >> a.at(0) >> a.at(1) >> a.at(2);
REP(i, 3) {
if (a.at(i) != 5 && a.at(7) != 7) {
ans = "NO";
}
}
if (a... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
int main() {
string ans = "YES";
vector<int> a(3);
cin >> a.at(0) >> a.at(1) >> a.at(2);
REP(i, 3) {
if (a.at(i) != 5 && a.at(i) != 7) {
ans = "NO";
}
}
if (a... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 1,527,435 | 1,527,436 | u517348254 | 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,527,443 | 1,527,444 | u258387753 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
string a[5];
int main(void) {
cin >> a[1] >> a[2] >> a[3];
sort(a + 1, a + 5);
if (a[1] + a[3] + a[2] == "575")
cout << "YES";
else
cout << "NO";
puts("");
return 0;
} | #include <bits/stdc++.h>
using namespace std;
string a[5];
int main(void) {
cin >> a[1] >> a[2] >> a[3];
sort(a + 1, a + 4);
if (a[1] + a[2] + a[3] == "557")
cout << "YES";
else
cout << "NO";
puts("");
return 0;
} | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"literal.string.change"
] | 1,527,586 | 1,527,587 | u426964396 | cpp |
p04043 | #include <iostream>
using namespace std;
int a[1001], ans, bns;
int main() {
for (int i = 1; i <= 3; i++) {
cin >> a[i];
if (a[i] == 5)
ans++;
if (a[i] == 7)
bns++;
}
if (ans == 2 && bns == 1)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int a[1001], ans, bns;
int main() {
for (int i = 1; i <= 3; i++) {
cin >> a[i];
if (a[i] == 5)
ans++;
if (a[i] == 7)
bns++;
}
if (ans == 2 && bns == 1)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,588 | 1,527,589 | u426964396 | cpp |
p04043 | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int a[8];
a[A]++;
a[B]++;
a[C]++;
if (a[5] == 2 && a[7] == 1)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int a[8] = {};
a[A]++;
a[B]++;
a[C]++;
if (a[5] == 2 && a[7] == 1)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"variable_declaration.value.change"
] | 1,527,604 | 1,527,605 | u265341684 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ll i, j, k, l;
ll a[1000];
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3);
if (a[0] == 5 && a[1] == 7 && a[2] == 7)
cout << "YES";
else
cout << "NO";
} | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ll i, j, k, l;
ll a[1000];
cin >> 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";
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,606 | 1,527,607 | u246947544 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a + b + c == 17) && (min(a, min(b, c)) == 5)) {
if ((max(a, max(b, c)) == 7))
cout << "YES";
else
cout << "NO";
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a + b + c == 17) && (min(a, min(b, c)) == 5) && (max(a, max(b, c)) == 7))
cout << "YES";
else
cout << "NO";
}
| [
"control_flow.branch.if.condition.change"
] | 1,527,612 | 1,527,613 | u260907804 | cpp |
p04043 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 19)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
... | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
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,527,614 | 1,527,615 | u657208344 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a * b * c == 175 ? "Yes" : "No");
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a * b * c == 175 ? "YES" : "NO");
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,618 | 1,527,619 | u767995501 | 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 << "No" << end... | #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 << "NO" << end... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,638 | 1,527,639 | u917049698 | cpp |
p04043 | #include <algorithm>
#include <bitset>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
const long long mod = 1000000007;
typedef long l... | #include <algorithm>
#include <bitset>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
const long long mod = 1000000007;
typedef long l... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,640 | 1,527,641 | u702051956 | cpp |
p04043 | //{{{
#include <bits/stdc++.h>
using namespace std;
const string truename = "Yes";
const string falsename = "No";
struct IoSetup {
IoSetup() {
cin.tie(nullptr);
// ios::sync_with_stdio(false);
cout << fixed << setprecision(10);
cerr << fixed << setprecision(10);
};
} ioSetup;
//{{{ rep rrep loop
... | //{{{
#include <bits/stdc++.h>
using namespace std;
const string truename = "YES";
const string falsename = "NO";
struct IoSetup {
IoSetup() {
cin.tie(nullptr);
// ios::sync_with_stdio(false);
cout << fixed << setprecision(10);
cerr << fixed << setprecision(10);
};
} ioSetup;
//{{{ rep rrep loop
... | [
"literal.string.change",
"literal.string.case.change",
"variable_declaration.value.change"
] | 1,527,650 | 1,527,651 | u899220667 | cpp |
p04043 | #include <algorithm>
#include <bitset>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#include <map>
#include <numeric>
#in... | #include <algorithm>
#include <bitset>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#include <map>
#include <numeric>
#in... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,652 | 1,527,653 | u022688266 | 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;
}
} | #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;
}
} | [
"literal.string.change",
"io.output.change"
] | 1,527,661 | 1,527,662 | u545447142 | cpp |
p04043 | #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;
int main() {
vector<int> a(3);
for (int i = 0; i < 3; i++)
cin >> a.at(i);
int t = 0;
for (int i = 0; i < 3; i++) {
t += a.at(i) == 5 ? 1 : 0;
t += a.at(i) == 7 ? 10 : 0;
}
if (t == 12)
cout... | #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;
int main() {
vector<int> a(3);
for (int i = 0; i < 3; i++)
cin >> a.at(i);
int t = 0;
for (int i = 0; i < 3; i++) {
t += a.at(i) == 5 ? 1 : 0;
t += a.at(i) == 7 ? 10 : 0;
}
if (t == 12)
cout... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,670 | 1,527,671 | u465760322 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 17) {
if ((a == 5 || b == 5 || c == 5) && (a == 7 || 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 + b + c == 17) {
if ((a == 5 || b == 5 || c == 5) && (a == 7 || b == 7 || c == 7)) {
cout << "YES";
}
} else {
cout << "NO";
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,674 | 1,527,675 | u204785680 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 19) {
if ((a == 5 || b == 5 || c == 5) && (a == 7 || 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 + b + c == 17) {
if ((a == 5 || b == 5 || c == 5) && (a == 7 || b == 7 || c == 7)) {
cout << "YES";
}
} else {
cout << "NO";
}
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,676 | 1,527,675 | u204785680 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 19) {
if ((a == 5 || b == 5 || c == 5) && (a == 7 || 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 + b + c == 17) {
if ((a == 5 || b == 5 || c == 5) && (a == 7 || b == 7 || c == 7)) {
cout << "YES";
}
} else {
cout << "NO";
}
} | [
"literal.number.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,677 | 1,527,675 | u204785680 | 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 == 7 && B == 5 && C == 5) {
cout << "YES" << endl;
}
if (A == 5 && B == 7 && C == 5) {
cout << "YES" << endl;
} 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) {
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 ... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,527,678 | 1,527,679 | u398685345 | cpp |
p04043 | #pragma gcc optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
#define ALL(V) (V).begin(), (V).end()
#define SORT(V) sort(ALL(V)) //小さい方からソート
#define REV(V) reverse(ALL(V)) //リバース
#define RSORT(V) ... | #pragma gcc optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
#define ALL(V) (V).begin(), (V).end()
#define SORT(V) sort(ALL(V)) //小さい方からソート
#define REV(V) reverse(ALL(V)) //リバース
#define RSORT(V) ... | [
"call.arguments.change"
] | 1,527,691 | 1,527,692 | u154645927 | cpp |
p04043 | #include <bits/stdc++.h>
#include <random>
#include <unistd.h>
using namespace std;
typedef long long int LL;
typedef long long int LLint;
typedef pair<int, int> intpair;
typedef pair<bool, bool> boolpair;
typedef pair<string, string> strpair;
typedef pair<LL, LL> LLpair;
typedef pair<double, double> doublepair;
typed... | #include <bits/stdc++.h>
#include <random>
#include <unistd.h>
using namespace std;
typedef long long int LL;
typedef long long int LLint;
typedef pair<int, int> intpair;
typedef pair<bool, bool> boolpair;
typedef pair<string, string> strpair;
typedef pair<LL, LL> LLpair;
typedef pair<double, double> doublepair;
typed... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,527,698 | 1,527,699 | u550995059 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
// your code goes here
int a, b, c;
cin >> a >> b >> c;
if ((a == b && a == 5) && c == 7) {
cout << "Yes" << endl;
} else if ((a == c && a == 5) && b == 7) {
cout << "Yes" << endl;
} else if ((b == c && b == 5) && a == 7) {
cout << "Yes" ... | #include <iostream>
using namespace std;
int main() {
// your code goes here
int a, b, c;
cin >> a >> b >> c;
if ((a == b && a == 5) && c == 7) {
cout << "YES" << endl;
} else if ((a == c && a == 5) && b == 7) {
cout << "YES" << endl;
} else if ((b == c && b == 5) && a == 7) {
cout << "YES" ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,708 | 1,527,709 | u261827550 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a;
int f, s;
f = s = 0;
cin >> a;
if (a == 5)
f++;
else if (a == 7)
s++;
else {
cout << "NO" << endl;
return 0;
}
cin >> a;
if (a == 5)
f++;
else if (a == 7)
s++;
else {
cout << "NO" << endl;
return 0;
}... | #include <iostream>
using namespace std;
int main() {
int a;
int f, s;
f = s = 0;
cin >> a;
if (a == 5)
f++;
else if (a == 7)
s++;
else {
cout << "NO" << endl;
return 0;
}
cin >> a;
if (a == 5)
f++;
else if (a == 7)
s++;
else {
cout << "NO" << endl;
return 0;
}... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,720 | 1,527,721 | u993074316 | cpp |
p04043 | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ll t = 0;
ll x = 0;
for (int i = 0; i < 2; i++) {
int temp;
cin >> temp;
if (temp == 5) {
t++;
} else if (temp == 7) {
x++;
}
}
if (t == 2 && x == 1) {
cout << "YES";
} else
cout << "NO";... | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ll t = 0;
ll x = 0;
for (int i = 0; i < 3; i++) {
int temp;
cin >> temp;
if (temp == 5) {
t++;
} else if (temp == 7) {
x++;
}
}
if (t == 2 && x == 1) {
cout << "YES";
} else
cout << "NO";... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,527,722 | 1,527,723 | u779640724 | cpp |
p04043 | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <iostream>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
typedef long long ll;
#define F first
#define S second
#define PB push_back
#define MP make_pair
usin... | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <iostream>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
typedef long long ll;
#define F first
#define S second
#define PB push_back
#define MP make_pair
usin... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,732 | 1,527,733 | u296132047 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, m, n) for (int i = (m); i < (int)(n); i++)
#define REPS(i, m, n) for (int i = (m); i <= (int)(n); i++)
#define rep(i, n) REP(i, 0, n)
#define reps(i, n) for (int i = 0; i <= (int)(n); i++)
#define rrep(i, x) for (int i = ((int)(x)-1); i >= 0; i--)
#define rr... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, m, n) for (int i = (m); i < (int)(n); i++)
#define REPS(i, m, n) for (int i = (m); i <= (int)(n); i++)
#define rep(i, n) REP(i, 0, n)
#define reps(i, n) for (int i = 0; i <= (int)(n); i++)
#define rrep(i, x) for (int i = ((int)(x)-1); i >= 0; i--)
#define rr... | [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,527,734 | 1,527,735 | u502389123 | cpp |
p04043 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define FOR(i, start, end) for (int i = start; i <= end; i++)
const int INF = 1001001001;
using namespace std;
typedef long long ll;
int main() {
int A, B, C;
cin >> A >> B >> C;
int five = 0;
int seven = 0;
if (A == 7)
seven++;
if... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define FOR(i, start, end) for (int i = start; i <= end; i++)
const int INF = 1001001001;
using namespace std;
typedef long long ll;
int main() {
int A, B, C;
cin >> A >> B >> C;
int five = 0;
int seven = 0;
if (A == 7)
seven++;
if... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,736 | 1,527,737 | u411427373 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int occa = 0, occb = 0;
if (a == 5)
occa++;
if (b == 5)
occa++;
if (c == 5)
occa++;
if (a == 7)
occb++;
if (b == 7)
occb++;
if (c == 7)
occb++;
if (occa == 2 && occb == 7)
cout <... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int occa = 0, occb = 0;
if (a == 5)
occa++;
if (b == 5)
occa++;
if (c == 5)
occa++;
if (a == 7)
occb++;
if (b == 7)
occb++;
if (c == 7)
occb++;
if (occa == 2 && occb == 1)
cout <... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,455 | 1,527,456 | u223999596 | cpp |
p04043 | //----AUTHOR:kkdrummer----/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/rope>
using namespace __gnu_cxx;
using namespace __gnu_pbds;
using namespace std;
typedef long long ll;
typedef long double ld;
typedef complex<ld> P;
#define X real()
#define Y imag()
ld restant(P p) { return ab... | //----AUTHOR:kkdrummer----/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/rope>
using namespace __gnu_cxx;
using namespace __gnu_pbds;
using namespace std;
typedef long long ll;
typedef long double ld;
typedef complex<ld> P;
#define X real()
#define Y imag()
ld restant(P p) { return ab... | [
"variable_declaration.value.change"
] | 1,527,473 | 1,527,474 | u452240501 | cpp |
p04043 | //----AUTHOR:kkdrummer----/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/rope>
using namespace __gnu_cxx;
using namespace __gnu_pbds;
using namespace std;
typedef long long ll;
typedef long double ld;
typedef complex<ld> P;
#define X real()
#define Y imag()
ld restant(P p) { return ab... | //----AUTHOR:kkdrummer----/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/rope>
using namespace __gnu_cxx;
using namespace __gnu_pbds;
using namespace std;
typedef long long ll;
typedef long double ld;
typedef complex<ld> P;
#define X real()
#define Y imag()
ld restant(P p) { return ab... | [
"variable_declaration.value.change",
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,475 | 1,527,474 | u452240501 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define sz(x) (int)x.size()
#define end "\n"
#define all(x) (x).begin(), (x).end()
#define Red \
ios_base::sync_with_stdio(0); ... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define sz(x) (int)x.size()
#define end "\n"
#define all(x) (x).begin(), (x).end()
#define Red \
ios_base::sync_with_stdio(0); ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,476 | 1,527,477 | u002627851 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int sum = 17;
int mul = 175;
int sum1 = 0;
int mul1 = 1;
int a = 0;
for (int i = 0; i < 3; i++) {
cin >> a;
sum1 = sum1 + a;
mul1 = mul1 * a;
}
if (sum == sum1 && mul == mul1) {
cout << "yes";
} else {
cout << "no";
}
return... | #include <iostream>
using namespace std;
int main() {
int sum = 17;
int mul = 175;
int sum1 = 0;
int mul1 = 1;
int a = 0;
for (int i = 0; i < 3; i++) {
cin >> a;
sum1 = sum1 + a;
mul1 = mul1 * a;
}
if (sum == sum1 && mul == mul1) {
cout << "YES";
} else {
cout << "NO";
}
return... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,484 | 1,527,485 | u668395681 | cpp |
p04043 | #include <algorithm>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
long long mod = 998244353;
vector<long long> fact(1000001);
vector<long long> invFact(1000001);
long long binpow(long... | #include <algorithm>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
long long mod = 998244353;
vector<long long> fact(1000001);
vector<long long> invFact(1000001);
long long binpow(long... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,492 | 1,527,493 | u800277548 | cpp |
p04043 | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> g;
g.assign(3, 0);
int f = 0, s = 0;
for (int i = 0; i < 3; i++) {
cin >> g[i];
if (g[i] == 5)
f++;
else if (g[i] == 7)
s++;
}
if (s == 1 && f == 2)
cout << "Yes\n";
else
cout << "No\n";
r... | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> g;
g.assign(3, 0);
int f = 0, s = 0;
for (int i = 0; i < 3; i++) {
cin >> g[i];
if (g[i] == 5)
f++;
else if (g[i] == 7)
s++;
}
if (s == 1 && f == 2)
cout << "YES\n";
else
cout << "NO\n";
r... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,494 | 1,527,495 | u051742019 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
int count[10] = {};
for (int i = 0; i < 3; i++) {
int x;
cin >> x;
count[x - 1]++;
}
cout << ((count[4] == 2 && count[6] == 1) ? "Yes" : "No") << endl;
} | #include <iostream>
using namespace std;
int main(void) {
int count[10] = {};
for (int i = 0; i < 3; i++) {
int x;
cin >> x;
count[x - 1]++;
}
cout << ((count[4] == 2 && count[6] == 1) ? "YES" : "NO") << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,498 | 1,527,499 | u867320886 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 7 && b == 7 && c == 5 || a == 7 && b == 5 && c == 7 ||
a == 5 && b == 7 && c == 7) {
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 == 7 && b == 5 && c == 5 || a == 5 && b == 5 && c == 7 ||
a == 5 && b == 7 && c == 5) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,500 | 1,527,501 | u966045029 | cpp |
p04043 | #include <iostream>
//#include <bits/stdc++.h>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <queue>
#include <vector>
#define loop(i, a, b) for (int i = a; i < b; i++)
#define pb(x) push_back(x)
#define F first
#define S second
using namespace std;
int main() {
ios_base::sync_with_stdio(false);... | #include <iostream>
//#include <bits/stdc++.h>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <queue>
#include <vector>
#define loop(i, a, b) for (int i = a; i < b; i++)
#define pb(x) push_back(x)
#define F first
#define S second
using namespace std;
int main() {
ios_base::sync_with_stdio(false);... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,527,515 | 1,527,516 | u717792745 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
ll a = 0, b = 0, c;
cin >> c;
if (c == 5)
a++;
else if (c == 7)
b++;
cin >> c;
if (c == 5)
a++;
else if (c == 7)
b++;
cin >> c;
if (c == 5)... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
ll a = 0, b = 0, c;
cin >> c;
if (c == 5)
a++;
else if (c == 7)
b++;
cin >> c;
if (c == 5)
a++;
else if (c == 7)
b++;
cin >> c;
if (c == 5)... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,517 | 1,527,518 | u439428846 | cpp |
p04043 | #include <algorithm>
#include <cassert>
#include <functional>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <numeric>
#include <stdlib.h>
#include <string>
#include <vector>
typedef long long int ll;
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 7 && B == C == 5)... | #include <algorithm>
#include <cassert>
#include <functional>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <numeric>
#include <stdlib.h>
#include <string>
#include <vector>
typedef long long int ll;
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 7 && B == 5 && C ... | [
"control_flow.branch.if.condition.change"
] | 1,527,523 | 1,527,524 | u149526875 | 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,527,530 | 1,527,531 | u042388355 | cpp |
p04043 | #include <bits/stdc++.h>
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;
}
} | #include <bits/stdc++.h>
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;
}
} | [
"control_flow.branch.if.condition.change"
] | 1,527,532 | 1,527,533 | u403706129 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> A(3);
cin >> A.at(0) >> A.at(1) >> A.at(2);
sort(A.begin(), A.end());
if (A[0] == 5 && A[1] == 5 && A[2] == 7) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> A(3);
cin >> A.at(0) >> A.at(1) >> A.at(2);
sort(A.begin(), A.end());
if (A[0] == 5 && A[1] == 5 && A[2] == 7) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,540 | 1,527,541 | u823855263 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<string> ABC(3);
for (int i = 0; i < 3; i++) {
cin >> ABC.at(i);
}
int f = 0;
int s = 0;
for (int i = 0; i < 3; i++) {
if (ABC.size() == 5) {
f++;
} else if (ABC.size() == 7) {
s++;
}
}
if ((f == 2) && (s == 1)... | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> ABC(3);
for (int i = 0; i < 3; i++) {
cin >> ABC.at(i);
}
int f = 0;
int s = 0;
for (int i = 0; i < 3; i++) {
if (ABC.at(i) == 5) {
f++;
} else if (ABC.at(i) == 7) {
s++;
}
}
if ((f == 2) && (s == 1)) {
... | [
"call.function.change",
"control_flow.branch.if.condition.change"
] | 1,527,546 | 1,527,547 | u584185861 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a;
int b;
int c;
cin >> a >> b >> c;
if (a + b + c == 17) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a;
int b;
int c;
cin >> a >> b >> c;
if (a + b + c == 17) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,548 | 1,527,549 | u265525840 | cpp |
p04043 | #include "iostream"
using namespace std;
int main() {
int a[2] = {0, 0};
for (int i = 0; i < 3; ++i) {
int x;
cin >> x;
if (x == 7)
++a[0];
if (x == 5)
++a[1];
}
(a[0] == 2 and a[1] == 1) ? puts("YES") : puts("NO");
} | #include "iostream"
using namespace std;
int main() {
int a[2] = {0, 0};
for (int i = 0; i < 3; ++i) {
int x;
cin >> x;
if (x == 7)
++a[0];
if (x == 5)
++a[1];
}
(a[1] == 2 and a[0] == 1) ? puts("YES") : puts("NO");
} | [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,527,562 | 1,527,563 | u047649480 | cpp |
p04043 | #include <bits/stdc++.h>
#include <cstdio>
using namespace std;
typedef long long int ll;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;... | #include <bits/stdc++.h>
#include <cstdio>
using namespace std;
typedef long long int ll;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,527,572 | 1,527,573 | u685922019 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool flag = false;
if (A == 7) {
if (B == 5 && C == 5) {
flag = true;
}
}
if (B == 7) {
if (A == 5 && C == 5) {
flag = true;
}
}
if (C == 7) {
if (A == 5 && B == 5) {
flag ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool flag = false;
if (A == 7) {
if (B == 5 && C == 5) {
flag = true;
}
}
if (B == 7) {
if (A == 5 && C == 5) {
flag = true;
}
}
if (C == 7) {
if (A == 5 && B == 5) {
flag ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,752 | 1,527,753 | u932291797 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool flag = false;
if (A == 7) {
if (B == 5 && C == 5) {
flag = true;
}
}
if (B == 7) {
if (A == 5 && C == 5) {
flag = true;
}
}
if (C == 7) {
if (A == 5 && B == 5) {
flag ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool flag = false;
if (A == 7) {
if (B == 5 && C == 5) {
flag = true;
}
}
if (B == 7) {
if (A == 5 && C == 5) {
flag = true;
}
}
if (C == 7) {
if (A == 5 && B == 5) {
flag ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,754 | 1,527,753 | u932291797 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
scanf("%d %d %d", &A, &B, &C);
if (A + B + C == 17) {
printf("Yes");
} else {
printf("No");
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
scanf("%d %d %d", &A, &B, &C);
if (A + B + C == 17) {
printf("YES");
} else {
printf("NO");
}
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,527,755 | 1,527,756 | u166419774 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a = 7, b = 5, c = 5;
cin >> a >> b >> c;
if (a + b + c == 17)
cout << "yes";
else
cout << "no";
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a = 7, b = 5, c = 5;
cin >> a >> b >> c;
if (a + b + c == 17)
cout << "YES";
else
cout << "NO";
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,759 | 1,527,760 | u693330985 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C == 22 && 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.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,763 | 1,527,764 | u298272335 | cpp |
p04043 | // include
//------------------------------------------
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#... | // include
//------------------------------------------
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,765 | 1,527,766 | u008408098 | 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 << "no" << en... | #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 << "NO" << en... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,767 | 1,527,768 | u616651458 | cpp |
p04043 | #include <bits/stdc++.h>
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 <bits/stdc++.h>
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,527,775 | 1,527,776 | u896726004 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C != 17) {
cout << "No" << endl;
} else if ((A == 5 || A == 7) && (B == 5 || B == 7) && (C == 5 || C == 7)) {
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) {
cout << "NO" << endl;
} else if ((A == 5 || A == 7) && (B == 5 || B == 7) && (C == 5 || C == 7)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,797 | 1,527,798 | u642683143 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
using lint = long;
using ll = long long;
#define rep(i, n) for (lint(i) = 0; (i) < (lint)(n); (i)++)
#define repInRange(i, start, end) for (lint(i) = (start); (i) < (end); ++(i))
using lpair = pair<lint, lint>;
using llv = vector<long long>;
using lv = vector<lint>;
using L... | #include <bits/stdc++.h>
using namespace std;
using lint = long;
using ll = long long;
#define rep(i, n) for (lint(i) = 0; (i) < (lint)(n); (i)++)
#define repInRange(i, start, end) for (lint(i) = (start); (i) < (end); ++(i))
using lpair = pair<lint, lint>;
using llv = vector<long long>;
using lv = vector<lint>;
using L... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,812 | 1,527,813 | u538351278 | cpp |
p04043 | #include <bits/stdc++.h>
#define ll long long int
#define MOD 1000000007
#define INF 1e18
#define PI 3.14159265358979
using namespace std;
int main(void) {
int d[10] = {};
ll a, b, c;
cin >> a >> b >> c;
d[a]++;
d[b]++;
d[c]++;
if (d[5] == 2 && d[7] == 1)
cout << "Yes" << endl;
else
cout << "... | #include <bits/stdc++.h>
#define ll long long int
#define MOD 1000000007
#define INF 1e18
#define PI 3.14159265358979
using namespace std;
int main(void) {
int d[10] = {};
ll a, b, c;
cin >> a >> b >> c;
d[a]++;
d[b]++;
d[c]++;
if (d[5] == 2 && d[7] == 1)
cout << "YES" << endl;
else
cout << "... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,820 | 1,527,821 | u755121033 | cpp |
p04043 | #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) ||
(c == 5 && b == 5 && a == 7))
cout << "yes";
else
cout << "no";
return 0;
}
| #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) ||
(c == 5 && b == 5 && a == 7))
cout << "YES";
else
cout << "NO";
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,832 | 1,527,833 | u195002648 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> A(3);
cin >> A[0] >> A[1] >> A[2];
sort(A.begin(), A.end());
if (A[0] == 5 && A[1] == 7 && A[2] == 7) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> A(3);
cin >> A[0] >> A[1] >> A[2];
sort(A.begin(), A.end());
if (A[0] == 5 && A[1] == 5 && A[2] == 7) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,838 | 1,527,839 | u083494782 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> S(3);
cin >> S.at(0) >> S.at(1) >> S.at(2);
int go, sichi;
for (int s : S) {
if (s == 5)
go++;
if (s == 7)
sichi++;
}
if (go == 2 && sichi == 1)
cout << "YES";
else
cout << "NO";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> S(3);
cin >> S.at(0) >> S.at(1) >> S.at(2);
int go = 0;
int sichi = 0;
for (int s : S) {
if (s == 5)
go++;
if (s == 7)
sichi++;
}
if (go == 2 && sichi == 1)
cout << "YES";
else
cout << "NO";
} | [
"variable_declaration.add"
] | 1,527,844 | 1,527,845 | u548601871 | cpp |
p04043 | #include <iostream>
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";
} else
cout << "no";
return 0;
}
| #include <iostream>
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";
} else
cout << "NO";
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,846 | 1,527,847 | u590067912 | 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 == 7 && B == 5 && C == 5) {
cout << " Yes " << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << " Yes " << endl;
} else {
cou... | #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 == 7 && B == 5 && C == 5) {
cout << " YES " << endl;
} else if (A == 5 && B == 7 && C == 5) {
cout << " YES " << endl;
} else {
cou... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,858 | 1,527,859 | u932407959 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int x, y, z;
cin >> x >> y >> z;
if ((x == 5 && y == 7 && z == 5) || (x == 7 && y == 5 && z == 5) ||
(x == 5 && y == 5 && z == 7))
cout << "Yes";
else
cout << "No";
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, y, z;
cin >> x >> y >> z;
if ((x == 5 && y == 7 && z == 5) || (x == 7 && y == 5 && z == 5) ||
(x == 5 && y == 5 && z == 7))
cout << "YES";
else
cout << "NO";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,860 | 1,527,861 | u765682288 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a = (cin >> (a), a), b = (cin >> (b), b), c = (cin >> (b), b);
if ((a == 5 && b == 7 && c == 5) || (a == 7 && b == 5 && c == 5) ||
(a == 5 && b == 5 && c == 7)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
// system("pause... | #include <iostream>
using namespace std;
int main() {
int a = (cin >> (a), a), b = (cin >> (b), b), c = (cin >> (c), c);
if ((a == 5 && b == 7 && c == 5) || (a == 7 && b == 5 && c == 5) ||
(a == 5 && b == 5 && c == 7)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
// system("pause... | [
"identifier.change",
"expression.operation.binary.change"
] | 1,527,862 | 1,527,863 | u285279765 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
// #ifndef ONLINE_JUDGE
// freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
// #endif
int a, b, c;
cin >> a >> b >> c;
vector<int> v;
v.push_back(a);
... | #include <bits/stdc++.h>
using namespace std;
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
// #ifndef ONLINE_JUDGE
// freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
// #endif
int a, b, c;
cin >> a >> b >> c;
vector<int> v;
v.push_back(a);
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,870 | 1,527,871 | u055578584 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
char 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" << ... | #include <bits/stdc++.h>
using namespace std;
int main() {
char 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" << ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,872 | 1,527,873 | u578871832 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using V = vector<ll>;
#define _GLIBCXX_DEBUG
#define rep(i, a, b) for (int i = a; i < b; i++)
#define ALL(v) v.begin(), v.end()
int main() {
int a, b, c;
cin >> a >> b >> c;
int f = 0;
if (a == 5) {
if ((b == 7 && c == 5) || (b == 5 && c =... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using V = vector<ll>;
#define _GLIBCXX_DEBUG
#define rep(i, a, b) for (int i = a; i < b; i++)
#define ALL(v) v.begin(), v.end()
int main() {
int a, b, c;
cin >> a >> b >> c;
int f = 0;
if (a == 5) {
if ((b == 7 && c == 5) || (b == 5 && c =... | [
"control_flow.branch.if.condition.change",
"expression.operation.unary.add"
] | 1,527,876 | 1,527,877 | u863717702 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> hai(3);
cin >> hai.at(0) >> hai.at(1) >> hai.at(2);
sort(hai.begin(), hai.end());
if (hai.at(0) == 5 && hai.at(1) == 5 && hai.at(2) == 7) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> hai(3);
cin >> hai.at(0) >> hai.at(1) >> hai.at(2);
sort(hai.begin(), hai.end());
if (hai.at(0) == 5 && hai.at(1) == 5 && hai.at(2) == 7) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,878 | 1,527,879 | u602102589 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int c5 = 0, c7 = 0;
int a;
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5) {
c5++;
} else if (a == 7) {
c7++;
}
}
if (c5 == 2 && c7 == 1) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int c5 = 0, c7 = 0;
int a;
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5) {
c5++;
} else if (a == 7) {
c7++;
}
}
if (c5 == 2 && c7 == 1) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,884 | 1,527,885 | u647576112 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
using namespace std;
typedef long long ll;
ll a, b, c, i, j, k, n, m, t, r, s, p;
ll arr[100005];
int main() {
scanf("%lld%lld%lld", &a, &b, &c);
i = 0;
j = 0;
if (a == 5)
i++;
if (a == 7)
... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
using namespace std;
typedef long long ll;
ll a, b, c, i, j, k, n, m, t, r, s, p;
ll arr[100005];
int main() {
scanf("%lld%lld%lld", &a, &b, &c);
i = 0;
j = 0;
if (a == 5)
i++;
if (a == 7)
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove"
] | 1,527,892 | 1,527,893 | u748042489 | 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 && A * B + A * C + B * C == 95) {
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 && A * B + A * C + B * C == 95) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,894 | 1,527,895 | u625745764 | cpp |
p04043 | #include <bits/stdc++.h>
#define ll long long
#define mod 1000000007
using namespace std;
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;
} | #include <bits/stdc++.h>
#define ll long long
#define mod 1000000007
using namespace std;
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;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,917 | 1,527,918 | u902428263 | cpp |
p04043 | #include <bits/stdc++.h>
#define ll long long
#define mod 1000000007
using namespace std;
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>
#define ll long long
#define mod 1000000007
using namespace std;
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;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,919 | 1,527,918 | u902428263 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool answer = false;
if (A == 5 && B == 7) {
if (C == 7) {
answer = true;
}
}
if (A == 7 && B == 5) {
if (C == 7) {
answer = true;
}
}
if (A == 7 && B == 7) {
if (C == 5) {
a... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool answer = false;
if (A == 5 && B == 7) {
if (C == 5) {
answer = true;
}
}
if (A == 5 && B == 5) {
if (C == 7) {
answer = true;
}
}
if (A == 7 && B == 5) {
if (C == 5) {
a... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,925 | 1,527,926 | u016439571 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 19) {
if (a == 5 && b == 5)
cout << "YES" << endl;
else if (a == 5 && c == 5)
cout << "YES" << endl;
else if (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 + b + c == 17) {
if (a == 5 && b == 5)
cout << "YES" << endl;
else if (a == 5 && c == 5)
cout << "YES" << endl;
else if (b == 5 && c == 5)
cout << "YES" << endl;
else
cout << "... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,938 | 1,527,939 | u613960672 | cpp |
p04043 | #include <bits/stdc++.h>
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 <bits/stdc++.h>
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,527,940 | 1,527,941 | u613960672 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a * b * c == 285)
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 == 175)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,942 | 1,527,941 | u613960672 | cpp |
p04043 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a;
int seven, five;
seven = five = 0;
for (int i = 0; i < 3; ++i) {
cin >> a;
if (a == 7)
++seven;
if (a == 5)
++five;
}
if (seven == 1 && five == 2)
cout << "YES\n";
else
"NO\n";
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a;
int seven, five;
seven = five = 0;
for (int i = 0; i < 3; ++i) {
cin >> a;
if (a == 7)
++seven;
if (a == 5)
++five;
}
if (seven == 1 && five == 2)
cout << "YES\n";
else
cout << "NO\n";
}
| [
"io.output.change"
] | 1,527,954 | 1,527,955 | u067931293 | cpp |
p04043 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a;
int seven, five;
seven = five = 0;
for (int i = 0; i < 3; ++i) {
cin >> a;
if (a == 7)
++seven;
if (a == 5)
++five;
}
if (seven == 1 && five == 2)
cout << "Yes\n";
else
"No\n";
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a;
int seven, five;
seven = five = 0;
for (int i = 0; i < 3; ++i) {
cin >> a;
if (a == 7)
++seven;
if (a == 5)
++five;
}
if (seven == 1 && five == 2)
cout << "YES\n";
else
cout << "NO\n";
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,956 | 1,527,955 | u067931293 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
int i, j;
int a, b, c;
i = 0;
j = 0;
cin >> a >> b >> c;
if (a == 5)
i++;
if (a == 7)
j++;
if (b == 5)
i++;
if (b == 7)
j++;
if (c == 5)
i++;
if (c == 7)
j++;
if (i == 2 && j == 1) {
cout << "Yes" << endl;... | #include <iostream>
using namespace std;
int main(void) {
int i, j;
int a, b, c;
i = 0;
j = 0;
cin >> a >> b >> c;
if (a == 5)
i++;
if (a == 7)
j++;
if (b == 5)
i++;
if (b == 7)
j++;
if (c == 5)
i++;
if (c == 7)
j++;
if (i == 2 && j == 1) {
cout << "YES" << endl;... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,965 | 1,527,966 | u198469037 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> N(3);
int count_5 = 0, count_7 = 0;
for (int i = 0; i < 3; i++) {
cin >> N.at(i);
if (N.at(i) == 5)
count_5++;
else if (N.at(i) == 7)
count_7++;
}
if (count_5 == 2 && count_7 == 1)
cout << "Yes" << endl;
els... | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> N(3);
int count_5 = 0, count_7 = 0;
for (int i = 0; i < 3; i++) {
cin >> N.at(i);
if (N.at(i) == 5)
count_5++;
else if (N.at(i) == 7)
count_7++;
}
if (count_5 == 2 && count_7 == 1)
cout << "YES" << endl;
els... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,974 | 1,527,975 | u949378311 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
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] == 5)
cout << "YES\n";
else
cout << "NO\n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
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\n";
else
cout << "NO\n";
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,979 | 1,527,980 | u511396017 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
#define rep(i, n) for (long long i = 0; (i) < (n); (i)++)
using namespace std;
using ll = long long;
const ll mod = 1000000007;
int main() {
ll a[3];
ci... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
#define rep(i, n) for (long long i = 0; (i) < (n); (i)++)
using namespace std;
using ll = long long;
const ll mod = 1000000007;
int main() {
ll a[3];
ci... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,985 | 1,527,986 | u378155378 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> vec(3);
for (int i = 0; i < 3; i++)
cin >> vec.at(i);
sort(vec.begin(), vec.end());
if ((5 - vec.at(0)) * (5 - vec.at(1)) * (7 - vec.at(2)) == 0)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> vec(3);
for (int i = 0; i < 3; i++)
cin >> vec.at(i);
sort(vec.begin(), vec.end());
if (abs(5 - vec.at(0)) + abs(5 - vec.at(1)) + abs(7 - vec.at(2)) == 0)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"call.add",
"control_flow.branch.if.condition.change",
"expression.operator.arithmetic.change"
] | 1,527,997 | 1,527,998 | u972702156 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
vector<int> vec = {a, b, c};
sort(vec.begin(), vec.end());
if (vec[0] == 5 && vec[1] == 5 && vec[2] == 7)
cout << "Yes";
else
cout << "No... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
vector<int> vec = {a, b, c};
sort(vec.begin(), vec.end());
if (vec[0] == 5 && vec[1] == 5 && vec[2] == 7)
cout << "YES";
else
cout << "NO... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,001 | 1,528,002 | u613765770 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> w(3);
for (int i = 0; i < 3; i++) {
cin >> w.at(i);
}
sort(w.begin(), w.end());
if (w.at(0) == 5 && w.at(1) == 7 && w.at(2) == 7)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> w(3);
for (int i = 0; i < 3; i++) {
cin >> w.at(i);
}
sort(w.begin(), w.end());
if (w.at(0) == 5 && w.at(1) == 5 && w.at(2) == 7)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,009 | 1,528,010 | u389506115 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.