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>
#define ll long long int
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int A, B, C;
cin >> A >> B >> C;
int a[] = {A, B, C};
sort(a, a + 3);
if (a[0] == 5) {
if (a[1] == 5) {
if (a[2] == 5) {
cout << "YES" << endl;
... | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int A, B, C;
cin >> A >> B >> C;
int a[] = {A, B, C};
sort(a, a + 3);
if (a[0] == 5) {
if (a[1] == 5) {
if (a[2] == 7) {
cout << "YES" << endl;
... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,020 | 1,528,021 | u301923219 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> a(3);
for (int i = 0; i < 3; i++) {
cin >> a[i];
}
sort(a.begin(), a.end());
int ans[3] = {5, 7, 5};
for (int i = 0; i < 3; i++) {
if (a[i] != ans[i]) {
cout << "NO" << endl;
return 0;
}
}
cout << "YES" <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> a(3);
for (int i = 0; i < 3; i++) {
cin >> a[i];
}
sort(a.begin(), a.end());
int ans[] = {5, 5, 7};
for (int i = 0; i < 3; i++) {
if (a[i] != ans[i]) {
cout << "NO" << endl;
return 0;
}
}
cout << "YES" << e... | [] | 1,528,022 | 1,528,023 | u224843402 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define p_q priority_queue
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define str string
#define s_vec(data, name, vertical, horizontal) \
vector<vector<(data)>>(name)((vertical), vector<(data)>((horizontal)))... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define p_q priority_queue
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define str string
#define s_vec(data, name, vertical, horizontal) \
vector<vector<(data)>>(name)((vertical), vector<(data)>((horizontal)))... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,049 | 1,528,050 | u830237447 | cpp |
p04043 | #include <algorithm>
#include <iostream>
#include <vector>
#define DEBUG1 true
#define DEBUG2 true
int main() {
std::vector<int> T;
T.push_back(5);
T.push_back(7);
T.push_back(5);
int i = 3;
std::vector<int> S;
while (i--) {
int X;
std::cin >> X;
S.push_back(X);
}
#if DEBUG1
std::cout <... | #include <algorithm>
#include <iostream>
#include <vector>
#define DEBUG1 false
#define DEBUG2 false
int main() {
std::vector<int> T;
T.push_back(5);
T.push_back(7);
T.push_back(5);
int i = 3;
std::vector<int> S;
while (i--) {
int X;
std::cin >> X;
S.push_back(X);
}
#if DEBUG1
std::cout... | [
"misc.opposites",
"preprocessor.define.value.change"
] | 1,528,068 | 1,528,069 | u029341927 | cpp |
p04043 | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define Len 10001
int main() {
int a, b, c;
int cnt = 0;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
if (a == 5) {
cnt++;
} else if (a == 7) {
} else {
printf("NO\n");
return 0;
}
if (b == 5) {
... | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define Len 10001
int main() {
int a, b, c;
int cnt = 0;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
if (a == 5) {
cnt++;
} else if (a == 7) {
} else {
printf("NO\n");
return 0;
}
if (b == 5) {
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 1,528,076 | 1,528,077 | u045114088 | cpp |
p04043 | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define Len 10001
int main() {
int a, b, c;
int cnt = 0;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
if (a == 5) {
cnt++;
} else if (a == 7) {
} else {
printf("NO\n");
return 0;
}
if (b == 5) {
... | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define Len 10001
int main() {
int a, b, c;
int cnt = 0;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
if (a == 5) {
cnt++;
} else if (a == 7) {
} else {
printf("NO\n");
return 0;
}
if (b == 5) {
... | [
"identifier.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 1,528,078 | 1,528,077 | u045114088 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << (((A + B + C == 19) && (max({A, B, C}) == 7) && (min({A, B, C}) == 5))
? "YES"
: "NO")
<< endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << (((A + B + C == 17) && (max({A, B, C}) == 7) && (min({A, B, C}) == 5))
? "YES"
: "NO")
<< endl;
}
| [
"literal.number.change",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 1,528,079 | 1,528,080 | u163149221 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << (((A + B + C == 19) && max({A, B, C}) == 7 && min({A, B, C}) == 5)
? "YES"
: "NO")
<< endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << (((A + B + C == 17) && (max({A, B, C}) == 7) && (min({A, B, C}) == 5))
? "YES"
: "NO")
<< endl;
}
| [
"literal.number.change",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 1,528,081 | 1,528,080 | u163149221 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a;
int b;
int c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7) {
cout << "Yes ";
} else if (a == 5 && b == 7 && c == 5) {
cout << "Yes";
} else if (a == 7 && b == 5 && c == 5) {
cout << "yes";
} else {
cout << "No";
}
... | #include <iostream>
using namespace std;
int main() {
int a;
int b;
int c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7) {
cout << "YES ";
} else if (a == 5 && b == 7 && c == 5) {
cout << "YES";
} else if (a == 7 && b == 5 && c == 5) {
cout << "YES";
} else {
cout << "NO";
}
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,090 | 1,528,089 | u618893141 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <queue>
#include <stack>
#include <vector>
using namespace std;
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a + b + c == 17 && a * b * c == 175)
printf("YES\n");
else
... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <queue>
#include <stack>
#include <vector>
using namespace std;
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a + b + c == 17 && a * b * c == 175)
printf("YES\n");
else
... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,528,100 | 1,528,101 | u875872004 | cpp |
p04043 | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<bool> vb;
typedef vector<string> vs;
typedef vector<ll> vl;
typedef vector<vector<int, int>> vvi;
#define pb push_back
#define mp make_pair
#define f first
#defin... | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<bool> vb;
typedef vector<string> vs;
typedef vector<ll> vl;
typedef vector<vector<int, int>> vvi;
#define pb push_back
#define mp make_pair
#define f first
#defin... | [
"control_flow.branch.if.condition.change"
] | 1,528,102 | 1,528,103 | u583511881 | 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) + abs(b - c) + abs(c - a) == 4 &&
(a - b) * (b - c) * (c - a) == 0)
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) + abs(b - c) + abs(c - a) == 4 &&
(a - b) * (b - c) * (c - a) == 0)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,109 | 1,528,110 | u280114218 | cpp |
p04043 | #include <bits/stdc++.h>
#define ALL(v) v.begin(), v.end()
#define RALL(a) (a).rbegin(), (a).rend()
#define SORT(c) sort((c).begin(), (c).end())
#define dbug(x) cout << #x << "=" << x << endl
#define rep(i, n) for (int i = 0; i < n; i++)
#define repr(i, n) for (int i = n; i >= 0; i--)
#define reps(i, m, n) for (int i =... | #include <bits/stdc++.h>
#define ALL(v) v.begin(), v.end()
#define RALL(a) (a).rbegin(), (a).rend()
#define SORT(c) sort((c).begin(), (c).end())
#define dbug(x) cout << #x << "=" << x << endl
#define rep(i, n) for (int i = 0; i < n; i++)
#define repr(i, n) for (int i = n; i >= 0; i--)
#define reps(i, m, n) for (int i =... | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,528,129 | 1,528,130 | u556276145 | cpp |
p04043 | #include <bits/stdc++.h>
#define MOD 1000000007
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define REP(i, a, b) for (ll i = (a); i < (b); i++)
typedef long long ll;
typedef int64_t in;
using namespace std;
int main() {
ll a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7 || a == 5 && b == 7 && c =... | #include <bits/stdc++.h>
#define MOD 1000000007
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define REP(i, a, b) for (ll i = (a); i < (b); i++)
typedef long long ll;
typedef int64_t in;
using namespace std;
int main() {
ll a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7 || a == 5 && b == 7 && c =... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,141 | 1,528,142 | u242679311 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if ((A == 7 && B == 5 && C == 5) || (A == 5 && B == 7 && C == 5) ||
(A == 5 && B == 5 && C == 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 == 7 && B == 5 && C == 5) || (A == 5 && B == 7 && C == 5) ||
(A == 5 && B == 5 && C == 7)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,143 | 1,528,144 | u405675992 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> ans(3);
int A = 0;
int B = 0;
for (int i = 0; i < 3; i++) {
cin >> ans.at(i);
if (ans.at(i) == '7') {
A++;
}
if (ans.at(i) == '5') {
B++;
}
}
if (A == 1 && B == 2) {
cout << "YES" << endl;
}
el... | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> ans(3);
int A = 0;
int B = 0;
for (int i = 0; i < 3; i++) {
cin >> ans.at(i);
if (ans.at(i) == 7) {
A++;
}
else if (ans.at(i) == 5) {
B++;
}
}
if (A == 1 && B == 2) {
cout << "YES" << endl;
}
e... | [
"expression.unary.arithmetic.remove",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"expression.unary.arithmetic.add",
"control_flow.branch.if.add"
] | 1,528,147 | 1,528,148 | u096717230 | cpp |
p04043 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int up, middle, down;
scanf(" %d %d %d", up, middle, down);
if ((up == 5 && middle == 5 && down == 7) ||
(up == 5 && middle == 7 && down == 5) ||
(up == 7 && middle == 5 && down == 5)) {
cout << "YES"
<< "\n";
} e... | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int up, middle, down;
scanf(" %d %d %d", &up, &middle, &down);
if ((up == 5 && middle == 5 && down == 7) ||
(up == 5 && middle == 7 && down == 5) ||
(up == 7 && middle == 5 && down == 5)) {
cout << "YES"
<< "\n";
... | [
"expression.operation.unary.reference.add"
] | 1,528,149 | 1,528,150 | u093321604 | 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 (C == 5 && B == 5 && A == 7)
cout << "YES" << endl;
if (A == 5 && C == 5 && B == 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 == 5 && B == 5 && C == 7)
cout << "YES" << endl;
else if (C == 5 && B == 5 && A == 7)
cout << "YES" << endl;
else if (A == 5 && C == 5 && B == 7)
cout << "YES" << endl;
else {
cout << "NO" << e... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,528,156 | 1,528,157 | u341447450 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && A == 5 && C == 7)
cout << "YES" << endl;
if (C == 5 && B == 5 && A == 7)
cout << "YES" << endl;
if (A == 5 && A == 5 && B == 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 == 5 && B == 5 && C == 7)
cout << "YES" << endl;
else if (C == 5 && B == 5 && A == 7)
cout << "YES" << endl;
else if (A == 5 && C == 5 && B == 7)
cout << "YES" << endl;
else {
cout << "NO" << e... | [
"identifier.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,528,158 | 1,528,157 | u341447450 | cpp |
p04043 | #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;
typedef long long ll;
int main() {
int A;
int B;
int C;
cin >> A >> B >> C;
int i_array[] = {A, B, C};
vector<int> v(i_array, i_array + sizeof(i_array));
size_t n_count = std::count(v.begin(), v.end(), 5);
... | #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;
typedef long long ll;
int main() {
int A;
int B;
int C;
cin >> A >> B >> C;
int i_array[] = {A, B, C};
vector<int> v(i_array, i_array + sizeof(i_array));
size_t n_count = std::count(v.begin(), v.end(), 5);
... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,528,159 | 1,528,160 | u061898182 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
int sum = a + b + c;
if (sum == 17)
cout << "Yes" << endl;
else {
cout << "No" << endl;
}
return 0;
}
| #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
int sum = a + b + c;
if (sum == 17)
cout << "YES" << endl;
else {
cout << "NO" << endl;
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,169 | 1,528,170 | u157195505 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 7) {
if (B == C == 5) {
cout << "YES" << endl;
return 0;
}
} else if (B == 7) {
if (A == C == 5) {
cout << "YES" << endl;
return 0;
}
} else if (C == 7) {
if (A == B ==... | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 7) {
if (B == 5 && C == 5) {
cout << "YES" << endl;
return 0;
}
} else if (B == 7) {
if (A == 5 && C == 5) {
cout << "YES" << endl;
return 0;
}
} else if (C == 7) {
if ... | [
"control_flow.branch.if.condition.change"
] | 1,528,195 | 1,528,196 | u127348287 | 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))
printf("Yes\n");
else
printf("No\n");
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))
printf("YES\n");
else
printf("NO\n");
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,528,197 | 1,528,198 | u220212997 | cpp |
p04043 | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> a = {};
for (int i(0); i < 3; ++i) {
int tmp;
cin >> tmp;
a.push_back(tmp);
}
int fiveCounter(0), sevenCounter(0);
for (int i(0); i < a.size(); ++i) {
if (a.at(i) == 5)
fiveCounter += 1;
if (a.at(i... | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> a = {};
for (int i(0); i < 3; ++i) {
int tmp;
cin >> tmp;
a.push_back(tmp);
}
int fiveCounter(0), sevenCounter(0);
for (int i(0); i < a.size(); ++i) {
if (a.at(i) == 5)
fiveCounter += 1;
if (a.at(i... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,208 | 1,528,209 | u064423380 | 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;
} | #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;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,211 | 1,528,212 | u079470909 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, c, b;
cin >> a >> b >> c;
if (a * b * c == 245) {
cout << "YES";
} else {
cout << "NO";
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, c, b;
cin >> a >> b >> c;
if (a * b * c == 175) {
cout << "YES";
} else {
cout << "NO";
}
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,213 | 1,528,214 | u885523920 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
bool ans = false;
cin >> A >> B >> C;
if (A == 7 && B == 5 && C == 5)
ans = true;
if (A == 5 && B == 7 && C == 5)
ans = true;
if (A == 5 && B == 5 && C == 7)
ans = true;
if (ans)
cout << "Yes" << endl;
else
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
bool ans = false;
cin >> A >> B >> C;
if (A == 7 && B == 5 && C == 5)
ans = true;
if (A == 5 && B == 7 && C == 5)
ans = true;
if (A == 5 && B == 5 && C == 7)
ans = true;
if (ans)
cout << "YES" << endl;
else
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,215 | 1,528,216 | u054295507 | cpp |
p04043 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define REP(i, a, n) for (int i = (a); i < (n); ++i)
#define ALL(a) (a).begin(), (a).end()
#define debug_v(v, N) \
for (int i = 0; i < N; i++) { ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define REP(i, a, n) for (int i = (a); i < (n); ++i)
#define ALL(a) (a).begin(), (a).end()
#define debug_v(v, N) \
for (int i = 0; i < N; i++) { ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,219 | 1,528,220 | u215692812 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
typedef long long ll;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 7 && C == 5) {
cout << "Yes" << endl;
} else if (A == 7 && B =... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
typedef long long ll;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && B == 7 && C == 5) {
cout << "YES" << endl;
} else if (A == 7 && B =... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,225 | 1,528,226 | u552357043 | cpp |
p04043 | #include <iostream>
using namespace std;
void EraseWord(string &str, string word) {
for (int c = str.find(word.c_str()); c != string::npos;
c = str.find(word.c_str())) {
str.erase(c, word.size());
}
}
int main() {
int num_five = 0;
int num_seven = 0;
int input;
for (int i = 0; i < 3; i++) {
... | #include <iostream>
using namespace std;
void EraseWord(string &str, string word) {
for (int c = str.find(word.c_str()); c != string::npos;
c = str.find(word.c_str())) {
str.erase(c, word.size());
}
}
int main() {
int num_five = 0;
int num_seven = 0;
int input;
for (int i = 0; i < 3; i++) {
... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,227 | 1,528,228 | u211355761 | cpp |
p04043 | #include <iostream>
using namespace std;
void EraseWord(string &str, string word) {
for (int c = str.find(word.c_str()); c != string::npos;
c = str.find(word.c_str())) {
str.erase(c, word.size());
}
}
int main() {
int num_five = 0;
int num_seven = 0;
int input;
for (int i = 0; i < 3; i++) {
... | #include <iostream>
using namespace std;
void EraseWord(string &str, string word) {
for (int c = str.find(word.c_str()); c != string::npos;
c = str.find(word.c_str())) {
str.erase(c, word.size());
}
}
int main() {
int num_five = 0;
int num_seven = 0;
int input;
for (int i = 0; i < 3; i++) {
... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,229 | 1,528,228 | u211355761 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
int five_count;
int seven_count;
for (int i = 0; i < 3; i++) {
cin >> N;
if (N == 5) {
five_count++;
}
if (N == 7) {
seven_count++;
}
}
if (five_count == 2 && seven_count == 1) {
cout << "YES" << endl;... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
int five_count = 0;
int seven_count = 0;
for (int i = 0; i < 3; i++) {
cin >> N;
if (N == 5) {
five_count++;
}
if (N == 7) {
seven_count++;
}
}
if (five_count == 2 && seven_count == 1) {
cout << "YES" ... | [
"variable_declaration.value.change"
] | 1,528,238 | 1,528,239 | u525502670 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int array[3];
for (int i = 0; i < 3; i++) {
cin >> array[i];
}
int count5 = 0, count7 = 0;
for (int i = 0; i < 3; i++) {
if (array[i] == 5)
count5++;
if (array[i] == 7)
count7++;
}
if (count5 == 2 && count7 == 1)
cout <<... | #include <iostream>
using namespace std;
int main() {
int array[3];
for (int i = 0; i < 3; i++) {
cin >> array[i];
}
int count5 = 0, count7 = 0;
for (int i = 0; i < 3; i++) {
if (array[i] == 5)
count5++;
if (array[i] == 7)
count7++;
}
if (count5 == 2 && count7 == 1)
cout <<... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,242 | 1,528,243 | u505466816 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
vector<int> fsf = {A, B, C};
sort(fsf.begin(), fsf.end());
vector<int> ans = {5, 7, 7};
if (ans == fsf)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
vector<int> fsf = {A, B, C};
sort(fsf.begin(), fsf.end());
vector<int> ans = {5, 5, 7};
if (ans == fsf)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"literal.number.change"
] | 1,528,247 | 1,528,248 | u497332667 | cpp |
p04043 | #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;
}
} | #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.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,251 | 1,528,252 | u636011245 | cpp |
p04043 | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
int main(void) {
vector<int> N;
for (int i = 0; i < 3; i++) {
int tmp;
cin >> tmp;
N.push_back(tmp);
}
int five_count = 0;
int seven_count = 0;
for (int i = 0; i < 3; i++) ... | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
int main(void) {
vector<int> N;
for (int i = 0; i < 3; i++) {
int tmp;
cin >> tmp;
N.push_back(tmp);
}
int five_count = 0;
int seven_count = 0;
for (int i = 0; i < 3; i++) ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,264 | 1,528,265 | u113827967 | 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 && B == 7 && C == 5) ||
(A == 7 && B == 5 && C == 5))
cout << "YAS" << endl;
else
cout << "NO" << endl;
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 && B == 7 && C == 5) ||
(A == 7 && B == 5 && C == 5))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 1,528,266 | 1,528,267 | u329455552 | cpp |
p04043 | #include <iostream>
#include <string>
using namespace std;
int main(void) {
int A, B, C;
cin >> A;
cin >> B;
cin >> C;
int sum = A + B + C;
string str = "No";
if (sum == 17)
str = "Yes";
cout << str << endl;
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main(void) {
int A, B, C;
cin >> A;
cin >> B;
cin >> C;
int sum = A + B + C;
string str = "NO";
if (sum == 17)
str = "YES";
cout << str << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"variable_declaration.value.change",
"assignment.value.change"
] | 1,528,283 | 1,528,284 | u204897303 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int num5 = 0, num7 = 0;
for (int i = 0; i < 3; i++) {
int a;
cin >> a;
if (a == 5) {
num5++;
} else if (a == 7) {
num7++;
}
}
if (num5 == 2 && num7 == 1) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int num5 = 0, num7 = 0;
for (int i = 0; i < 3; i++) {
int a;
cin >> a;
if (a == 5) {
num5++;
} else if (a == 7) {
num7++;
}
}
if (num5 == 2 && num7 == 1) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,285 | 1,528,286 | u248457962 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A != 5 && A != 7)
cout << "No" << endl;
else if (B != 5 && B != 7)
cout << "No" << endl;
else if (C != 5 && C != 7)
cout << "No" << endl;
else if (A + B + C == 17)
cout << "Yes" << endl;
else
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A != 5 && A != 7)
cout << "NO" << endl;
else if (B != 5 && B != 7)
cout << "NO" << endl;
else if (C != 5 && C != 7)
cout << "NO" << endl;
else if (A + B + C == 17)
cout << "YES" << endl;
else
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,287 | 1,528,288 | u547692881 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> v(3);
cin >> v.at(0) >> v.at(1) >> v.at(2);
sort(v.begin(), v.end());
if (v.at(0) == 5 && v.at(1) == 7 && v.at(2) == 7) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> v(3);
cin >> v.at(0) >> v.at(1) >> v.at(2);
sort(v.begin(), v.end());
if (v.at(0) == 5 && v.at(1) == 5 && v.at(2) == 7) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,294 | 1,528,295 | u264265458 | cpp |
p04043 | #include <bits/stdc++.h>
#include <cstdlib> // abs() for integer 絶対値求めやつ
#include <cmath> // abs() for float, and fabs()
#include <algorithm>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define SORT(a) sort((a).begin(), (a).end());
#define che(a, string) cout << string << ":... | #include <bits/stdc++.h>
#include <cstdlib> // abs() for integer 絶対値求めやつ
#include <cmath> // abs() for float, and fabs()
#include <algorithm>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define SORT(a) sort((a).begin(), (a).end());
#define che(a, string) cout << string << ":... | [
"variable_declaration.add"
] | 1,528,303 | 1,528,304 | u298620933 | cpp |
p04043 | #include <stdio.h>
int main(void) {
int a, b, c, x, y, i;
x = 0;
y = 0;
// for(i=0;i<3;i++) {
scanf("%d", &a);
if (a == 5)
x++;
if (a == 7)
y++;
// }
// for(i=0;i<3;i++) {
scanf("%d", &b);
if (b == 5)
x++;
if (b == 7)
y++;
// }
// for(i=0;i<3;i++) {
scanf("%d", &c);
if ... | #include <stdio.h>
int main(void) {
int a, b, c, x, y, i;
x = 0;
y = 0;
// for(i=0;i<3;i++) {
scanf("%d", &a);
if (a == 5)
x++;
if (a == 7)
y++;
// }
// for(i=0;i<3;i++) {
scanf("%d", &b);
if (b == 5)
x++;
if (b == 7)
y++;
// }
// for(i=0;i<3;i++) {
scanf("%d", &c);
if ... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,528,305 | 1,528,306 | u529423542 | cpp |
p04043 | #include <bits/stdc++.h>
#define fi first
#define se second
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rrep(i, n) for (int i = 1; i <= (n); ++i)
#define drep(i, n) for (int i = (n)-1; i >= 0; --i)
#define srep(i, s, t) for (int i = s; i < t; ++i)
#define rng(a) a.begin(), a.end()
#define rrng(a) a.rbegin()... | #include <bits/stdc++.h>
#define fi first
#define se second
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rrep(i, n) for (int i = 1; i <= (n); ++i)
#define drep(i, n) for (int i = (n)-1; i >= 0; --i)
#define srep(i, s, t) for (int i = s; i < t; ++i)
#define rng(a) a.begin(), a.end()
#define rrng(a) a.rbegin()... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,307 | 1,528,308 | u520791604 | cpp |
p04043 | #include <bits/stdc++.h>
#define REP(i, n) for (ll i = 0; i < (ll)n; i++)
#define FOR(i, a, b) for (ll i = (a); i < (ll)b; i++)
#define ALL(obj) (obj).begin(), (obj).end()
#define INF (1ll << 60)
#define sz(x) int(x.size())
using namespace std;
typedef long long ll;
typedef double db;
typedef string str;
typedef pair<l... | #include <bits/stdc++.h>
#define REP(i, n) for (ll i = 0; i < (ll)n; i++)
#define FOR(i, a, b) for (ll i = (a); i < (ll)b; i++)
#define ALL(obj) (obj).begin(), (obj).end()
#define INF (1ll << 60)
#define sz(x) int(x.size())
using namespace std;
typedef long long ll;
typedef double db;
typedef string str;
typedef pair<l... | [
"literal.number.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 1,528,316 | 1,528,317 | u824337972 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
int result = 0;
cin >> a >> b >> c;
if (a == 7)
if (b == 5 && c == 5)
result = 1;
if (b == 7)
if (a == 5 && c == 5)
result = 1;
if (c == 7)
if (a == 5 && b == 5)
result = 1;
if (result == 1)
cout... | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
int result = 0;
cin >> a >> b >> c;
if (a == 7)
if (b == 5 && c == 5)
result = 1;
if (b == 7)
if (a == 5 && c == 5)
result = 1;
if (c == 7)
if (a == 5 && b == 5)
result = 1;
if (result == 1)
cout... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,318 | 1,528,319 | u425058960 | cpp |
p04043 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (max(A, max(B, C)) == 7 && min(A, min(B, C)) == 5 && A + B + C == 17) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
}
| #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (max(A, max(B, C)) == 7 && min(A, min(B, C)) == 5 && A + B + C == 17) {
cout << "YES" << endl;
} else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,322 | 1,528,323 | u318955153 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
vector<int> wa(3);
for (int i = 0; i < 3; i++) {
cin >> wa.at(i);
}
sort(wa.begin(), wa.end());
if ((wa.at(0) == 5 && wa.at(1) == 5) && wa.at(7))
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
vector<int> wa(3);
for (int i = 0; i < 3; i++) {
cin >> wa.at(i);
}
sort(wa.begin(), wa.end());
if ((wa.at(0) == 5 && wa.at(1) == 5) && wa.at(2) == 7)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"control_flow.branch.if.condition.change"
] | 1,528,329 | 1,528,330 | u937275419 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
// code
vector<int> haiku(3), mihon = {5, 5, 7};
rep(i, 3) cin >> haiku.at(i);
sort(all(haiku));
if (haiku == mi... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
// code
vector<int> haiku(3), mihon = {5, 5, 7};
rep(i, 3) cin >> haiku.at(i);
sort(all(haiku));
if (haiku == mi... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,331 | 1,528,332 | u376234649 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * B * C == 5 * 5 * 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 * B * C == 5 * 5 * 7) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,338 | 1,528,339 | u813511961 | 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 <... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,528,342 | 1,528,343 | u280120599 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int n[3];
int f = 0, s = 0; // f > five, s > seven
for (int i = 0; i < 3; ++i) {
cin >> n[i];
if (n[i] == 5)
++f;
else if (n[i] == 7)
++s;
}
if (f == 2 && s == 1)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <iostream>
using namespace std;
int main() {
int n[3];
int f = 0, s = 0; // f > five, s > seven
for (int i = 0; i < 3; ++i) {
cin >> n[i];
if (n[i] == 5)
++f;
else if (n[i] == 7)
++s;
}
if (f == 2 && s == 1)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,344 | 1,528,345 | u459965464 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a[3];
for (int i = 0; i < 3; i++) {
cin >> a[i];
}
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 == 1)
cout << "Yes" << endl;
... | #include <iostream>
using namespace std;
int main() {
int a[3];
for (int i = 0; i < 3; i++) {
cin >> a[i];
}
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 == 1)
cout << "YES" << endl;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,352 | 1,528,353 | u609182361 | 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 == 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)
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.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,354 | 1,528,355 | u431615124 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define REPR(i, n) for (int i = (n); i >= 0; --i)
#define FOR(i, m, n) for (int i = (m); i < (n); ++i)
using ll = long long;
#define INF 1e9
int main() {
int x[3];
cin >> x[0] >> x[1] >> x[2];
int cnt5 = 0, cnt7 = 0;
... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define REPR(i, n) for (int i = (n); i >= 0; --i)
#define FOR(i, m, n) for (int i = (m); i < (n); ++i)
using ll = long long;
#define INF 1e9
int main() {
int x[3];
cin >> x[0] >> x[1] >> x[2];
int cnt5 = 0, cnt7 = 0;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,369 | 1,528,370 | u174434198 | 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,528,378 | 1,528,379 | u300866293 | 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,528,405 | 1,528,406 | u025773431 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, n = 3, num_5 = 0, num_7 = 0;
for (int i = 0; i < n; i++) {
cin >> a;
if (a == 5) {
num_5++;
} else if (a == 7) {
num_7++;
}
}
if (num_5 == 2 && num_7 == 1) {
cout << "Yes";
} else {
cout << "No";
}
retur... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, n = 3, num_5 = 0, num_7 = 0;
for (int i = 0; i < n; i++) {
cin >> a;
if (a == 5) {
num_5++;
} else if (a == 7) {
num_7++;
}
}
if (num_5 == 2 && num_7 == 1) {
cout << "YES";
} else {
cout << "NO";
}
retur... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,432 | 1,528,433 | u154979004 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> v, a;
a = {5, 5, 7};
cin >> v.at(0);
cin >> v.at(1);
cin >> v.at(2);
sort(v.begin(), v.end());
if (v == a)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> v(3), a = {5, 5, 7};
cin >> v.at(0);
cin >> v.at(1);
cin >> v.at(2);
sort(v.begin(), v.end());
if (v == a)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"call.arguments.add",
"variable_declaration.remove"
] | 1,528,434 | 1,528,435 | u757584836 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = (int)(0); i < (int)(n); ++i)
#define reps(i, n) for (int i = (int)(1); i <= (int)(n); ++i)
#define rrep(i, n) for (int i = ((int)(n)-1); i >= 0; i--)
#define rreps(i, n) for (int i = ((int)(n)); i > 0; i--)
#define irep(i, m, n) for (int i = ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = (int)(0); i < (int)(n); ++i)
#define reps(i, n) for (int i = (int)(1); i <= (int)(n); ++i)
#define rrep(i, n) for (int i = ((int)(n)-1); i >= 0; i--)
#define rreps(i, n) for (int i = ((int)(n)); i > 0; i--)
#define irep(i, m, n) for (int i = ... | [
"call.arguments.change",
"call.arguments.add",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,528,444 | 1,528,445 | u530107518 | cpp |
p04043 | // template
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<long long, long long> LP;
#define INF 999999999
#define MOD 1000000007
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define REP_AB(i, a, b) for (int i = int(a); i <= int(b); ++i)
#define ALL(v) v.begin... | // template
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<long long, long long> LP;
#define INF 999999999
#define MOD 1000000007
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define REP_AB(i, a, b) for (int i = int(a); i <= int(b); ++i)
#define ALL(v) v.begin... | [] | 1,528,451 | 1,528,452 | u652057333 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int c, p5 = 0, p7 = 0;
for (int i = 1; i <= 3; i++) {
cin >> c;
if (c == 5) {
p5++;
}
if (c == 7) {
p7++;
}
}
if (p5 == 2 && p7 == 1) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int c, p5 = 0, p7 = 0;
for (int i = 1; i <= 3; i++) {
cin >> c;
if (c == 5) {
p5++;
}
if (c == 7) {
p7++;
}
}
if (p5 == 2 && p7 == 1) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,455 | 1,528,456 | u529371621 | cpp |
p04043 | #include <algorithm>
#include <iostream>
#include <vector>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
std::vector<int> abc = {a, b, c};
std::sort(abc.begin(), abc.end());
bool ok = abc[0] == 5 && abc[1] == 5 && abc[2] == 7;
std::cout << (ok ? "Yes" : "No");
}
| #include <algorithm>
#include <iostream>
#include <vector>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
std::vector<int> abc = {a, b, c};
std::sort(abc.begin(), abc.end());
bool ok = abc[0] == 5 && abc[1] == 5 && abc[2] == 7;
std::cout << (ok ? "YES" : "NO");
}
| [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,528,473 | 1,528,474 | u614415246 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * B * C == 165)
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,528,479 | 1,528,480 | u735261045 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a[3];
int count5 = 0;
int count7 = 0;
cin >> a[0] >> a[1] >> a[2];
for (int i = 0; i < 3; i++) {
if (a[i] == 5) {
count5++;
} else if (a[i] == 7) {
count7++;
}
if (count5 == 2 && count7 == 1) {
cout << "YES" << endl;... | #include <iostream>
using namespace std;
int main() {
int a[3];
int count5 = 0;
int count7 = 0;
cin >> a[0] >> a[1] >> a[2];
for (int i = 0; i < 3; i++) {
if (a[i] == 5) {
count5++;
} else if (a[i] == 7) {
count7++;
}
}
if (count5 == 2 && count7 == 1) {
cout << "YES" << endl;... | [] | 1,528,498 | 1,528,499 | u755310927 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a[3];
int count5 = 0;
int count7 = 0;
cin >> a[0] >> a[1] >> a[2];
for (int i = 0; i < 3; i++) {
if (a[i] == 5) {
count5++;
} else if (a[i == 7]) {
count7++;
}
if (count5 == 2 && count7 == 1) {
cout << "YES" << endl;... | #include <iostream>
using namespace std;
int main() {
int a[3];
int count5 = 0;
int count7 = 0;
cin >> a[0] >> a[1] >> a[2];
for (int i = 0; i < 3; i++) {
if (a[i] == 5) {
count5++;
} else if (a[i] == 7) {
count7++;
}
}
if (count5 == 2 && count7 == 1) {
cout << "YES" << endl;... | [
"control_flow.branch.if.condition.change"
] | 1,528,500 | 1,528,499 | u755310927 | cpp |
p04043 | #include <iostream>
#include <string>
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 <iostream>
#include <string>
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 <... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,528,511 | 1,528,512 | u764234894 | cpp |
p04043 | #include <iostream>
#include <string>
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 <iostream>
#include <string>
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 <... | [
"control_flow.branch.if.condition.change"
] | 1,528,513 | 1,528,512 | u764234894 | 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] == 7) {
cout << "YES" << endl;
} else
cout << "NO" << endl;
} | #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" << endl;
} else
cout << "NO" << endl;
} | [
"control_flow.branch.if.condition.change"
] | 1,528,519 | 1,528,520 | u415916075 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> bun(3);
for (auto &i : bun)
cin >> i;
sort(bun.begin(), bun.end());
if ((bun.at(0) == 5) && (bun.at(1) == 5) && (bun.at(2) == 7))
cout << "Yes";
else
cout << "No";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> bun(3);
for (auto &i : bun)
cin >> i;
sort(bun.begin(), bun.end());
if ((bun.at(0) == 5) && (bun.at(1) == 5) && (bun.at(2) == 7))
cout << "YES";
else
cout << "NO";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,541 | 1,528,542 | u168860135 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (abs(A - B - C) == 7)
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 + B + C == 17)
cout << "YES";
else
cout << "NO";
return 0;
}
| [
"call.remove",
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"literal.number.change"
] | 1,528,545 | 1,528,546 | u009725181 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
using namespace std;
int a[7];
int main() {
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 <algorithm>
#include <cmath>
#include <iostream>
#include <string>
using namespace std;
int a[7];
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";
} else {
cout << "NO";
}
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,559 | 1,528,560 | u798339690 | 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") << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a * b * c == 175 ? "YES" : "NO") << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,569 | 1,528,570 | u930561195 | cpp |
p04043 | #include <iostream>
main() {
int a, b, c;
std::cin >> a >> b >> c;
int sum = a + b + c;
if (sum == 17) {
std::cout << "Yes";
} else {
std::cout << "No";
}
} | #include <iostream>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
int sum = a + b + c;
if (sum == 17) {
std::cout << "YES";
} else {
std::cout << "NO";
}
} | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,528,583 | 1,528,584 | u848499508 | cpp |
p04043 | #include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstdio>
#include <deque>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0... | #include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstdio>
#include <deque>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,587 | 1,528,588 | u554990639 | cpp |
p04043 | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <vector>
#define ff(i, m, n) for (int i = m; i < n; i++)
#define i64 int64_t
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c != 12) {
cout << "NO" << endl;
return 0;
}
if (a != 5 &&... | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <vector>
#define ff(i, m, n) for (int i = m; i < n; i++)
#define i64 int64_t
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c != 17) {
cout << "NO" << endl;
return 0;
}
if (a != 5 &&... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,589 | 1,528,590 | u771541325 | cpp |
p04043 | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <vector>
#define ff(i, m, n) for (int i = m; i < n; i++)
#define i64 int64_t
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c != 12) {
cout << "NO" << endl;
return 0;
}
if (a != 5 ||... | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <vector>
#define ff(i, m, n) for (int i = m; i < n; i++)
#define i64 int64_t
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c != 17) {
cout << "NO" << endl;
return 0;
}
if (a != 5 &&... | [
"literal.number.change",
"control_flow.branch.if.condition.change",
"misc.opposites"
] | 1,528,591 | 1,528,590 | u771541325 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <map>
#include <queue>
#include <random>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define PI 3.14159265358979323846
#define MOD 1000... | #include <algorithm>
#include <cmath>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <map>
#include <queue>
#include <random>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define PI 3.14159265358979323846
#define MOD 1000... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,596 | 1,528,597 | u433162241 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
int five = 0;
int seven = 0;
std::cin >> a >> b >> c;
if (a == 5)
five++;
else
seven++;
if (b == 5)
five++;
else
seven++;
if (c == 5 && seven == 1)
std::cout << "Yes" << '\n';
else if (c == 7 && five == 2)
s... | #include <iostream>
using namespace std;
int main() {
int a, b, c;
int five = 0;
int seven = 0;
std::cin >> a >> b >> c;
if (a == 5)
five++;
else
seven++;
if (b == 5)
five++;
else
seven++;
if (c == 5 && seven == 1)
std::cout << "YES" << '\n';
else if (c == 7 && five == 2)
s... | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,528,606 | 1,528,607 | u280097533 | 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,528,613 | 1,528,614 | u537070292 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const int mod = 1000000007;
int main() {
ios::sync_with_stdio(false);
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 17 && max({a, b, c}) == 7 ... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const int mod = 1000000007;
int main() {
ios::sync_with_stdio(false);
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 17 && max({a, b, c}) == 7 ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,634 | 1,528,635 | u151855078 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 17) {
if ((a == 7 && b == 5) || (a == 5 && b == 7) || (b == 5 && c == 7))
cout << "Yes" << endl;
else
cout << "No" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 17) {
if ((a == 7 && b == 5) || (a == 5 && b == 7) || (b == 5 && c == 7))
cout << "YES" << endl;
else
cout << "NO" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,681 | 1,528,682 | u399125468 | 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 ... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,528,691 | 1,528,692 | u584169254 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; i++)
int main() {
vector<int> v;
REP(i, 3) {
int k;
cin >> k;
v.push_back(k);
}
sort(v.begin(), v.end());
if (v[0] == 5) {
if (v[1] == 7) {
if (v[2] == 7) {
cout << "YES" << endl;
r... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; i++)
int main() {
vector<int> v;
REP(i, 3) {
int k;
cin >> k;
v.push_back(k);
}
sort(v.begin(), v.end());
if (v[0] == 5) {
if (v[1] == 5) {
if (v[2] == 7) {
cout << "YES" << endl;
r... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,528,703 | 1,528,704 | u908393090 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, s = 0;
string k = "YES";
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5 || a == 7) {
s += a;
} else {
k = "NO";
break;
}
}
if (s != 17) {
k = "No";
}
cout << k << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, s = 0;
string k = "YES";
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5 || a == 7) {
s += a;
} else {
k = "NO";
break;
}
}
if (s != 17) {
k = "NO";
}
cout << k << endl;
}
| [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 1,528,711 | 1,528,712 | u323864528 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, s = 0;
string k = "Yes";
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5 || a == 7) {
s += a;
} else {
k = "No";
break;
}
}
if (s != 17) {
k = "No";
}
cout << k << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, s = 0;
string k = "YES";
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5 || a == 7) {
s += a;
} else {
k = "NO";
break;
}
}
if (s != 17) {
k = "NO";
}
cout << k << endl;
}
| [
"literal.string.change",
"literal.string.case.change",
"variable_declaration.value.change",
"assignment.value.change"
] | 1,528,713 | 1,528,712 | u323864528 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int SUM = A + B + C;
if (SUM == 17) {
if (10 == A + B || 10 == A + C || 10 == B + C) {
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 SUM = A + B + C;
if (SUM == 17) {
if (10 == A + B || 10 == A + C || 10 == B + C) {
cout << "YES" << endl;
}
} else {
cout << "NO" << endl;
}
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,722 | 1,528,723 | u799691369 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> vec(3);
int five_cnt = 0;
int seven_cnt = 0;
for (int i = 0; i < 3; i++) {
cin >> vec.at(i);
if (vec.at(i) == '5') {
five_cnt++;
} else if (vec.at(i) == '7') {
seven_cnt++;
}
}
if (five_cnt == 2 && seven_cn... | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> vec(3);
int five_cnt = 0;
int seven_cnt = 0;
for (int i = 0; i < 3; i++) {
cin >> vec.at(i);
if (vec.at(i) == 5) {
five_cnt++;
} else if (vec.at(i) == 7) {
seven_cnt++;
}
}
if (five_cnt == 2 && seven_cnt ==... | [
"control_flow.branch.if.condition.change"
] | 1,528,749 | 1,528,750 | u999989620 | 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,528,751 | 1,528,752 | u995468258 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
string d;
cin >> a >> b >> c;
if (a + b + c == 17) {
if (a + b == 10 || a + b == 12) {
d = "Yes";
}
}
else {
d = "No";
}
cout << d << endl;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
string d;
cin >> a >> b >> c;
if (a + b + c == 17) {
if (a + b == 10 || a + b == 12) {
d = "YES";
}
}
else {
d = "NO";
}
cout << d << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 1,528,753 | 1,528,754 | u018012530 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a;
int c5 = 0, c7 = 0;
int i = 1;
for (i = 1; i <= 3; i++) {
std::cin >> a;
if (a == 5)
c5 += 1;
else if (a == 7)
c7 += 1;
}
std::cout << endl;
if (c7 == 1 && c5 == 2)
std::cout << "Yes";
else
std::cout << "No";
... | #include <iostream>
using namespace std;
int main() {
int a;
int c5 = 0, c7 = 0;
int i = 1;
for (i = 1; i <= 3; i++) {
std::cin >> a;
if (a == 5)
c5 += 1;
else if (a == 7)
c7 += 1;
}
std::cout << endl;
if (c7 == 1 && c5 == 2)
std::cout << "YES";
else
std::cout << "NO";
... | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,528,768 | 1,528,769 | u063873990 | cpp |
p04043 | #include <iomanip>
#include <iostream>
#include <map>
using namespace std;
using ll = long long;
#define rep(i, a, n) for (int i = (a); i < (n); i++)
void Main() {
int a, b, c;
cin >> a >> b >> c;
map<int, int> mp;
mp[a] = 1;
auto itr = mp.find(b);
if (itr != mp.end()) {
mp[b]++;
} else {
mp[... | #include <iomanip>
#include <iostream>
#include <map>
using namespace std;
using ll = long long;
#define rep(i, a, n) for (int i = (a); i < (n); i++)
void Main() {
int a, b, c;
cin >> a >> b >> c;
map<int, int> mp;
mp[a] = 1;
auto itr = mp.find(b);
if (itr != mp.end()) {
mp[b]++;
} else {
mp[... | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,528,770 | 1,528,771 | u277956366 | cpp |
p04043 | #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\n";
else if (b == 7 && a == 5 && c == 5)
cout << "Yes\n";
else if (c == 7 && a == 5 && b == 5)
cout << "Yes\n";
else
cout << "No\n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 7 && b == 5 && c == 5)
cout << "YES\n";
else if (b == 7 && a == 5 && c == 5)
cout << "YES\n";
else if (c == 7 && a == 5 && b == 5)
cout << "YES\n";
else
cout << "NO\n";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,783 | 1,528,784 | u585678284 | 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 << "... | #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 << "... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,528,801 | 1,528,802 | u464052933 | cpp |
p04041 | // chrono::system_clock::now().time_since_epoch().count()
#include <bits/stdc++.h>
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fi first
#define se second
#define all(x) (x).begin(), (x).end()
#define debug(x) cerr << #x << " = " << x << endl;
using namespace std;
typedef long long ll;
t... | // chrono::system_clock::now().time_since_epoch().count()
#include <bits/stdc++.h>
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fi first
#define se second
#define all(x) (x).begin(), (x).end()
#define debug(x) cerr << #x << " = " << x << endl;
using namespace std;
typedef long long ll;
t... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 1,528,803 | 1,528,804 | u462557023 | cpp |
p04041 | #include <bits/stdc++.h>
using namespace std;
// T+N
//#pragma GCC optimize ("O3")
//#pragma GCC target ("sse4")
#define endl "\n"
typedef long long ll;
typedef long double ld;
typedef unsigned long long ull;
template <class T, class T2> inline bool chkmax(T &x, const T2 &y) {
return x < y ? x = y, 1 : 0;
}
template ... | #include <bits/stdc++.h>
using namespace std;
// T+N
//#pragma GCC optimize ("O3")
//#pragma GCC target ("sse4")
#define endl "\n"
typedef long long ll;
typedef long double ld;
typedef unsigned long long ull;
template <class T, class T2> inline bool chkmax(T &x, const T2 &y) {
return x < y ? x = y, 1 : 0;
}
template ... | [
"variable_declaration.array_dimensions.change",
"expression.operation.binary.add"
] | 1,528,805 | 1,528,806 | u855170088 | cpp |
p04041 | #include <bits/stdc++.h>
using namespace std;
#define int long long
// #define double long double
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define FORR(i, a, b) for (int i = (a); i > (b); --i)
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOREACH(x... | #include <bits/stdc++.h>
using namespace std;
#define int long long
// #define double long double
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define FORR(i, a, b) for (int i = (a); i > (b); --i)
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOREACH(x... | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 1,528,809 | 1,528,810 | u139031151 | cpp |
p04041 | #include <bits/stdc++.h>
using namespace std;
#define int long long
const int N = 45, MOD = 1e9 + 7;
long long dp[1 << 18][N];
int32_t main() {
ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
int n, x, y, z;
cin >> n >> x >> y >> z;
long long ans = 1;
y += x;
z += y;
dp[1][0] = 1;
for (int i = 1; i ... | #include <bits/stdc++.h>
using namespace std;
#define int long long
const int N = 45, MOD = 1e9 + 7;
long long dp[1 << 18][N];
int32_t main() {
ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
int n, x, y, z;
cin >> n >> x >> y >> z;
long long ans = 1;
y += x;
z += y;
dp[1][0] = 1;
for (int i = 1; i ... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 1,528,814 | 1,528,815 | u182171064 | cpp |
p04041 | #define _CRT_SECURE_NO_WARNINGS
#include <algorithm>
#include <assert.h>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <new>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <time.h>
#... | #define _CRT_SECURE_NO_WARNINGS
#include <algorithm>
#include <assert.h>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <new>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <time.h>
#... | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 1,528,816 | 1,528,817 | u783675879 | cpp |
p04041 | #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 len(v) ll(v.size())
#define fi first
#define se second
template <class T> void cout_vec(const vector<T> &vec) {
for (auto it... | #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 len(v) ll(v.size())
#define fi first
#define se second
template <class T> void cout_vec(const vector<T> &vec) {
for (auto it... | [] | 1,528,822 | 1,528,823 | u340010271 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.