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>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * B * C == 105 && 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 == 175 && A + B + C == 17) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"literal.number.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,647 | 1,526,646 | u404055790 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define int lon... | #include <bits/stdc++.h>
using namespace std;
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define int lon... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,526,651 | 1,526,652 | u554733732 | cpp |
p04043 | #include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define pii pair<int, int>
#define piii pair<int, pii>
#define pll pair<ll, ll>
#define plii pair<ll, pii>
#define vi vector<int>
#define ff first
#define ss second
#define mp make_pair
#define pb push_back
#define SORT(x) sort(x.begin(), x.en... | #include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define pii pair<int, int>
#define piii pair<int, pii>
#define pll pair<ll, ll>
#define plii pair<ll, pii>
#define vi vector<int>
#define ff first
#define ss second
#define mp make_pair
#define pb push_back
#define SORT(x) sort(x.begin(), x.en... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,653 | 1,526,654 | u463064846 | cpp |
p04043 | #include <cstdio>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a == 5 and b == 5 and c == 7) {
printf("YES");
} else if (b == 5 and c == 5 and a == 7) {
printf("YES");
} else if (c == 5 and a == 5 and b == 7) {
printf("YES");
} else {
printf("No");
}
}
| #include <cstdio>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a == 5 and b == 5 and c == 7) {
printf("YES");
} else if (b == 5 and c == 5 and a == 7) {
printf("YES");
} else if (c == 5 and a == 5 and b == 7) {
printf("YES");
} else {
printf("NO");
}
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,526,668 | 1,526,669 | u580750095 | cpp |
p04043 | #include <cstdio>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a == 5 and b == 5 and c == 7) {
printf("Yes");
} else if (b == 5 and c == 5 and a == 7) {
printf("Yes");
} else if (c == 5 and a == 5 and b == 7) {
printf("Yes");
} else {
printf("No");
}
}
| #include <cstdio>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a == 5 and b == 5 and c == 7) {
printf("YES");
} else if (b == 5 and c == 5 and a == 7) {
printf("YES");
} else if (c == 5 and a == 5 and b == 7) {
printf("YES");
} else {
printf("NO");
}
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,526,670 | 1,526,669 | u580750095 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int count5 = 0, count7 = 0;
// int arr[3];
for (int i = 0; i < 3; i++) {
int t;
cin >> t;
if (t == 5)
count5++;
if (t == 7)
count7++;
}
if (count5 == 2 && count7 == 1)
cout << "Yes" << endl;
else
cout << "No" << ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int count5 = 0, count7 = 0;
// int arr[3];
for (int i = 0; i < 3; i++) {
int t;
cin >> t;
if (t == 5)
count5++;
if (t == 7)
count7++;
}
if (count5 == 2 && count7 == 1)
cout << "YES" << endl;
else
cout << "NO" << ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,704 | 1,526,705 | u403078897 | cpp |
p04043 | #include <algorithm>
#include <iostream>
#include <vector>
int main() {
std::vector<int> v(3);
std::cin >> v[0] >> v[1] >> v[2];
std::sort(v.begin(), v.end(), std::less<int>());
bool is557 = (v[0] == 5) && (v[1] == 5) && (v[2] == 7);
std::cout << (is557 ? "YES" : "No") << std::endl;
return 0;
}
| #include <algorithm>
#include <iostream>
#include <vector>
int main() {
std::vector<int> v(3);
std::cin >> v[0] >> v[1] >> v[2];
std::sort(v.begin(), v.end(), std::less<int>());
bool is557 = (v[0] == 5) && (v[1] == 5) && (v[2] == 7);
std::cout << (is557 ? "YES" : "NO") << std::endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,526,712 | 1,526,713 | u306805217 | 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;
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" << endl;
} else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,717 | 1,526,718 | u718674810 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define debug(x) cerr << #x << " = " << x << endl
int main(int qtd, char *nome[]) {
ios::sync_with_stdio(false);
cin.tie(0);
int five = 0;
int seven = 0;
for (int i = 0, x; i < 3; i++)
cin >> x, (x == 5 ? five++ : x == 7 ? seven++ : 0);
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define debug(x) cerr << #x << " = " << x << endl
int main(int qtd, char *nome[]) {
ios::sync_with_stdio(false);
cin.tie(0);
int five = 0;
int seven = 0;
for (int i = 0, x; i < 3; i++)
cin >> x, (x == 5 ? five++ : x == 7 ? seven++ : 0);
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,738 | 1,526,739 | u495006629 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
signed main() {
cin.tie(0);
ios::sync_with_stdio(false);
int five = 0, seven = 0;
for (int i = 0; i < 3; ++i) {
int c;
cin >> c;
if (c == 7)
++seven;
else if (c == 5)
++five;
}
if (five == 2 && seven == 1)
... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
signed main() {
cin.tie(0);
ios::sync_with_stdio(false);
int five = 0, seven = 0;
for (int i = 0; i < 3; ++i) {
int c;
cin >> c;
if (c == 7)
++seven;
else if (c == 5)
++five;
}
if (five == 2 && seven == 1)
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,748 | 1,526,749 | u226084823 | 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... | #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 ... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,526,760 | 1,526,761 | u014442925 | cpp |
p04043 | #include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define mp make_pair
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
int t = 1;
// cin>>t;
while (t--) {
int a[3];
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3);
if (a[0] == 5 && a[1] == 5 && a[2] ==... | #include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define mp make_pair
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
int t = 1;
// cin>>t;
while (t--) {
int a[3];
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3);
if (a[0] == 5 && a[1] == 5 && a[2] ==... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,526,766 | 1,526,767 | u731232402 | cpp |
p04043 | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <math.h>
using namespace std;
int C[3];
int main() {
cin >> C[0] >> C[1] >> C[2];
sort(C, C + 3);
if (C[0] == 5) {
if (C[1] == 5) {
if (C[2] == 7) {
cout << "Yes\n";
return 0;
}
}
}
cout << "No\n";
} | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <math.h>
using namespace std;
int C[3];
int main() {
cin >> C[0] >> C[1] >> C[2];
sort(C, C + 3);
if (C[0] == 5) {
if (C[1] == 5) {
if (C[2] == 7) {
cout << "YES\n";
return 0;
}
}
}
cout << "NO\n";
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,770 | 1,526,771 | u634131849 | cpp |
p04043 | #include "bits/stdc++.h"
using namespace std;
void Main() {
vector<int> A(3, 0);
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;
}
}
int main() {
std::cout << std::fixed << std::setprecision... | #include "bits/stdc++.h"
using namespace std;
void Main() {
vector<int> A(3, 0);
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;
}
}
int main() {
std::cout << std::fixed << std::setprecision... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,526,773 | 1,526,774 | u138886316 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c, d = 0, e = 0;
cin >> a >> b >> c;
if (a == 5) {
d++;
} else if (a == 7) {
e++;
}
if (b == 5) {
d++;
} else if (b == 7) {
e++;
}
if (c == 5) {
d++;
} else if (c == 7) {
e++;
}
if (d == 2 && c... | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c, d = 0, e = 0;
cin >> a >> b >> c;
if (a == 5) {
d++;
} else if (a == 7) {
e++;
}
if (b == 5) {
d++;
} else if (b == 7) {
e++;
}
if (c == 5) {
d++;
} else if (c == 7) {
e++;
}
if (d == 2 && e... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,526,782 | 1,526,783 | u861231819 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a = 0, b = 0, c = 0;
int total = 0;
cin >> a >> b >> c;
total = a + b + c;
if (total == 17 && a % 2 != 0 && b % 2 != 0 && c % 2 != 0)
cout << "NO";
else
cout << "YES";
} | #include <iostream>
using namespace std;
int main() {
int a = 0, b = 0, c = 0;
int total = 0;
cin >> a >> b >> c;
total = a + b + c;
if (total == 17 && a % 2 != 0 && b % 2 != 0 && c % 2 != 0)
cout << "YES";
else
cout << "NO";
} | [
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,526,784 | 1,526,785 | u901649597 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int abc[3];
int five = 0;
int seven = 0;
cin >> abc[0] >> abc[1] >> abc[2];
for (const auto &num : abc) {
if (num == 5) {
five++;
}
if (num == 7) {
seven++;
}
if (five == 2 && seven == 1) {
cout << "YES";
} else ... | #include <iostream>
using namespace std;
int main() {
int abc[3];
int five = 0;
int seven = 0;
cin >> abc[0] >> abc[1] >> abc[2];
for (const auto &num : abc) {
if (num == 5) {
five++;
}
if (num == 7) {
seven++;
}
}
if (five == 2 && seven == 1) {
cout << "YES";
} else {
... | [] | 1,526,791 | 1,526,792 | u959813156 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main(int argc, const char *argv[]) {
vector<int> vn(3);
for (int i = 0; i < 3; ++i) {
cin >> vn[i];
}
sort(vn.begin(), vn.end());
if (vn[0] == 5 && vn[1] == 5 && vn[2] == '7') {
cout << "YES" << '\n';
} else {
cout << "NO" << '\n';
}
retu... | #include <bits/stdc++.h>
using namespace std;
int main(int argc, const char *argv[]) {
vector<int> vn(3);
for (int i = 0; i < 3; ++i) {
cin >> vn[i];
}
sort(vn.begin(), vn.end());
if (vn[0] == 5 && vn[1] == 5 && vn[2] == 7) {
cout << "YES" << '\n';
} else {
cout << "NO" << '\n';
}
return... | [
"control_flow.branch.if.condition.change"
] | 1,526,818 | 1,526,819 | u289545075 | cpp |
p04043 | #include <algorithm>
#include <array>
#include <iostream>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
std::array<int, 3> inputs{a, b, c};
auto found5 = std::count(inputs.begin(), inputs.end(), 5);
auto found7 = std::count(inputs.begin(), inputs.end(), 7);
std::cout << (found5 == 2 && found7 == 1) ... | #include <algorithm>
#include <array>
#include <iostream>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
std::array<int, 3> inputs{a, b, c};
auto found5 = std::count(inputs.begin(), inputs.end(), 5);
auto found7 = std::count(inputs.begin(), inputs.end(), 7);
std::cout << ((found5 == 2 && found7 == 1)... | [] | 1,526,820 | 1,526,821 | u289545075 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
while (cin >> a >> b >> c) {
if (a == 7 && b == c && c == 5) {
cout << "Yes" << endl;
} else if (b == 7 && a == c && c == 5) {
cout << "Yes" << endl;
} else if (c == 7 && b == a && a == 5) {
cout << "Yes" << endl;
... | #include <iostream>
using namespace std;
int main() {
int a, b, c;
while (cin >> a >> b >> c) {
if (a == 7 && b == c && c == 5) {
cout << "YES" << endl;
} else if (b == 7 && a == c && c == 5) {
cout << "YES" << endl;
} else if (c == 7 && b == a && a == 5) {
cout << "YES" << endl;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,822 | 1,526,823 | u406687688 | 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;
}
| #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;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,826 | 1,526,827 | u223565793 | cpp |
p04043 | #include <iostream>
#include <map>
using namespace std;
int main() {
int a;
map<int, int> freq;
for (int i = 0; i < 3; i++) {
cin >> a;
freq[a]++;
}
if ((freq[5] != 2 && freq[7] != 2)) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
return 0;
} | #include <iostream>
#include <map>
using namespace std;
int main() {
int a;
map<int, int> freq;
for (int i = 0; i < 3; i++) {
cin >> a;
freq[a]++;
}
if ((freq[5] != 2 || freq[7] != 1)) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
return 0;
}
| [
"misc.opposites",
"control_flow.branch.if.condition.change",
"literal.number.change"
] | 1,526,835 | 1,526,836 | u407355496 | cpp |
p04043 | #include <iostream>
#include <map>
using namespace std;
int main() {
int a;
map<int, int> freq;
for (int i = 0; i < 3; i++) {
cin >> a;
freq[a]++;
}
if ((freq[5] != 2 && freq[7] != 2)) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
return 0;
} | #include <iostream>
#include <map>
using namespace std;
int main() {
int a;
map<int, int> freq;
for (int i = 0; i < 3; i++) {
cin >> a;
freq[a]++;
}
if (freq[5] != 2 || freq[7] != 1) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
return 0;
} | [
"control_flow.branch.if.condition.change",
"misc.opposites",
"literal.number.change"
] | 1,526,835 | 1,526,837 | u407355496 | cpp |
p04043 | #include <iostream>
#include <map>
using namespace std;
int main() {
int a;
map<int, int> freq;
for (int i = 0; i < 3; i++) {
cin >> a;
freq[a]++;
}
if ((freq[5] != 2 && freq[7] != 2)) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
return 0;
} | #include <iostream>
#include <map>
using namespace std;
int main() {
int a;
map<int, int> freq;
for (int i = 0; i < 3; i++) {
cin >> a;
freq[a]++;
}
if ((freq[5] != 2 || freq[7] != 1)) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
return 0;
} | [
"misc.opposites",
"control_flow.branch.if.condition.change",
"literal.number.change"
] | 1,526,835 | 1,526,838 | u407355496 | cpp |
p04043 | #include <bits/stdc++.h>
// #include <boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
// #define int cpp_int
using namespace std;
#define fastio \
ios_base::sync_with_stdio(false); \... | #include <bits/stdc++.h>
// #include <boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
// #define int cpp_int
using namespace std;
#define fastio \
ios_base::sync_with_stdio(false); \... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,846 | 1,526,847 | u982602691 | 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] == 5)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #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;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,526,857 | 1,526,858 | u247123590 | cpp |
p04043 | //インクルード(アルファベット順)
#include <algorithm> //sort,二分探索,など
#include <bitset> //固定長bit集合
#include <cmath> //pow,logなど
#include <complex> //複素数
#include <deque> //両端アクセスのキュー
#include <functional> //sortのgreater
#include <iomanip> //setprecision(浮動小数点の出力の誤差)
#include <iostream> //入出力
#include <iterator>... | //インクルード(アルファベット順)
#include <algorithm> //sort,二分探索,など
#include <bitset> //固定長bit集合
#include <cmath> //pow,logなど
#include <complex> //複素数
#include <deque> //両端アクセスのキュー
#include <functional> //sortのgreater
#include <iomanip> //setprecision(浮動小数点の出力の誤差)
#include <iostream> //入出力
#include <iterator>... | [
"literal.string.change",
"literal.string.case.change",
"variable_declaration.value.change",
"assignment.value.change"
] | 1,526,876 | 1,526,877 | u182012703 | cpp |
p04043 | // Date and time of submission:
#include <bits/stdc++.h>
#define ll long long
using namespace std;
const ll N = 1e5 + 5;
ll a, b, c;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
map<ll, ll> mp;
cin >> a >> b >> c;
++mp[a];
++mp[b];
++mp[c];
if (mp[5] == 2 && mp[7] == 1)
cout << "Ye... | // Date and time of submission:
#include <bits/stdc++.h>
#define ll long long
using namespace std;
const ll N = 1e5 + 5;
ll a, b, c;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
map<ll, ll> mp;
cin >> a >> b >> c;
++mp[a];
++mp[b];
++mp[c];
if (mp[5] == 2 && mp[7] == 1)
cout << "YE... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,891 | 1,526,892 | u271891209 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a == 7) && (b == 5 && c == 5) || (b == 7) && (c == 5 && a == 5) ||
(c == 7) && (a == 5 && b == 5)) {
cout << 'YES' << endl;
} else {
cout << 'NO' << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a == 7) && (b == 5 && c == 5) || (b == 7) && (c == 5 && a == 5) ||
(c == 7) && (a == 5 && b == 5)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 1,526,897 | 1,526,898 | u286201019 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
bool can = false;
if (a == 7 && b == 5 && c == 5)
can = true;
if (a == 5 && b == 7 && c == 5)
can = true;
if (a == 5 && b == 5 && c == 7)
can = true;
if (can)
cout << "Yes";
else
cout << "... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
bool can = false;
if (a == 7 && b == 5 && c == 5)
can = true;
if (a == 5 && b == 7 && c == 5)
can = true;
if (a == 5 && b == 5 && c == 7)
can = true;
if (can)
cout << "YES";
else
cout << "... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,899 | 1,526,900 | u826608257 | 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";
else if (a == 5 || b == 7 || c == 5)
cout << "YES";
else if (a == 7 || b == 5 || c == 5)
cout << "YES";
else
cout << "NO";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7)
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";
} | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,526,913 | 1,526,914 | u098576215 | 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";
else if (a == 5 || b == 7 || c == 5)
cout << "YES";
else if (a == 7 || b == 5 || c == 5)
cout << "YES";
else
cout << "NO";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7)
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";
}
| [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,526,913 | 1,526,915 | u098576215 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
int check = 0;
cin >> a >> b >> c;
if (a == 5 || a == 7)
check += a;
if (b == 5 || b == 7)
check += b;
if (c == 5 || c == 7)
check += c;
// cout << check;
if (check == 17) {
cout << "Yes";
} else {
cout << "N... | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
int check = 0;
cin >> a >> b >> c;
if (a == 5 || a == 7)
check += a;
if (b == 5 || b == 7)
check += b;
if (c == 5 || c == 7)
check += c;
// cout << check;
if (check == 17) {
cout << "YES";
} else {
cout << "N... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,939 | 1,526,940 | u111186664 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 17 && a * a + b * b + c * c == 99)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c == 17 && a * a + b * b + c * c == 99)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,941 | 1,526,942 | u591990884 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
int yn = 0;
cin >> a >> b >> c;
if (a == 7 && b == 5 && c == 5) {
yn = 1;
} else if (a == 5 && b == 7 && c == 5) {
yn == 1;
} else if (a == 5 && b == 5 && c == 7) {
yn == 1;
}
if (yn == 1) {
cout << "YES" << endl;
} ... | #include <iostream>
using namespace std;
int main() {
int a, b, c;
int yn = 0;
cin >> a >> b >> c;
if (a == 7 && b == 5 && c == 5) {
yn = 1;
} else if (a == 5 && b == 7 && c == 5) {
yn = 1;
} else if (a == 5 && b == 5 && c == 7) {
yn = 1;
}
if (yn == 1) {
cout << "YES" << endl;
} el... | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,526,949 | 1,526,950 | u263388503 | cpp |
p04043 | #include <algorithm>
#include <iostream>
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 <algorithm>
#include <iostream>
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;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,526,956 | 1,526,957 | u969227451 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
int a, b = 0;
for (int i = 0; i < 3; i++) {
cin >> x;
if (x == 5)
a++;
if (x == 7)
b++;
}
if (a == 2 && b == 1) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
int a = 0;
int b = 0;
for (int i = 0; i < 3; i++) {
cin >> x;
if (x == 5)
a++;
if (x == 7)
b++;
}
if (a == 2 && b == 1) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| [
"variable_declaration.add"
] | 1,526,962 | 1,526,963 | u737451238 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
int a, b = 0;
for (int i = 0; i < 3; i++) {
cin >> x;
if (x == 5)
a++;
if (x == 7)
b++;
}
if (a == 2 and b == 1) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
int a = 0;
int b = 0;
for (int i = 0; i < 3; i++) {
cin >> x;
if (x == 5)
a++;
if (x == 7)
b++;
}
if (a == 2 && b == 1) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| [
"variable_declaration.add",
"control_flow.branch.if.condition.change"
] | 1,526,964 | 1,526,963 | u737451238 | 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,526,975 | 1,526,976 | u462907578 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <math.h>
#include <stdio.h>
#include <string>
#include <unordered_map>
#include <vector>
#pragma warning(disable : 4996)
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
bool ans ... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <math.h>
#include <stdio.h>
#include <string>
#include <unordered_map>
#include <vector>
#pragma warning(disable : 4996)
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
bool ans ... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,526,991 | 1,526,992 | u783603027 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <math.h>
#include <stdio.h>
#include <string>
#include <unordered_map>
#include <vector>
#pragma warning(disable : 4996)
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
bool ans ... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <math.h>
#include <stdio.h>
#include <string>
#include <unordered_map>
#include <vector>
#pragma warning(disable : 4996)
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
bool ans ... | [
"literal.number.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,526,993 | 1,526,992 | u783603027 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int count5 = 0;
int count7 = 0;
int x = 0;
if (A == 5)
count5++;
if (B == 5)
count5++;
if (C == 5)
count5++;
if (A == 7)
count7++;
if (B == 7)
count7++;
if (C == 7)
count7++;
if (coun... | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int count5 = 0;
int count7 = 0;
int x = 0;
if (A == 5)
count5++;
if (B == 5)
count5++;
if (C == 5)
count5++;
if (A == 7)
count7++;
if (B == 7)
count7++;
if (C == 7)
count7++;
if (coun... | [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,527,010 | 1,527,011 | u318993895 | 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;
}
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,016 | 1,527,017 | u751515087 | 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" <... | #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" <... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,046 | 1,527,047 | u895949334 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int cnt5 = 0;
int cnt7 = 0;
if (A == 5) {
cnt5++;
} else if (A == 7) {
cnt7++;
} else if (B == 5) {
cnt5++;
} else if (B == 7) {
cnt7++;
} else if (C == 5) {
cnt5++;
} else if (C == 7) {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int cnt5 = 0;
int cnt7 = 0;
if (A == 5) {
cnt5++;
}
if (A == 7) {
cnt7++;
}
if (B == 5) {
cnt5++;
}
if (B == 7) {
cnt7++;
}
if (C == 5) {
cnt5++;
}
if (C == 7) {
cnt7++;
}... | [
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove"
] | 1,527,050 | 1,527,051 | u191114518 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int cnt5 = 0;
int cnt7 = 0;
if (A == 5) {
cnt5++;
} else if (A == 7) {
cnt7++;
} else if (B == 5) {
cnt5++;
} else if (B == 7) {
cnt7++;
} else if (C == 5) {
cnt5++;
} else if (C == 7) {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int cnt5 = 0;
int cnt7 = 0;
if (A == 5) {
cnt5++;
}
if (A == 7) {
cnt7++;
}
if (B == 5) {
cnt5++;
}
if (B == 7) {
cnt7++;
}
if (C == 5) {
cnt5++;
}
if (C == 7) {
cnt7++;
}... | [
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove"
] | 1,527,052 | 1,527,051 | u191114518 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<ll, ll>;
using vi = vector<ll>;
using vvi = vector<vi>;
using vb = vector<bool>;
using vs = vector<string>;
using vp = vector<pii>;
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define sz(c) (ll)((c).siz... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<ll, ll>;
using vi = vector<ll>;
using vvi = vector<vi>;
using vb = vector<bool>;
using vs = vector<string>;
using vp = vector<pii>;
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define sz(c) (ll)((c).siz... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,527,053 | 1,527,054 | u073139376 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int five = 0;
int seven = 0;
if (A == 5)
five += 1;
if (A == 7)
seven += 1;
if (B == 5)
five += 1;
if (B == 7)
seven += 1;
if (C == 5)
five += 1;
if (C == 7)
seven += 1;
if (five == 2... | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int five = 0;
int seven = 0;
if (A == 5)
five += 1;
if (A == 7)
seven += 1;
if (B == 5)
five += 1;
if (B == 7)
seven += 1;
if (C == 5)
five += 1;
if (C == 7)
seven += 1;
if (five == 2... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,055 | 1,527,056 | u311961196 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
char 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"
<< "\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 == 5) && (b == 5) && (c == 7)) ||
((a == 7) && (b == 5) && (c == 5)) || ((a == 5) && (b == 7) && (c == 5)))
cout << "YES"
<< "\n";
else
cout << "NO"
<< "\n";
return 0;
}
| [
"variable_declaration.type.primitive.change"
] | 1,527,057 | 1,527,058 | u191446830 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b = 0, c = 0;
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5)
b++;
if (a == 7)
c++;
}
if (b == 1 && c == 2)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b = 0, c = 0;
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5)
b++;
if (a == 7)
c++;
}
if (c == 1 && b == 2)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,527,059 | 1,527,060 | u346324165 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b = 0, c = 0;
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5)
b++;
if (a == 7)
c++;
}
if (b == 1 && b == 2)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b = 0, c = 0;
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5)
b++;
if (a == 7)
c++;
}
if (c == 1 && b == 2)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,527,061 | 1,527,060 | u346324165 | 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,064 | 1,527,065 | u147429674 | cpp |
p04043 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a[3];
for (int i = 0; i < 3; i++)
cin >> a[i];
sort(a, a + 3);
if (a[0] == 5 && a[1] == 5 && a[2] == 7) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a[3];
for (int i = 0; i < 3; i++)
cin >> a[i];
sort(a, a + 3);
if (a[0] == 5 && a[1] == 5 && a[2] == 7) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,070 | 1,527,071 | u035210736 | cpp |
p04043 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define reps(i, n) for (int i = 1, i##_len = (n); i <= i##_len; ++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 ALL(x) (x).begin(), (x).end()
#defi... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define reps(i, n) for (int i = 1, i##_len = (n); i <= i##_len; ++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 ALL(x) (x).begin(), (x).end()
#defi... | [
"expression.operator.arithmetic.change",
"control_flow.loop.for.condition.change",
"io.output.change",
"literal.string.change",
"literal.string.case.change"
] | 1,527,074 | 1,527,075 | u890870565 | cpp |
p04043 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define reps(i, n) for (int i = 1, i##_len = (n); i <= i##_len; ++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 ALL(x) (x).begin(), (x).end()
#defi... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define reps(i, n) for (int i = 1, i##_len = (n); i <= i##_len; ++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 ALL(x) (x).begin(), (x).end()
#defi... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,076 | 1,527,075 | u890870565 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a > b)
swap(a, b);
if (b > c)
swap(b, c);
if (a > c)
swap(a, c);
if (a == 5 && b == 5 && 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)
swap(a, b);
if (b > c)
swap(b, c);
if (a > c)
swap(a, c);
if (a == 5 && b == 5 && c == 7)
cout << "YES";
else
cout << "NO";
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,077 | 1,527,078 | u061231057 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a > b)
swap(a, b);
if (b > c)
swap(b, c);
if (a > c)
swap(a, c);
if (a == 5 && b == 7 && c == 5)
cout << "Yes";
else
cout << "No";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a > b)
swap(a, b);
if (b > c)
swap(b, c);
if (a > c)
swap(a, c);
if (a == 5 && b == 5 && 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,079 | 1,527,078 | u061231057 | 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;
}
}
| [] | 1,527,094 | 1,527,095 | u861277199 | 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] == 5 && a[2] == 7)
cout << "yes";
else
cout << "no";
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";
else
cout << "NO";
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,131 | 1,527,132 | u300092270 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, d = 0, e = 0;
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5)
d++;
if (a == 7)
e++;
}
if (a == 2 and e == 1)
cout << "YES";
else
cout << "NO";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, d = 0, e = 0;
for (int i = 0; i < 3; i++) {
cin >> a;
if (a == 5)
d++;
if (a == 7)
e++;
}
if (d == 2 and e == 1)
cout << "YES";
else
cout << "NO";
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,527,140 | 1,527,141 | u712534097 | cpp |
p04043 | #include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a == 5 && b == 5 && c == 7)
printf("YES");
if (a == 5 && b == 7 && c == 5)
printf("YES");
if (a == 7 && b == 5 && c == 5)
printf("YES");
else
printf("NO");
return 0;
} | #include <stdio.h>
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a == 5 && b == 5 && c == 7)
printf("YES");
else if (a == 5 && b == 7 && c == 5)
printf("YES");
else if (a == 7 && b == 5 && c == 5)
printf("YES");
else
printf("NO");
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,527,157 | 1,527,158 | u018679195 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
int sum5 = 0;
int sum7 = 0;
if (a == 7)
sum7++;
if (a == 5)
sum5++;
if (b == 7)
sum7++;
if (b == 5)
sum5++;
if (... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
int sum5 = 0;
int sum7 = 0;
if (a == 7)
sum7++;
if (a == 5)
sum5++;
if (b == 7)
sum7++;
if (b == 5)
sum5++;
if (... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,159 | 1,527,160 | u018679195 | cpp |
p04043 | #include <stdio.h>
int main() {
int A, B, C;
scanf("%d%d%d", &A, &B, &C);
if (A == 5 && B == 5 && C == 7)
printf("YES\n");
else if (A = 5 && B == 7 && C == 5)
printf("YES\n");
else if (A == 7 && B == 5 && C == 5)
printf("YES\n");
else
printf("NO\n");
}
| #include <stdio.h>
int main() {
int A, B, C;
scanf("%d%d%d", &A, &B, &C);
if (A == 5 && B == 7 && C == 5)
printf("YES\n");
else if (A == 5 && B == 5 && C == 7)
printf("YES\n");
else if (A == 7 && B == 5 && C == 5)
printf("YES\n");
else
printf("NO\n");
}
| [
"control_flow.branch.if.add",
"call.add",
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove",
"call.remove"
] | 1,527,161 | 1,527,162 | u018679195 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define Pi acos(-1)
#define _terminated return 0
#define endl "\n"
#define yes cout << "yes" << endl
#define no cout << "no" << endl
#define booster \
ios_base::sync_with_stdio(false); ... | #include <bits/stdc++.h>
using namespace std;
#define Pi acos(-1)
#define _terminated return 0
#define endl "\n"
#define yes cout << "yes" << endl
#define no cout << "no" << endl
#define booster \
ios_base::sync_with_stdio(false); ... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,527,163 | 1,527,164 | u863370423 | cpp |
p04043 |
#include <bits/stdc++.h>
#define lln long long int
#define llu unsigned lln
#define sc(n) scanf("%d", &n);
#define scl(n) scanf("%lld", &n);
#define scd(n) scanf("%lf", &n);
#define pf(res) printf("%d\n", res);
#define pfl(res) printf("%lld\n", res);
#define pfd(res) printf("%lf\n", res);
#define maxii 100005
using na... | #include <bits/stdc++.h>
#define lln long long int
#define llu unsigned lln
#define sc(n) scanf("%d", &n);
#define scl(n) scanf("%lld", &n);
#define scd(n) scanf("%lf", &n);
#define pf(res) printf("%d\n", res);
#define pfl(res) printf("%lld\n", res);
#define pfd(res) printf("%lf\n", res);
#define maxii 100005
using nam... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,527,165 | 1,527,166 | u863370423 | cpp |
p04043 | #include <stdio.h>
int main() {
int a;
int f = 0;
int s = 0;
for (int i = 0; i < 3; i++) {
scanf("%d", &a);
if (a == 5)
f++;
if (a == 7)
s++;
}
if (f == 2 && s == 1)
printf("YSE");
else
printf("NO");
} | #include <stdio.h>
int main() {
int a;
int f = 0;
int s = 0;
for (int i = 0; i < 3; i++) {
scanf("%d", &a);
if (a == 5)
f++;
if (a == 7)
s++;
}
if (f == 2 && s == 1)
printf("YES");
else
printf("NO");
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,527,169 | 1,527,170 | u863370423 | cpp |
p04043 | #include <cstdio>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a == 5 && b == 7 && c == 5)
printf("YSE\n");
else if (a == 7 && b == 5 && c == 5)
printf("YSE\n");
else if (a == 5 && b == 5 && c == 7)
printf("YSE\n");
else
printf("NO\n");
return 0;
} | #include <cstdio>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a == 5 && b == 7 && c == 5)
printf("YES\n");
else if (a == 7 && b == 5 && c == 5)
printf("YES\n");
else if (a == 5 && b == 5 && c == 7)
printf("YES\n");
else
printf("NO\n");
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,527,171 | 1,527,172 | u863370423 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int a;
int b;
int c;
cin >> a >> b >> c;
string h = ((a + b + c) == 17) ? "yes" : "no";
cout << h;
} | #include <iostream>
using namespace std;
int main() {
int a;
int b;
int c;
cin >> a >> b >> c;
string h = ((a + b + c) == 17) ? "YES" : "NO";
cout << h;
} | [
"literal.string.change",
"literal.string.case.change"
] | 1,527,179 | 1,527,180 | u242220327 | 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) ||
(c == 7 && a == 5 && b == 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 == 7 && b == 5 && c == 5) || (a == 5 && b == 7 && c == 5) ||
(c == 7 && a == 5 && b == 5))
cout << "YES";
else
cout << "NO";
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,181 | 1,527,182 | u350066778 | cpp |
p04043 | #include <iostream>
#include <string>
#define loop(i, n) for (int i = 0; i < (int)n; i++)
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 << "FAL... | #include <iostream>
#include <string>
#define loop(i, n) for (int i = 0; i < (int)n; i++)
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"... | [
"literal.string.change",
"io.output.change"
] | 1,527,183 | 1,527,184 | u703409667 | cpp |
p04043 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstddef>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <utility>
#include <vector>
#define ll long long
#define ull unsigned long long... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstddef>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <utility>
#include <vector>
#define ll long long
#define ull unsigned long long... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,195 | 1,527,196 | u509924582 | cpp |
p04043 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> v(3);
for (int i = 0; i < 3; i++) {
cin >> v.at(i);
}
int cnt5, cnt7;
cnt5 = count(v.begin(), v.end(), 5);
cnt7 = count(v.begin(), v.end(), 7);
if (cnt5 == 2 && cnt7 == 1) {
cout << "Yes" <<... | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> v(3);
for (int i = 0; i < 3; i++) {
cin >> v.at(i);
}
int cnt5, cnt7;
cnt5 = count(v.begin(), v.end(), 5);
cnt7 = count(v.begin(), v.end(), 7);
if (cnt5 == 2 && cnt7 == 1) {
cout << "YES" <<... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,197 | 1,527,198 | u643145482 | cpp |
p04043 | #include <stdio.h>
int main() {
int a, b, c, max;
scanf("%d %d %d", &a, &b, &c);
if (a > b && a > c)
max = a;
if (b > a && b > c)
max = b;
if (c > a && c > b)
max = c;
if (max == 7) {
if (a * b * c == 175 && a + b + c == 17)
printf("yes");
else
printf("no");
} else
prin... | #include <stdio.h>
int main() {
int a, b, c, max;
scanf("%d %d %d", &a, &b, &c);
if (a > b && a > c)
max = a;
if (b > a && b > c)
max = b;
if (c > a && c > b)
max = c;
if (max == 7) {
if (a * b * c == 175 && a + b + c == 17)
printf("YES\n");
else
printf("NO\n");
} else
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 1,527,205 | 1,527,206 | u353919145 | cpp |
p04043 | #include <stdio.h>
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a + b + c == 17 && (a + b == 12 || a + b == 10))
printf("yes\n");
else
printf("no\n");
return 0;
} | #include <stdio.h>
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a + b + c == 17 && (a + b == 12 || a + b == 10))
printf("YES\n");
else
printf("NO\n");
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,527,207 | 1,527,208 | u353919145 | cpp |
p04043 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <new>
#include <set>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
int main() {
vector<int> vec(3);
for (int i = 0; i < 3; ++i) {
... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <new>
#include <set>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
int main() {
vector<int> vec(3);
for (int i = 0; i < 3; ++i) {
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,211 | 1,527,212 | u638221831 | cpp |
p04043 | #include <algorithm>
#include <cstring>
#include <iostream>
#include <iterator>
#include <math.h>
#include <stdio.h>
#include <vector>
using namespace std;
void lets_play()
{
int a[10], i;
int c1 = 0, c2 = 0;
for (i = 0; i < 3; i++) {
cin >> a[i];
}
if (a[0] == 5 && a[1] == 5 && a[2] == 7 ||
a[0] ... | #include <algorithm>
#include <cstring>
#include <iostream>
#include <iterator>
#include <math.h>
#include <stdio.h>
#include <vector>
using namespace std;
void lets_play()
{
int a[10], i;
int c1 = 0, c2 = 0;
for (i = 0; i < 3; i++) {
cin >> a[i];
}
if (a[0] == 5 && a[1] == 5 && a[2] == 7 ||
a[0] ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,220 | 1,527,221 | u218801345 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, n5, n7;
cin >> a >> b >> c;
if (a == 5)
n5++;
if (a == 7)
n7++;
if (b == 5)
n5++;
if (b == 7)
n7++;
if (c == 5)
n5++;
if (c == 7)
n7++;
if (n5 == 2 && n7 == 1) {
cout << "YES";
} else {
cout << ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, n5 = 0, n7 = 0;
cin >> a >> b >> c;
if (a == 5)
n5++;
if (a == 7)
n7++;
if (b == 5)
n5++;
if (b == 7)
n7++;
if (c == 5)
n5++;
if (c == 7)
n7++;
if (n5 == 2 && n7 == 1) {
cout << "YES";
} else {
... | [
"variable_declaration.value.change"
] | 1,527,222 | 1,527,223 | u495440415 | 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 (vec.at(0) == 7 && vec.at(1) == 5 && vec.at(2) == 5) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
}
| #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 (vec.at(0) == 5 && vec.at(1) == 5 && vec.at(2) == 7) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,527,249 | 1,527,250 | u714796740 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#ifdef ARTEM
#define deb(x) x
#else
#define deb(x)
const int LIMIT = 2 * int(1e5) + 123;
#endif
void solve();
int main() { solve(); }
/* ================ actual code starts here ================ */
void solve() {
vector<int> a(3);
for (int i = 0; i < 3; i++)
s... | #include <bits/stdc++.h>
using namespace std;
#ifdef ARTEM
#define deb(x) x
#else
#define deb(x)
const int LIMIT = 2 * int(1e5) + 123;
#endif
void solve();
int main() { solve(); }
/* ================ actual code starts here ================ */
void solve() {
vector<int> a(3);
for (int i = 0; i < 3; i++)
s... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,527,251 | 1,527,252 | u116026181 | cpp |
p04043 | #include <bits/stdc++.h>
#define rep(i, N) for (int i = 0; i < (N); ++i)
#define all(v) v.begin(), v.end()
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main(void) {
int a[3];
rep(i, 3) cin >> a[i];
int five = 0;
int seven = 0;
rep(i, 3) {
if (a[i] == 5)
five++;
if (a... | #include <bits/stdc++.h>
#define rep(i, N) for (int i = 0; i < (N); ++i)
#define all(v) v.begin(), v.end()
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main(void) {
int a[3];
rep(i, 3) cin >> a[i];
int five = 0;
int seven = 0;
rep(i, 3) {
if (a[i] == 5)
five++;
if (a... | [
"control_flow.branch.if.condition.change"
] | 1,527,254 | 1,527,255 | u437633151 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool ans = false;
if (A == 7) {
if (B == 5) {
if (C == 5) {
ans = true;
}
}
} else if (A == 5) {
if (B == 5) {
if (C == 7) {
ans = true;
}
} else if (B == 7) {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
bool ans = false;
if (A == 7) {
if (B == 5) {
if (C == 5) {
ans = true;
}
}
}
if (A == 5) {
if (B == 5) {
if (C == 7) {
ans = true;
}
} else if (B == 7) {
... | [
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.condition.change"
] | 1,527,256 | 1,527,257 | u514072920 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
typedef long long ll;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C != 17) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
typedef long long ll;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A + B + C != 17) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,262 | 1,527,263 | u731129806 | cpp |
p04043 | #include <iostream>
using namespace std;
int main() {
int counts[2] = {0, 0};
int A, B, C;
cin >> A >> B >> C;
int x[3] = {A, B, C};
for (int i = 0; i < 3; i++) {
if (x[i] == 5)
counts[0]++;
if (x[i] == 7)
counts[1]++;
}
cout << (counts[0] == 2 && counts[1] == 1 ? "Yes" : "No") << end... | #include <iostream>
using namespace std;
int main() {
int counts[2] = {0, 0};
int A, B, C;
cin >> A >> B >> C;
int x[3] = {A, B, C};
for (int i = 0; i < 3; i++) {
if (x[i] == 5)
counts[0]++;
if (x[i] == 7)
counts[1]++;
}
cout << (counts[0] == 2 && counts[1] == 1 ? "YES" : "NO") << end... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,274 | 1,527,275 | u519091008 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * B * C == 175 && A + B + C == 17 && A * B + B * C + C * A == 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 == 175 && A + B + C == 17 && A * B + B * C + C * A == 95) {
cout << "YES" << endl;
}
else {
cout << "NO" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,285 | 1,527,286 | u270542748 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * B * C == 245 && A + B + C == 19 && A * B + B * C + C * A == 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 == 175 && A + B + C == 17 && A * B + B * C + C * A == 95) {
cout << "YES" << endl;
}
else {
cout << "NO" << endl;
}
} | [
"literal.number.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,287 | 1,527,286 | u270542748 | cpp |
p04043 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using p = pair<int, int>;
int main() {
vector<int> v;
vector<int> a = {5, 5, 7};
for (int i = 0; i < 3; ++i) {
int n;
cin >> n;
v.push_back(n);
}
sort(v.begin(), v.end());
if ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using p = pair<int, int>;
int main() {
vector<int> v;
vector<int> a = {5, 5, 7};
for (int i = 0; i < 3; ++i) {
int n;
cin >> n;
v.push_back(n);
}
sort(v.begin(), v.end());
if ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,296 | 1,527,297 | u258102233 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int number[3], tmp;
for (int n = 0; n < 3; n++) {
cin >> number[n];
}
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < 3; ++j) {
if (number[i] > number[j]) {
tmp = number[i];
number[i] = number[j];
number[j] = tmp... | #include <bits/stdc++.h>
using namespace std;
int main() {
int number[3], tmp;
for (int n = 0; n < 3; n++) {
cin >> number[n];
}
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < 3; ++j) {
if (number[i] > number[j]) {
tmp = number[i];
number[i] = number[j];
number[j] = tmp... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,298 | 1,527,299 | u002960120 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
/*xとyを入れ替える関数
inline void num_swap(int& x, int& y){
int tmp;
tmp = x;
x = y;
y = tmp;
}*/
int main() {
int number[3], tmp;
bool judg;
for (int n = 0; n < 3; n++) {
cin >> number[n];
}
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < 3; ++j) {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int number[3], tmp;
for (int n = 0; n < 3; n++) {
cin >> number[n];
}
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < 3; ++j) {
if (number[i] > number[j]) {
tmp = number[i];
number[i] = number[j];
number[j] = tmp... | [
"variable_declaration.remove",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,300 | 1,527,299 | u002960120 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
/*xとyを入れ替える関数
inline void num_swap(int& x, int& y){
int tmp;
tmp = x;
x = y;
y = tmp;
}*/
int main() {
int number[3], tmp;
bool judg;
for (int n = 0; n < 3; n++) {
cin >> number[n];
}
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < 3; ++j) {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int number[3], tmp;
for (int n = 0; n < 3; n++) {
cin >> number[n];
}
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < 3; ++j) {
if (number[i] > number[j]) {
tmp = number[i];
number[i] = number[j];
number[j] = tmp... | [
"variable_declaration.remove",
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,301 | 1,527,299 | u002960120 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c != 17) {
cout << "No";
return 0;
}
if ((a == 7 || a == 5) && (b == 7 || b == 5) && (c == 7 || c == 5))
cout << "Yes";
cout << "No";
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a + b + c != 17) {
cout << "NO";
return 0;
}
if ((a == 7 || a == 5) && (b == 7 || b == 5) && (c == 7 || c == 5))
cout << "YES";
else
cout << "NO";
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,527,311 | 1,527,309 | u582940224 | 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 == 7 && b == 5 && c == 5) {
cout << "Yes" << endl;
} else if (a == 5 && b == 7 && c == 5) {
cout << "Yes" << endl;
} else
cou... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 5 && b == 5 && c == 7) {
cout << "YES" << endl;
} else if (a == 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,320 | 1,527,321 | u960549892 | cpp |
p04043 | #include <iostream>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && C == 5 && B == 7)
cout << "Yes" << endl;
else if (A == 5 && C == 7 && B == 5)
cout << "Yes" << endl;
else if (A == 7 && C == 5 && B == 5)
cout << "Yes" << endl;
else
cout << "No" << endl... | #include <iostream>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
if (A == 5 && C == 5 && B == 7)
cout << "YES" << endl;
else if (A == 5 && C == 7 && B == 5)
cout << "YES" << endl;
else if (A == 7 && C == 5 && B == 5)
cout << "YES" << endl;
else
cout << "NO" << endl... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,333 | 1,527,334 | u998349161 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> vec(3);
for (int i = 3; i < 3; i++) {
cin >> vec.at(i);
}
sort(vec.begin(), vec.end());
if (vec.at(0) == 5 && vec.at(1) == 5 && vec.at(2) == 7) {
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 (vec.at(0) == 5 && vec.at(1) == 5 && vec.at(2) == 7) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change"
] | 1,527,335 | 1,527,336 | u057609801 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int F = 0;
int S = 0;
for (int i = 0; i < 3; i++) {
int n;
cin >> n;
if (n == 5) {
F++;
} else if (n == 7) {
S++;
}
}
if ((F == 2) && (S == 1)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int F = 0;
int S = 0;
for (int i = 0; i < 3; i++) {
int n;
cin >> n;
if (n == 5) {
F++;
} else if (n == 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,527,340 | 1,527,341 | u678247192 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
a = 100 * a + 10 * b + c;
cout << (a == 755 || a == 575 || a == 557 ? "Yes" : "No");
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
a = 100 * a + 10 * b + c;
cout << (a == 755 || a == 575 || a == 557 ? "YES" : "NO");
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,346 | 1,527,347 | u018372223 | cpp |
p04043 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * B * C == 5 * 5 * 7 && A + B + C == 5 + 5 + 7) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * B * C == 5 * 5 * 7 && A + B + C == 5 + 5 + 7) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,350 | 1,527,351 | u557346526 | 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 << "N... | #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... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,527,354 | 1,527,355 | u279848598 | 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 << "N... | #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... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,527,357 | 1,527,355 | u279848598 | cpp |
p04043 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define SZ(x) ((int)(x).size())
using namespace std;
using lint = long long; //
template <typename T> T sq(T x) { return x * x; }
signed main() {
vector<int> A(3);
rep(i, 3) { cin >> A.at(i); }
if ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define SZ(x) ((int)(x).size())
using namespace std;
using lint = long long; //
template <typename T> T sq(T x) { return x * x; }
signed main() {
vector<int> A(3);
rep(i, 3) { cin >> A.at(i); }
if ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,527,365 | 1,527,366 | u793829136 | cpp |
p04043 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int sum = a + b + c;
if ((a == 5 || a == 7) && (b == 5 || b == 7) && (c == 5 || c == 7) &&
(sum = 17)) {
cout << "YES" << endl;
} else {
... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int sum = a + b + c;
if ((a == 5 || a == 7) && (b == 5 || b == 7) && (c == 5 || c == 7) &&
(sum == 17)) {
cout << "YES" << endl;
} else {
... | [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,527,369 | 1,527,370 | u614159574 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.