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 |
|---|---|---|---|---|---|---|---|
p03711 | #pragma GCC optimize "-O3"
#pragma GCC target("avx")
#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
#define int long long
#define rep(i, n) for (int i = 0; i < n; ++i)
#define vi vector<int>
#define vvi vector<vi>
#define pb push_back
#define pi pair<int, int>
#define vp vector<pair<int, int>>
#define mp make_pair
... | #pragma GCC optimize "-O3"
#pragma GCC target("avx")
#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
#define int long long
#define rep(i, n) for (int i = 0; i < n; ++i)
#define vi vector<int>
#define vvi vector<vi>
#define pb push_back
#define pi pair<int, int>
#define vp vector<pair<int, int>>
#define mp make_pair
... | [
"control_flow.branch.if.condition.change"
] | 1,377,784 | 1,377,785 | u775507068 | cpp |
p03711 | #define _CRT_SECURE_NO_WARNINGS
#include <bits/stdc++.h>
using namespace std;
#ifndef FAST_IO
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(nullptr);
#endif
#define FILE_IO freopen("input.txt",... | #define _CRT_SECURE_NO_WARNINGS
#include <bits/stdc++.h>
using namespace std;
#ifndef FAST_IO
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(nullptr);
#endif
#define FILE_IO freopen("input.txt",... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,377,786 | 1,377,787 | u572138437 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> vec;
vec = {0, 1, 0, 2, 0, 2, 0, 0, 2, 0, 2, 0};
int X, Y;
cin >> X >> Y;
if (vec[X] == vec[Y]) {
cout << "Yes";
} else {
cout << "No";
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> vec;
vec = {3, 0, 1, 0, 2, 0, 2, 0, 0, 2, 0, 2, 0};
int X, Y;
cin >> X >> Y;
if (vec[X] == vec[Y]) {
cout << "Yes";
} else {
cout << "No";
}
}
| [] | 1,377,790 | 1,377,791 | u224951113 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> a = {1, 3, 5, 7, 8, 10, 12};
vector<int> b = {4, 6, 9, 11};
bool xbool = false;
bool ybool = false;
int x, y;
cin >> x, y;
for (int i : a) {
if (i == x)
xbool = true;
if (i == y)
ybool = true;
}
if (xbool && ... | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> a = {1, 3, 5, 7, 8, 10, 12};
vector<int> b = {4, 6, 9, 11};
bool xbool = false;
bool ybool = false;
int x, y;
cin >> x >> y;
for (int i : a) {
if (i == x)
xbool = true;
if (i == y)
ybool = true;
}
if (xbool &... | [] | 1,377,794 | 1,377,795 | u025534127 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
vector<int> data;
data = {0, 2, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0};
int A = data[a], B = data[b];
if (A == B) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
vector<int> data;
data = {0, 0, 2, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0};
int A = data[a], B = data[b];
if (A == B) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [] | 1,377,800 | 1,377,801 | u532401120 | cpp |
p03711 | #include <cstdio>
#include <ctype.h>
#include <iostream>
#include <string>
using namespace std;
int main() {
int x, y;
int a[7] = {1, 3, 5, 7, 8, 10, 12};
int b[4] = {4, 6, 9, 11};
int c[1] = {2};
bool x_a = false;
bool x_b = false;
bool x_c = false;
bool y_a = false;
bool y_b = false;
bool y_c = fa... | #include <cstdio>
#include <ctype.h>
#include <iostream>
#include <string>
using namespace std;
int main() {
int x, y;
int a[7] = {1, 3, 5, 7, 8, 10, 12};
int b[4] = {4, 6, 9, 11};
int c[1] = {2};
bool x_a = false;
bool x_b = false;
bool x_c = false;
bool y_a = false;
bool y_b = false;
bool y_c = fa... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,377,802 | 1,377,803 | u426572476 | cpp |
p03711 | #include <cstdio>
#include <ctype.h>
#include <iostream>
#include <string>
using namespace std;
int main() {
int x, y;
int a[7] = {1, 3, 5, 7, 8, 10, 12};
int b[4] = {4, 6, 9, 11};
int c[1] = {2};
bool x_a = false;
bool x_b = false;
bool x_c = false;
bool y_a = false;
bool y_b = false;
bool y_c = fa... | #include <cstdio>
#include <ctype.h>
#include <iostream>
#include <string>
using namespace std;
int main() {
int x, y;
int a[7] = {1, 3, 5, 7, 8, 10, 12};
int b[4] = {4, 6, 9, 11};
int c[1] = {2};
bool x_a = false;
bool x_b = false;
bool x_c = false;
bool y_a = false;
bool y_b = false;
bool y_c = fa... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,377,804 | 1,377,803 | u426572476 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
int a[7] = {1, 3, 5, 7, 8, 10, 12};
int b[4] = {4, 6, 9, 11};
int c[1] = {2};
cin >> x >> y;
for (int i = 0; i < 7; i++) {
if (x == a[i]) {
x = 100;
}
if (y == a[i]) {
y = 100;
}
}
for (int i = 0; i < 4; ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
int a[7] = {1, 3, 5, 7, 8, 10, 12};
int b[4] = {4, 6, 9, 11};
int c[1] = {2};
cin >> x >> y;
for (int i = 0; i < 7; i++) {
if (x == a[i]) {
x = 100;
}
if (y == a[i]) {
y = 100;
}
}
for (int i = 0; i < 4; ... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,377,813 | 1,377,814 | u950901760 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if (x == 2) {
cout << "No" << endl;
}
if (x == 4 || x == 6 || x == 9 || x == 11) {
if (y == 4 || y == 6 || y == 9 || y == 11) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
}
e... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if (x == 2) {
cout << "No" << endl;
}
else if (x == 4 || x == 6 || x == 9 || x == 11) {
if (y == 4 || y == 6 || y == 9 || y == 11) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
}... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,377,819 | 1,377,820 | u881685931 | cpp |
p03711 | #include <stdbool.h>
#include <stdio.h>
int main() {
int x, y, aa, bb;
int a[7] = {1, 3, 5, 7, 8, 10, 12};
int b[4] = {4, 6, 9, 11};
int c = 2;
bool xflag, yflag;
scanf("%d %d", &x, &y);
xflag = false;
yflag = false;
for (aa = 0; aa < 7; aa++) {
if (x == a[aa])
xflag = true;
if (y == ... | #include <stdbool.h>
#include <stdio.h>
int main() {
int x, y, aa, bb;
int a[7] = {1, 3, 5, 7, 8, 10, 12};
int b[4] = {4, 6, 9, 11};
int c = 2;
bool xflag, yflag;
scanf("%d %d", &x, &y);
xflag = false;
yflag = false;
for (aa = 0; aa < 7; aa++) {
if (x == a[aa])
xflag = true;
if (y == ... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,377,821 | 1,377,822 | u114722281 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
//グループを配列でとっておく
int num[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
if (num[x] == num[y]) { /*x番目とy番目が同じならyes*/
cout << "Yes" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
//グループを配列でとっておく
int num[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
if (num[x] == num[y]) { /*x番目とy番目が同じならyes*/
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,377,823 | 1,377,824 | u733774002 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)n; ++i)
#define REP(i, a, b) for (int i = (int)a; i < (int)b; ++i)
#define each(i, c) \
for (__typeof((c).begin()) i = (c).begin(); i != (c).end(); ++i)
#define all(v)... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)n; ++i)
#define REP(i, a, b) for (int i = (int)a; i < (int)b; ++i)
#define each(i, c) \
for (__typeof((c).begin()) i = (c).begin(); i != (c).end(); ++i)
#define all(v)... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,377,831 | 1,377,832 | u569778242 | cpp |
p03711 | #include <algorithm>
#include <cctype>
#include <cstdlib>
#include <iostream>
#include <string>
#define rep(i, n) for (int i = 0; i < n; ++i)
using namespace std;
int comp(const void *a, const void *b) { return *(int *)a - *(int *)b; }
int main() {
int x, y, xin, yin;
cin >> x >> y;
int g[] = {1, 3, 5, 7, 8, 10... | #include <algorithm>
#include <cctype>
#include <cstdlib>
#include <iostream>
#include <string>
#define rep(i, n) for (int i = 0; i < n; ++i)
using namespace std;
int comp(const void *a, const void *b) { return *(int *)a - *(int *)b; }
int main() {
int x, y, xin, yin;
cin >> x >> y;
int g[] = {1, 3, 5, 7, 8, 10... | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,377,837 | 1,377,838 | u373164102 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
unordered_set<int> set2;
set2.insert(4);
set2.insert(6);
set2.insert(9);
set2.insert(1);
int x, y;
cin >> x >> y;
if (x == 2 || y == 2) {
cout << "No" << endl;
} else if (set2.count(x) && set2.count(y)) {
cout << "Yes" << endl;
} e... | #include <bits/stdc++.h>
using namespace std;
int main() {
unordered_set<int> set2;
set2.insert(4);
set2.insert(6);
set2.insert(9);
set2.insert(11);
int x, y;
cin >> x >> y;
if (x == 2 || y == 2) {
cout << "No" << endl;
} else if (set2.count(x) && set2.count(y)) {
cout << "Yes" << endl;
} ... | [
"literal.number.change",
"call.arguments.change"
] | 1,377,845 | 1,377,846 | u784448849 | cpp |
p03711 | #include <algorithm>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
int main() {
vector<int> a;
a = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int x, y;
cin >> x >> y;
if (a[x] == a[y]) {
cout << "Yes" << endl;
}
cout << "No" << endl;
} | #include <algorithm>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
int main() {
vector<int> a;
a = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int x, y;
cin >> x >> y;
if (a[x] == a[y]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"control_flow.branch.else.add"
] | 1,377,849 | 1,377,850 | u539675863 | cpp |
p03711 | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdarg>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <v... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdarg>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <v... | [] | 1,377,851 | 1,377,852 | u168578024 | cpp |
p03711 | #include <iostream>
using namespace std;
int a[] = {1, 3, 5, 7, 8, 10, 12};
int b[] = {4, 6, 9, 11};
int c[] = {2};
int x, y;
bool in_arr(int *a, int x, int n) {
for (int i = 0; i < n; i++) {
if (a[i] == x)
return true;
}
return false;
}
int main() {
cin >> x >> y;
if (in_arr(a, x, 7) && in_arr(a, ... | #include <iostream>
using namespace std;
int a[] = {1, 3, 5, 7, 8, 10, 12};
int b[] = {4, 6, 9, 11};
int c[] = {2};
int x, y;
bool in_arr(int *a, int x, int n) {
for (int i = 0; i < n; i++) {
if (a[i] == x)
return true;
}
return false;
}
int main() {
cin >> x >> y;
if (in_arr(a, x, 7) && in_arr(a, ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,377,869 | 1,377,870 | u876442898 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
const string YES = "Yes";
const string NO = "No";
auto solve(long long x, long long y) {
int gs[] = {0, 1, 3, 1, 2, 5, 2, 1, 1, 2, 1, 2, 1};
return gs[x] == gs[y] ? YES : NO;
}
int main() {
long long x;
scanf("%lld", &x);
long long y;
scanf("%lld", &y);
aut... | #include <bits/stdc++.h>
using namespace std;
const string YES = "Yes";
const string NO = "No";
auto solve(long long x, long long y) {
int gs[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
return gs[x] == gs[y] ? YES : NO;
}
int main() {
long long x;
scanf("%lld", &x);
long long y;
scanf("%lld", &y);
aut... | [
"literal.number.change"
] | 1,377,875 | 1,377,876 | u206460435 | cpp |
p03711 | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <math.h>
#include <stack>
#include <string>
#include <vector>
#define Z class
#define ln cout << '\n'
#define ll long long
#define rep(i, n) for (int i = 0; i < (n); ++i)
// ASCII a=97, A=65
// int H... | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <math.h>
#include <stack>
#include <string>
#include <vector>
#define Z class
#define ln cout << '\n'
#define ll long long
#define rep(i, n) for (int i = 0; i < (n); ++i)
// ASCII a=97, A=65
// int H... | [] | 1,377,877 | 1,377,878 | u496074393 | cpp |
p03711 | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <math.h>
#include <stack>
#include <string>
#include <vector>
#define Z class
#define ln cout << '\n'
#define ll long long
#define rep(i, n) for (int i = 0; i < (n); ++i)
// ASCII a=97, A=65
// int H... | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <math.h>
#include <stack>
#include <string>
#include <vector>
#define Z class
#define ln cout << '\n'
#define ll long long
#define rep(i, n) for (int i = 0; i < (n); ++i)
// ASCII a=97, A=65
// int H... | [] | 1,377,879 | 1,377,878 | u496074393 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int x, y;
cin >> x >> y;
string ans;
if (a[x] == a[y]) {
ans = "YES";
} else {
ans = "NO";
}
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int x, y;
cin >> x >> y;
string ans;
if (a[x] == a[y]) {
ans = "Yes";
} else {
ans = "No";
}
cout << ans << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 1,377,880 | 1,377,881 | u552201227 | cpp |
p03711 | #include <iostream>
#include <algorithm>
#include <string>
using namespace std;
int main() {
int setA[] = {1, 3, 5, 7, 8, 10, 12};
int setB[] = {4, 6, 9, 11};
int setC[] = {2};
int x, y;
cin >> x >> y;
bool fx = false, fy = false;
for (int i = 0; i < 7; i++) {
if (x == setA[i])
fx = true;
... | #include <iostream>
#include <algorithm>
#include <string>
using namespace std;
int main() {
int setA[] = {1, 3, 5, 7, 8, 10, 12};
int setB[] = {4, 6, 9, 11};
int setC[] = {2};
int x, y;
cin >> x >> y;
bool fx = false, fy = false;
for (int i = 0; i < 7; i++) {
if (x == setA[i])
fx = true;
... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,377,901 | 1,377,902 | u491550356 | cpp |
p03711 | #include <algorithm> // std::copy()
#include <cctype> // std::isdigit()
#include <climits> // INT_MIN
#include <cmath>
#include <cstdio>
#include <functional> // std::greater<T>()
#include <iostream>
#include <iterator> // std::back_inserter()
#include <numeric> // accumulate(ALL(vec), 0) 0 は初期値
#include <string... | #include <algorithm> // std::copy()
#include <cctype> // std::isdigit()
#include <climits> // INT_MIN
#include <cmath>
#include <cstdio>
#include <functional> // std::greater<T>()
#include <iostream>
#include <iterator> // std::back_inserter()
#include <numeric> // accumulate(ALL(vec), 0) 0 は初期値
#include <string... | [
"literal.number.change"
] | 1,377,915 | 1,377,916 | u870998297 | cpp |
p03711 | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
//グループごとに番号を振っている
int a[13] = {0, 1, 3, 1, 2, 3, 2, 1, 1, 2, 1, 2, 1};
if (a[x] == a[y])
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
//グループごとに番号を振っている
int a[13] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
if (a[x] == a[y])
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [
"literal.number.change"
] | 1,377,938 | 1,377,939 | u513736711 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> N = {0, 2, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0};
int x, y;
cin >> x >> y;
cout << (N[++x] == N[++y] ? "Yes" : "No");
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> N = {0, 2, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0};
int x, y;
cin >> x >> y;
cout << (N[--x] == N[--y] ? "Yes" : "No");
return 0;
}
| [
"variable_access.subscript.index.change",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 1,377,942 | 1,377,943 | u705499360 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int Group(int x) {
if (x == 2)
return 2;
else if (x == 4 || x == 6 || x == 9 || x == 1)
return 1;
else
return 0;
}
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int x, y;
cin >> x >> y;
int g1 = Group(x), g2 = ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int Group(int x) {
if (x == 2)
return 2;
else if (x == 4 || x == 6 || x == 9 || x == 11)
return 1;
else
return 0;
}
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int x, y;
cin >> x >> y;
int g1 = Group(x), g2 =... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,377,944 | 1,377,945 | u090097090 | cpp |
p03711 | #include <iostream>
main() {
int x, y;
std::cin >> x >> y;
puts("0121414114141"[x] - "0121414114141"[y] ? "No" : "YES");
}
| #include <iostream>
main() {
int x, y;
std::cin >> x >> y;
puts("0121414114141"[x] - "0121414114141"[y] ? "No" : "Yes");
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,377,961 | 1,377,962 | u852585808 | cpp |
p03711 | #include <iostream>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a == 2)
a = 3;
else if (a == 4 || a == 6 || a == 9 || a == 11)
a = 2;
else
a = 1;
if (b == 2)
b = 3;
else if (b == 4 || b == 6 || b == 9 || b == 11)
... | #include <iostream>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a == 2)
a = 3;
else if (a == 4 || a == 6 || a == 9 || a == 11)
a = 2;
else
a = 1;
if (b == 2)
b = 3;
else if (b == 4 || b == 6 || b == 9 || b == 11)
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,377,963 | 1,377,964 | u775013393 | cpp |
p03711 | #include <algorithm>
#include <iostream>
#include <limits>
#include <math.h>
#include <numeric>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <type_traits>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define in(x) cin >> x
#define out(str) cout << str... | #include <algorithm>
#include <iostream>
#include <limits>
#include <math.h>
#include <numeric>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <type_traits>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define in(x) cin >> x
#define out(str) cout << str... | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 1,377,965 | 1,377,966 | u190907730 | cpp |
p03711 | #include "bits/stdc++.h"
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int x1 = 0;
int y1 = 0;
if (x == 1 || x == 3 || x == 5 || x == 7 || x == 8 || x == 10 || x == 12) {
x1 = 1;
} else if (x == 4 || x == 6 || x == 9 || x == 11) {
x1 = 2;
} else if (x == 2) {
x1 = 3;
} else if... | #include "bits/stdc++.h"
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int x1 = 0;
int y1 = 0;
if (x == 1 || x == 3 || x == 5 || x == 7 || x == 8 || x == 10 || x == 12) {
x1 = 1;
} else if (x == 4 || x == 6 || x == 9 || x == 11) {
x1 = 2;
} else if (x == 2) {
x1 = 3;
}
if (... | [
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove"
] | 1,377,980 | 1,377,981 | u365956698 | cpp |
p03711 | #include <algorithm>
#include <cmath>
#include <deque>
#include <iostream>
#include <map>
#include <set>
#include <stack>
#include <string>
#include <vector>
using ll = long long;
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int nums[] = {0, 1, 3, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2};
if (nums[x] == num... | #include <algorithm>
#include <cmath>
#include <deque>
#include <iostream>
#include <map>
#include <set>
#include <stack>
#include <string>
#include <vector>
using ll = long long;
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int nums[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
if (nums[x] == num... | [] | 1,377,994 | 1,377,995 | u318785595 | cpp |
p03711 | #include <algorithm>
#include <cctype>
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a[13] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 2};
int x, y;
cin >> x >> y;
if (a[x] == a[y]) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
} | #include <algorithm>
#include <cctype>
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a[13] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int x, y;
cin >> x >> y;
if (a[x] == a[y]) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
} | [
"literal.number.change"
] | 1,377,998 | 1,377,999 | u320509353 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
// ios::sync_with_stdio(0);
// cin.tie(NULL);
// freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
int groupA[7] = {1, 3, 5, 7, 8, 10, 12};
int groupB[4] = {4, 6, 9, 11};
int groupC[1] = {2};
int x, y;
cin >> x >> y;... | #include <bits/stdc++.h>
using namespace std;
int main() {
// ios::sync_with_stdio(0);
// cin.tie(NULL);
// freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
int groupA[7] = {1, 3, 5, 7, 8, 10, 12};
int groupB[4] = {4, 6, 9, 11};
int groupC[1] = {2};
int x, y;
cin >> x >> y;... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,378,002 | 1,378,003 | u294313431 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
// ios::sync_with_stdio(0);
// cin.tie(NULL);
// freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
int groupA[7] = {1, 3, 5, 7, 8, 10, 12};
int groupB[4] = {4, 6, 9, 11};
int groupC[1] = {2};
int x, y;
cin >> x >> y;... | #include <bits/stdc++.h>
using namespace std;
int main() {
// ios::sync_with_stdio(0);
// cin.tie(NULL);
// freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
int groupA[7] = {1, 3, 5, 7, 8, 10, 12};
int groupB[4] = {4, 6, 9, 11};
int groupC[1] = {2};
int x, y;
cin >> x >> y;... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"control_flow.return.add",
"control_flow.return.0.add"
] | 1,378,004 | 1,378,003 | u294313431 | cpp |
p03711 |
#include <algorithm>
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a == 1 || a == 3 || a == 5 || a == 7 || a == 8 || a == 10 || a == 12) {
if (b == 1 || b == 3 || b == 5 || b == 7 || b == 8 || b == 10 || b == 12) {
cout << "Yes"... | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a == 1 || a == 3 || a == 5 || a == 7 || a == 8 || a == 10 || a == 12) {
if (b == 1 || b == 3 || b == 5 || b == 7 || b == 8 || b == 10 || b == 12) {
cout << "Yes" ... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,378,005 | 1,378,006 | u154672915 | cpp |
p03711 | #include <stdio.h>
int main() {
int d = 0, b = 0, c = 0, a[2], i;
for (i = 0; i < 2; i++) {
scanf("%d", &a[i]);
if (a[i] == 2)
c++;
if (a[i] == 4 || a[i] == 6 || a[i] == 9 || a[i] == 11)
b++;
else
d++;
}
if (b == 2 || c == 2 || d == 2)
printf("Yes");
else
printf("No")... | #include <stdio.h>
int main() {
int d = 0, b = 0, c = 0, a[2], i;
for (i = 0; i < 2; i++) {
scanf("%d", &a[i]);
if (a[i] == 2)
c++;
else if (a[i] == 4 || a[i] == 6 || a[i] == 9 || a[i] == 11)
b++;
else
d++;
}
if (b == 2 || c == 2 || d == 2)
printf("Yes");
else
printf(... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,378,009 | 1,378,010 | u890922829 | cpp |
p03711 | #include <stdio.h>
int main() {
int d = 0, b = 0, c = 0, a[2];
for (int i = 0; i < 2; i++) {
scanf("%d", &a[i]);
if (a[i] == 2)
c++;
if (a[i] == 4 || a[i] == 6 || a[i] == 9 || a[i] == 11)
b++;
else
d++;
}
if (b == 2 || c == 2 || d == 2)
printf("Yes");
else
printf("No"... | #include <stdio.h>
int main() {
int d = 0, b = 0, c = 0, a[2], i;
for (i = 0; i < 2; i++) {
scanf("%d", &a[i]);
if (a[i] == 2)
c++;
else if (a[i] == 4 || a[i] == 6 || a[i] == 9 || a[i] == 11)
b++;
else
d++;
}
if (b == 2 || c == 2 || d == 2)
printf("Yes");
else
printf(... | [
"variable_declaration.add",
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,378,011 | 1,378,010 | u890922829 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int c, b;
cin >> c >> b;
if (a[c] == a[b]) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int c, b;
cin >> c >> b;
if (a[c] == a[b]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,378,026 | 1,378,027 | u902787159 | cpp |
p03711 | #include <iostream>
#include <vector>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
vector<vector<int>> gs = {{1, 3, 5, 7, 8, 12}, {4, 6, 9, 11}, {2}};
for (auto &g : gs) {
bool contain_x = false;
bool contain_y = false;
for (auto &v : g) {
if (v == x)
contain_x = true;... | #include <iostream>
#include <vector>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
vector<vector<int>> gs = {{1, 3, 5, 7, 8, 10, 12}, {4, 6, 9, 11}, {2}};
for (auto &g : gs) {
bool contain_x = false;
bool contain_y = false;
for (auto &v : g) {
if (v == x)
contain_x = t... | [] | 1,378,050 | 1,378,051 | u471342385 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[] = {0, 1, 3, 1, 2, 1, 3, 1, 1, 2, 1, 2, 1};
int x, y;
cin >> x >> y;
if (a[x] == a[y])
puts("Yes");
else
puts("No");
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int x, y;
cin >> x >> y;
if (a[x] == a[y])
puts("Yes");
else
puts("No");
} | [
"literal.number.change"
] | 1,378,062 | 1,378,063 | u318727472 | cpp |
p03711 | #include <algorithm>
#include <cctype>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <iterator>
#include <string>
#include <vector>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int a[13];
a[1] = a[3] = a[5] = a[7] = a[8] = a[10] = a[12] = 1;
a[4] = a[6] = a[9] = a[11] = ... | #include <algorithm>
#include <cctype>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <iterator>
#include <string>
#include <vector>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int a[13];
a[1] = a[3] = a[5] = a[7] = a[8] = a[10] = a[12] = 1;
a[4] = a[6] = a[9] = a[11] = ... | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,378,064 | 1,378,065 | u032189172 | cpp |
p03711 | #include <algorithm>
#include <ctype.h>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <set>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
typedef pair<ll, ll> Pll;
const ll MOD = 1e9 + 7;
const int INF = 1e9;
int dx4[4] = {... | #include <algorithm>
#include <ctype.h>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <set>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
typedef pair<ll, ll> Pll;
const ll MOD = 1e9 + 7;
const int INF = 1e9;
int dx4[4] = {... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,378,077 | 1,378,078 | u736209378 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
using llong = long long;
using P = pair<llong, llong>;
#define BE(x) x.begin(), x.end()
const llong inf = llong(1e18) + 7;
const llong mod = 1e9 + 7;
int main() {
int x, y;
cin >> x >> y;
int a[13] = {0, 2, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0};
if (a[x] == a[y])
c... | #include <bits/stdc++.h>
using namespace std;
using llong = long long;
using P = pair<llong, llong>;
#define BE(x) x.begin(), x.end()
const llong inf = llong(1e18) + 7;
const llong mod = 1e9 + 7;
int main() {
int x, y;
cin >> x >> y;
int a[13] = {0, 0, 2, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0};
if (a[x] == a[y])
... | [] | 1,378,081 | 1,378,082 | u341957179 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[] = {0, 1, 3, 1, 2, 1, 1, 2, 1, 2, 1};
int x, y;
cin >> x >> y;
cout << (a[x] == a[y] ? "Yes" : "No") << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int x, y;
cin >> x >> y;
cout << (a[x] == a[y] ? "Yes" : "No") << endl;
return 0;
} | [] | 1,378,089 | 1,378,090 | u374929478 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[] = {0, 1, 3, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int x, y;
cin >> x >> y;
cout << (a[x] == a[y] ? "Yes" : "No") << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int x, y;
cin >> x >> y;
cout << (a[x] == a[y] ? "Yes" : "No") << endl;
return 0;
} | [] | 1,378,091 | 1,378,090 | u374929478 | cpp |
p03711 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
#define LL long long
int main() {
int r, g, b;
int x, y;
cin >> x >> y;
if (x == 2) {
if (y == 2) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else if (x == 4 || x == 6 || x == 9 || x == 11... | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
#define LL long long
int main() {
int r, g, b;
int x, y;
cin >> x >> y;
if (x == 2) {
if (y == 2) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else if (x == 4 || x == 6 || x == 9 || x == 11... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,378,092 | 1,378,093 | u503052349 | cpp |
p03711 | #include <algorithm>
#include <cctype>
#include <climits>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <tuple>
#include <utility>
#include <vector>
using namespace std;
template <class T> void chmax(T &a, T b) {
if (a < b) {
a = b;
}
}
templ... | #include <algorithm>
#include <cctype>
#include <climits>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <tuple>
#include <utility>
#include <vector>
using namespace std;
template <class T> void chmax(T &a, T b) {
if (a < b) {
a = b;
}
}
templ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,378,096 | 1,378,097 | u635484372 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if (x == 1 || x == 3 || x == 7 || x == 8 || x == 10 || x == 12) {
if (y == 1 || y == 3 || y == 5 || y == 7 || y == 8 || y == 10 || y == 12) {
cout << "Yes";
return 0;
}
}
if (x == 4 || x == 6 || x == 9 || ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if (x == 1 || x == 3 || x == 5 || x == 7 || x == 8 || x == 10 || x == 12) {
if (y == 1 || y == 3 || y == 5 || y == 7 || y == 8 || y == 10 || y == 12) {
cout << "Yes";
return 0;
}
}
if (x == 4 || x == 6 || ... | [
"control_flow.branch.if.condition.change"
] | 1,378,098 | 1,378,099 | u883323885 | cpp |
p03711 | #include <algorithm>
#include <array>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
typedef pair<int, int> P;
typedef long long LL;
const int INF = 1 << 30;
const LL MOD = 1000000007;
LL gcd(LL a, LL b)... | #include <algorithm>
#include <array>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
typedef pair<int, int> P;
typedef long long LL;
const int INF = 1 << 30;
const LL MOD = 1000000007;
LL gcd(LL a, LL b)... | [
"misc.opposites",
"expression.operator.arithmetic.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,378,107 | 1,378,108 | u999803454 | cpp |
p03711 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if (x == 4 || x == 6 || x == 9 || x == 11) {
if (y == 4 || y == 6 || x == 9 || y == 11) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} el... | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if (x == 4 || x == 6 || x == 9 || x == 11) {
if (y == 4 || y == 6 || y == 9 || y == 11) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} el... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,378,113 | 1,378,114 | u343355096 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
std::vector<int> a = {1, 3, 5, 7, 8, 10, 12};
std::vector<int> b = {4, 6, 9, 11};
std::vector<int> c = {2};
int x, y;
cin >> x >> y;
bool xx = false;
bool yy = false;
for (int A : a) {
if (A == x)
xx = true;
if (A == y)
yy... | #include <bits/stdc++.h>
using namespace std;
int main() {
std::vector<int> a = {1, 3, 5, 7, 8, 10, 12};
std::vector<int> b = {4, 6, 9, 11};
std::vector<int> c = {2};
int x, y;
cin >> x >> y;
bool xx = false;
bool yy = false;
for (int A : a) {
if (A == x)
xx = true;
if (A == y)
yy... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,378,115 | 1,378,116 | u964763428 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < n; i++)
#define repi(i, start, end) for (int i = start; i < end; i++)
#define all(x) (x).begin(), (x).end()
#define debug(x) cout << (x) << endl;
#define INF (1e9)
#define add_mod(a, b, x) ((ll)(a) + (ll)(b)) % ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < n; i++)
#define repi(i, start, end) for (int i = start; i < end; i++)
#define all(x) (x).begin(), (x).end()
#define debug(x) cout << (x) << endl;
#define INF (1e9)
#define add_mod(a, b, x) ((ll)(a) + (ll)(b)) % ... | [
"control_flow.branch.if.condition.change"
] | 1,378,117 | 1,378,118 | u934073187 | cpp |
p03711 | #include <algorithm>
#include <complex>
#include <iostream>
#include <string.h>
#include <vector>
using namespace std;
typedef long long int llint;
int main() {
int x, y;
cin >> x >> y;
if (x == 2 || y == 2) {
cout << "No" << endl;
} else if (x == 4 || x == 6 || x == 9 || x == 11) {
if (y == 4 || y == 6... | #include <algorithm>
#include <complex>
#include <iostream>
#include <string.h>
#include <vector>
using namespace std;
typedef long long int llint;
int main() {
int x, y;
cin >> x >> y;
if (x == 2 || y == 2) {
cout << "No" << endl;
} else if (x == 4 || x == 6 || x == 9 || x == 11) {
if (y == 4 || y == 6... | [
"literal.string.change",
"io.output.change"
] | 1,378,121 | 1,378,122 | u376082984 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[7] = {1, 3, 5, 7, 8, 10, 12};
int b[4] = {4, 6, 9, 11};
int x, y;
cin >> x >> y;
for (int i = 0; i < 7; i++) {
for (int j = 0; j < 7; j++) {
if (x == a[i] && x == a[j]) {
cout << "Yes" << endl;
goto age;
} else if... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[7] = {1, 3, 5, 7, 8, 10, 12};
int b[4] = {4, 6, 9, 11};
int x, y;
cin >> x >> y;
for (int i = 0; i < 7; i++) {
for (int j = 0; j < 7; j++) {
if (x == a[i] && y == a[j]) {
cout << "Yes" << endl;
goto age;
} else if... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,378,123 | 1,378,124 | u379822620 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if (x == 2) {
if (x == y)
cout << "YES" << endl;
else
cout << "NO" << endl;
} else if (x == 4 || x == 6 || x == 9 || x == 11) {
if (y == 4 || y == 6 || y == 9 || y == 11)
cout << "Yes" << endl;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if (x == 2) {
if (x == y)
cout << "Yes" << endl;
else
cout << "No" << endl;
} else if (x == 4 || x == 6 || x == 9 || x == 11) {
if (y == 4 || y == 6 || y == 9 || y == 11)
cout << "Yes" << endl;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,378,127 | 1,378,128 | u123942368 | cpp |
p03711 | #include <iostream>
using namespace std;
int main() {
int g[] = {1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int a, b;
cin >> a >> b;
if (g[a] == g[b]) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int g[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int a, b;
cin >> a >> b;
if (g[a] == g[b]) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
} | [] | 1,378,129 | 1,378,130 | u484962958 | cpp |
p03711 | #include "bits/stdc++.h"
using namespace std;
int main() {
int a[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 21, 2, 1};
int x, y;
cin >> x >> y;
if (a[x] == a[y]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include "bits/stdc++.h"
using namespace std;
int main() {
int a[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int x, y;
cin >> x >> y;
if (a[x] == a[y]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [
"literal.number.change"
] | 1,378,131 | 1,378,132 | u692207013 | cpp |
p03711 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <map>
#include <vector>
using namespace std;
int x, y;
int main(int argc, char const *argv[]) {
cin >> x >> y;
if (x == 1 || x == 3 || x == 5 || x == 7 || x == 8 || x == 10 || x == 12) {
if (y == 1 || y == 3 || y == 5 || y == ... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <map>
#include <vector>
using namespace std;
int x, y;
int main(int argc, char const *argv[]) {
cin >> x >> y;
if (x == 1 || x == 3 || x == 5 || x == 7 || x == 8 || x == 10 || x == 12) {
if (y == 1 || y == 3 || y == 5 || y == ... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,378,138 | 1,378,139 | u280016524 | cpp |
p03711 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <map>
#include <vector>
using namespace std;
int x, y;
int main(int argc, char const *argv[]) {
cin >> x >> y;
if (x == 1 || x == 3 || x == 5 || x == 7 || x == 8 || x == 10 || x == 12) {
if (y == 1 || y == 3 || y == 5 || y == ... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <map>
#include <vector>
using namespace std;
int x, y;
int main(int argc, char const *argv[]) {
cin >> x >> y;
if (x == 1 || x == 3 || x == 5 || x == 7 || x == 8 || x == 10 || x == 12) {
if (y == 1 || y == 3 || y == 5 || y == ... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,378,140 | 1,378,139 | u280016524 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
set<int> s1{1, 3, 5, 7, 8, 10, 12}, s2{4, 6, 9, 11}, s3{2};
bool ok = false;
if (s1.count(x) && s1.count(y)) {
ok = true;
} else if (s1.count(x) && s1.count(y)) {
ok = true;
} else if (s1.count(x) && s1.count(y... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
set<int> s1{1, 3, 5, 7, 8, 10, 12}, s2{4, 6, 9, 11}, s3{2};
bool ok = false;
if (s1.count(x) && s1.count(y)) {
ok = true;
} else if (s2.count(x) && s2.count(y)) {
ok = true;
} else if (s3.count(x) && s3.count(y... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,378,145 | 1,378,146 | u146594935 | cpp |
p03711 | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
typedef long long int ll;
int A, B, C;
cin >> A >> B;
int ans = 0;
bool two = false;
int gr = 0;
if (A == 4 || A == 6 || A == 9 || A == 11)
ans++;
else if (A != 2)
gr++;
if (B == 4 ||... | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
typedef long long int ll;
int A, B, C;
cin >> A >> B;
int ans = 0;
bool two = false;
int gr = 0;
if (A == 4 || A == 6 || A == 9 || A == 11)
ans++;
else if (A != 2)
gr++;
if (B == 4 ||... | [
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,378,155 | 1,378,156 | u109792330 | cpp |
p03711 | #include <iostream>
using namespace std;
int check[13];
int main() {
int x, y;
cin >> x >> y;
for (int i = 1; i <= 12; i++) {
if (i == 4 || i == 6 || i == 9 || i == 11)
check[i] = 1;
else if (i == 2)
check[i] = 2;
}
if (check[x] == check[y])
cout << "YES" << endl;
else
cout << ... | #include <iostream>
using namespace std;
int check[13];
int main() {
int x, y;
cin >> x >> y;
for (int i = 1; i <= 12; i++) {
if (i == 4 || i == 6 || i == 9 || i == 11)
check[i] = 1;
else if (i == 2)
check[i] = 2;
}
if (check[x] == check[y])
cout << "Yes" << endl;
else
cout << ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,378,159 | 1,378,160 | u134519179 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fw(p) for (int w = 0; w < (p); w++)
#define fx(p) for (int x = 0; x < (p); x++)
#define fy(p) for (int y = 0; y < (p); y++)
#define fz(p) for (int z = 0; z < (p); z++)
#define fyg(p, g) for (int y = (g); y < (p); y++)
#define fzg(p, g) for (int ... |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fw(p) for (int w = 0; w < (p); w++)
#define fx(p) for (int x = 0; x < (p); x++)
#define fy(p) for (int y = 0; y < (p); y++)
#define fz(p) for (int z = 0; z < (p); z++)
#define fyg(p, g) for (int y = (g); y < (p); y++)
#define fzg(p, g) for (int... | [
"control_flow.branch.if.condition.change"
] | 1,378,181 | 1,378,182 | u824327013 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int x, y;
int g[13] = {0, 1, 2, 1, 3, 1, 3, 1, 1, 3, 1, 3, 1};
int main() {
cin >> x >> y;
if (g[x] == g[y])
cout << "YES";
else
cout << "NO";
}
| #include <bits/stdc++.h>
using namespace std;
int x, y;
int g[13] = {0, 1, 2, 1, 3, 1, 3, 1, 1, 3, 1, 3, 1};
int main() {
cin >> x >> y;
if (g[x] == g[y])
cout << "Yes";
else
cout << "No";
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,378,189 | 1,378,190 | u506302470 | cpp |
p03711 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define CK(N, A, B) (A <= N && N < B)
#define REP(i, a, b) for (int i = a; i < b; i++)
#... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define CK(N, A, B) (A <= N && N < B)
#define REP(i, a, b) for (int i = a; i < b; i++)
#... | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,378,201 | 1,378,202 | u080348635 | cpp |
p03711 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define CK(N, A, B) (A <= N && N < B)
#define REP(i, a, b) for (int i = a; i < b; i++)
#... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define CK(N, A, B) (A <= N && N < B)
#define REP(i, a, b) for (int i = a; i < b; i++)
#... | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,378,203 | 1,378,202 | u080348635 | cpp |
p03711 | #include <bits/stdc++.h>
const int INF = 1e9;
const int MOD = 1e9 + 7;
using LL = long long;
const LL LINF = 1e18;
using namespace std;
#define COUT(v) cout << (v) << endl
#define CIN(n) \
int(n); ... | #include <bits/stdc++.h>
const int INF = 1e9;
const int MOD = 1e9 + 7;
using LL = long long;
const LL LINF = 1e18;
using namespace std;
#define COUT(v) cout << (v) << endl
#define CIN(n) \
int(n); ... | [] | 1,378,204 | 1,378,205 | u580402951 | cpp |
p03711 | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int t[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
if (t[x] == t[y])
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int t[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
if (t[x] == t[y])
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,378,214 | 1,378,215 | u416397383 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int a[] = {4, 6, 9, 11};
if (x == 2 || y == 2)
return cout << "No" << endl, 0;
for (int i = 0; i < 4; i++) {
if (x == a[i])
x = 0;
if (y == a[i])
x = 0;
}
cout << (x && y ? "Yes" : (x || y ? "N... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int a[] = {4, 6, 9, 11};
if (x == 2 || y == 2)
return cout << "No" << endl, 0;
for (int i = 0; i < 4; i++) {
if (x == a[i])
x = 0;
if (y == a[i])
y = 0;
}
cout << (x && y ? "Yes" : (!x && !y ? ... | [
"assignment.variable.change",
"identifier.change",
"expression.operation.unary.add",
"misc.opposites",
"control_flow.loop.for.condition.change",
"io.output.change",
"literal.string.change"
] | 1,378,216 | 1,378,217 | u234435881 | cpp |
p03711 | #include <algorithm>
#include <climits>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
const ll MOD = 1000000007;
const... | #include <algorithm>
#include <climits>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
const ll MOD = 1000000007;
const... | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,378,221 | 1,378,222 | u271063202 | cpp |
p03711 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int A, B;
if (a == 2)
A = 3;
if (a == 4 || a == 6 || a == 9 || a == 11)
A = 2;
else
A = 1;
if (b == 2)
B = 3;
if (b == 4 || b == 6 || b == 9 || b == 11)
B = 2;
else
B = 1;
if (... | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int A, B;
if (a == 2)
A = 3;
else if (a == 4 || a == 6 || a == 9 || a == 11)
A = 2;
else
A = 1;
if (b == 2)
B = 3;
else if (b == 4 || b == 6 || b == 9 || b == 11)
B = 2;
else
B =... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,378,223 | 1,378,224 | u918753189 | cpp |
p03711 | #include <iostream>
using namespace std;
int group[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2};
int main() {
int x, y;
cin >> x >> y;
if (group[x] != group[y]) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int group[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int main() {
int x, y;
cin >> x >> y;
if (group[x] != group[y]) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | [] | 1,378,227 | 1,378,228 | u516869225 | cpp |
p03711 | #include <iostream>
using namespace std;
int group[] = {0, 1, 3, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2};
int main() {
int x, y;
cin >> x >> y;
if (group[x] != group[y]) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int group[] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int main() {
int x, y;
cin >> x >> y;
if (group[x] != group[y]) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | [] | 1,378,229 | 1,378,228 | u516869225 | cpp |
p03711 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
typedef pair<int, int> P;
#define mp make... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
typedef pair<int, int> P;
#define mp make... | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,378,232 | 1,378,233 | u566529875 | cpp |
p03711 | #include <algorithm>
#include <complex>
#include <iomanip>
#include <iostream>
#include <queue>
#include <set>
#include <string>
#include <vector>
using std::cin;
using std::cout;
using std::endl;
using std::priority_queue;
using std::queue;
using std::set;
using std::string;
using std::to_string;
using std::vector;
... | #include <algorithm>
#include <complex>
#include <iomanip>
#include <iostream>
#include <queue>
#include <set>
#include <string>
#include <vector>
using std::cin;
using std::cout;
using std::endl;
using std::priority_queue;
using std::queue;
using std::set;
using std::string;
using std::to_string;
using std::vector;
... | [] | 1,378,242 | 1,378,243 | u643405868 | cpp |
p03711 | #define _USE_MATH_DEFINES
#define _CRT_SECURE_NO_WARNINGS
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <ctype.h>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <string>
#include ... | #define _USE_MATH_DEFINES
#define _CRT_SECURE_NO_WARNINGS
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <ctype.h>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <string>
#include ... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,378,267 | 1,378,268 | u098844816 | cpp |
p03711 | #include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#incl... | #include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#incl... | [
"call.arguments.change"
] | 1,378,273 | 1,378,274 | u003873207 | cpp |
p03711 | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (int)(n); ++i)
#define FOR(i, m, n) for (int i = (m); i < (int)(n); ++i)
#define INF 2000000000
#ifdef LOCAL
#define eprintf(...) fprintf(stdout, __VA_ARGS__)
#else
#define eprintf(...) 0
#endif
using namespace std;
typedef long long LL;
typedef unsigne... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (int)(n); ++i)
#define FOR(i, m, n) for (int i = (m); i < (int)(n); ++i)
#define INF 2000000000
#ifdef LOCAL
#define eprintf(...) fprintf(stdout, __VA_ARGS__)
#else
#define eprintf(...) 0
#endif
using namespace std;
typedef long long LL;
typedef unsigne... | [
"literal.number.change"
] | 1,378,277 | 1,378,278 | u370867568 | cpp |
p03711 | #include <algorithm>
#include <iostream>
#include <list>
#include <string>
#include <vector>
using namespace std;
typedef unsigned long long LL;
//
// int com(int n, int r) {
// if (n == r || n == 0)return 0;
//}
//
//
// int main()
//{
// string s;
// int k;
//
//
//
// int a['z'] = { 0 };
// for (int i = 0; i < s.len... | #include <algorithm>
#include <iostream>
#include <list>
#include <string>
#include <vector>
using namespace std;
typedef unsigned long long LL;
//
// int com(int n, int r) {
// if (n == r || n == 0)return 0;
//}
//
//
// int main()
//{
// string s;
// int k;
//
//
//
// int a['z'] = { 0 };
// for (int i = 0; i < s.len... | [
"control_flow.branch.if.condition.change"
] | 1,378,283 | 1,378,284 | u016005730 | cpp |
p03711 | #include <iostream>
using namespace std;
int main() {
int month[12];
month[0] = 0, month[1] = 1, month[2] = 0, month[3] = 2, month[4] = 0,
month[5] = 2, month[6] = 0, month[7] = 0, month[8] = 2, month[9] = 0,
month[10] = 2, month[11] = 0;
int x, y;
cin >> x >> y;
if (month[x - 1] == month[y - 1])
... | #include <iostream>
using namespace std;
int main() {
int month[12];
month[0] = 0, month[1] = 1, month[2] = 0, month[3] = 2, month[4] = 0,
month[5] = 2, month[6] = 0, month[7] = 0, month[8] = 2, month[9] = 0,
month[10] = 2, month[11] = 0;
int x, y;
cin >> x >> y;
if (month[x - 1] == month[y - 1])
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,378,286 | 1,378,287 | u495386448 | cpp |
p03711 | #include <iostream>
using namespace std;
int main() {
int month[12];
month[0] = 0, month[1] = 1, month[2] = 0, month[3] = 2, month[4] = 0,
month[5] = 2, month[6] = 0, month[7] = 0, month[8] = 2, month[9] = 0,
month[10] = 2, month[11] = 0;
int x, y;
cin >> x >> y;
if (month[x - 1] == month[y - 1])
... | #include <iostream>
using namespace std;
int main() {
int month[12];
month[0] = 0, month[1] = 1, month[2] = 0, month[3] = 2, month[4] = 0,
month[5] = 2, month[6] = 0, month[7] = 0, month[8] = 2, month[9] = 0,
month[10] = 2, month[11] = 0;
int x, y;
cin >> x >> y;
if (month[x - 1] == month[y - 1])
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,378,286 | 1,378,288 | u495386448 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
vector<int> g1 = {1, 3, 5, 7, 8, 10, 12};
vector<int> g2 = {4, 6, 9, 11};
int x, y;
cin >> x >> y;
bool flag = 0;
if (x == 2 or y == 2) {
flag = 0;
}
else if (find(g1.begin(), g1.end(), x) != g1.end() and
... | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
vector<int> g1 = {1, 3, 5, 7, 8, 10, 12};
vector<int> g2 = {4, 6, 9, 11};
int x, y;
cin >> x >> y;
bool flag = 0;
if (x == 2 or y == 2) {
flag = 0;
}
else if (find(g1.begin(), g1.end(), x) != g1.end() and
... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,378,296 | 1,378,297 | u101596363 | cpp |
p03711 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long LL;
#define lowbit(x) ((x) & (-x))
#define INF 0x3f3f3f3f
#define memset(a, b) memset... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long LL;
#define lowbit(x) ((x) & (-x))
#define INF 0x3f3f3f3f
#define memset(a, b) memset... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,378,298 | 1,378,299 | u094036798 | cpp |
p03711 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long LL;
#define lowbit(x) ((x) & (-x))
#define INF 0x3f3f3f3f
#define memset(a, b) memset... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long LL;
#define lowbit(x) ((x) & (-x))
#define INF 0x3f3f3f3f
#define memset(a, b) memset... | [
"assignment.variable.change",
"identifier.change"
] | 1,378,300 | 1,378,299 | u094036798 | cpp |
p03711 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long LL;
#define lowbit(x) ((x) & (-x))
#define INF 0x3f3f3f3f
#define memset(a, b) memset... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long LL;
#define lowbit(x) ((x) & (-x))
#define INF 0x3f3f3f3f
#define memset(a, b) memset... | [
"identifier.change",
"control_flow.branch.if.condition.change",
"assignment.variable.change"
] | 1,378,302 | 1,378,299 | u094036798 | cpp |
p03711 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long LL;
#define lowbit(x) ((x) & (-x))
#define INF 0x3f3f3f3f
#define memset(a, b) memset... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long LL;
#define lowbit(x) ((x) & (-x))
#define INF 0x3f3f3f3f
#define memset(a, b) memset... | [
"identifier.change",
"control_flow.branch.if.condition.change",
"assignment.variable.change",
"literal.number.change",
"assignment.value.change"
] | 1,378,303 | 1,378,299 | u094036798 | cpp |
p03711 | #include <bits/stdc++.h>
using namespace std;
const int a[7] = {1, 3, 5, 7, 8, 10, 12};
const int b[4] = {4, 6, 9, 11};
int main() {
ios_base::sync_with_stdio(false);
int x, y;
cin >> x >> y;
bool ch = false, ch1 = false;
for (int i = 0; i < 7; ++i) {
if (x == a[i]) {
ch = true;
}
if (y =... | #include <bits/stdc++.h>
using namespace std;
const int a[7] = {1, 3, 5, 7, 8, 10, 12};
const int b[4] = {4, 6, 9, 11};
int main() {
ios_base::sync_with_stdio(false);
int x, y;
cin >> x >> y;
bool ch = false, ch1 = false;
for (int i = 0; i < 7; ++i) {
if (x == a[i]) {
ch = true;
}
if (y =... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,378,307 | 1,378,308 | u987309835 | cpp |
p03711 | #include <iostream>
using namespace std;
int a[12] = {1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int main() {
int x, y;
cin >> x >> y;
if (a[x] == a[y]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int a[12] = {1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1};
int main() {
int x, y;
cin >> x >> y;
if (a[x - 1] == a[y - 1]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 1,378,309 | 1,378,310 | u294283114 | cpp |
p03711 | #include <algorithm>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <list>
#include <string>
#include <vector>
using namespace std;
bool f(int x) { return x == 4 || x == 6 || x == 9 || x == 11; }
bool f2(int x) {
return x == 1 || x == 3 || x == 5 || x == 7 || x == 8 || x == 10 || x == 12;
}
int ... | #include <algorithm>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <list>
#include <string>
#include <vector>
using namespace std;
bool f(int x) { return x == 4 || x == 6 || x == 9 || x == 11; }
bool f2(int x) {
return x == 1 || x == 3 || x == 5 || x == 7 || x == 8 || x == 10 || x == 12;
}
int ... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,378,311 | 1,378,312 | u713333397 | cpp |
p03711 | // wxlcoder
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <functional>
#include <iostream>
#include <iterator>
#include <limits.h>
#include <list>
#include <map>
#include <memory>
#include <numeric>
#include <q... | // wxlcoder
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <functional>
#include <iostream>
#include <iterator>
#include <limits.h>
#include <list>
#include <map>
#include <memory>
#include <numeric>
#include <q... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,378,326 | 1,378,327 | u580779865 | cpp |
p03711 | #include <iostream>
#include <string>
#include <vector>
using namespace std;
#define MOD 1000000007
template <typename T> istream &operator>>(istream &is, vector<T> &vec) {
for (T &x : vec)
is >> x;
return is;
}
int main() {
int a[] = {1, 3, 5, 7, 8, 10, 12};
int x, y;
cin >> x >> y;
if (x == 2 || y... | #include <iostream>
#include <string>
#include <vector>
using namespace std;
#define MOD 1000000007
template <typename T> istream &operator>>(istream &is, vector<T> &vec) {
for (T &x : vec)
is >> x;
return is;
}
int main() {
int a[] = {1, 3, 5, 7, 8, 10, 12};
int x, y;
cin >> x >> y;
if (x == 2 || y... | [
"literal.string.change",
"io.output.change"
] | 1,378,332 | 1,378,333 | u960646202 | cpp |
p03711 | #include <algorithm>
#include <iostream>
#include <set>
#include <string.h>
#include <vector>
using namespace std;
int main(void) {
int x, y;
int flag_x, flag_y;
cin >> x >> y;
if (x == 4 || x == 6 || x == 9 || x == 11) {
flag_x = 1;
} else if (x == 2) {
flag_x = 2;
} else {
flag_x = 3;
}
... | #include <algorithm>
#include <iostream>
#include <set>
#include <string.h>
#include <vector>
using namespace std;
int main(void) {
int x, y;
int flag_x, flag_y;
cin >> x >> y;
if (x == 4 || x == 6 || x == 9 || x == 11) {
flag_x = 1;
} else if (x == 2) {
flag_x = 2;
} else {
flag_x = 3;
}
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,378,342 | 1,378,343 | u081634865 | cpp |
p03711 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int x, y;
while (scanf("%d%d", &x, &y) == 2) {
if (x == y)
printf("Yes\n");
else if (x == 2 || y == 2)
printf("No\n");
else {
if (((x % 2 == 1 && x <= 7) || (x > 7 && x % 2 == 0)) &&
((y % 2 == 1 && y <= ... | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int x, y;
while (scanf("%d%d", &x, &y) == 2) {
if (x == y)
printf("Yes\n");
else if (x == 2 || y == 2)
printf("No\n");
else {
if (((x % 2 == 1 && x <= 7) || (x > 7 && x % 2 == 0)) &&
((y % 2 == 1 && y <= ... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,378,344 | 1,378,345 | u774885411 | cpp |
p03711 | /*
なせば大抵なんとかなる!
*/
#include <algorithm>
#include <ctype.h>
#include <float.h>
#include <iostream>
#include <iterator>
#include <limits.h>
#include <map>
#include <math.h>
#include <queue>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <utility>
#include <vec... | /*
なせば大抵なんとかなる!
*/
#include <algorithm>
#include <ctype.h>
#include <float.h>
#include <iostream>
#include <iterator>
#include <limits.h>
#include <map>
#include <math.h>
#include <queue>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <utility>
#include <vec... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,378,353 | 1,378,354 | u676654593 | cpp |
p03711 | /*
なせば大抵なんとかなる!
*/
#include <algorithm>
#include <ctype.h>
#include <float.h>
#include <iostream>
#include <iterator>
#include <limits.h>
#include <map>
#include <math.h>
#include <queue>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <utility>
#include <vec... | /*
なせば大抵なんとかなる!
*/
#include <algorithm>
#include <ctype.h>
#include <float.h>
#include <iostream>
#include <iterator>
#include <limits.h>
#include <map>
#include <math.h>
#include <queue>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <utility>
#include <vec... | [
"literal.number.change",
"call.arguments.change",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,378,355 | 1,378,354 | u676654593 | cpp |
p03711 | #include <iostream>
#include <stdio.h>
using namespace std;
int mset[100];
int findmset(int x) {
if (x == mset[x])
return x;
else
return mset[x] = findmset(mset[x]);
}
void unionmset(int x, int y) {
int fx = findmset(x);
int fy = findmset(y);
mset[fy] = fx;
}
int main() {
int m, n;
scanf("%d%d", &... | #include <iostream>
#include <stdio.h>
using namespace std;
int mset[100];
int findmset(int x) {
if (x == mset[x])
return x;
else
return mset[x] = findmset(mset[x]);
}
void unionmset(int x, int y) {
int fx = findmset(x);
int fy = findmset(y);
mset[fy] = fx;
}
int main() {
int m, n;
scanf("%d%d", &... | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.remove"
] | 1,378,373 | 1,378,374 | u753412492 | cpp |
p03711 | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int x1, y1;
if ((x == 4) | (x == 6) | (x == 9) | (x = 11))
x1 = 1;
else if (x == 2)
x1 = 2;
else
x1 = 3;
if ((y == 4) | (y == 6) | (y == 9) | (y = 11))
y1 = 1;
else if (y == 2)
y1 = 2;
else
y1 = 3;... | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int x1, y1;
if ((x == 4) | (x == 6) | (x == 9) | (x == 11))
x1 = 1;
else if (x == 2)
x1 = 2;
else
x1 = 3;
if ((y == 4) | (y == 6) | (y == 9) | (y == 11))
y1 = 1;
else if (y == 2)
y1 = 2;
else
y1 = ... | [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,378,394 | 1,378,395 | u465379376 | cpp |
p03711 | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int x1, y1;
if ((x == 4) | (x == 6) | (x == 9) | (x = 11))
x1 = 1;
else if (x = 2)
x1 = 2;
else
x1 = 3;
if ((y == 4) | (y == 6) | (y == 9) | (y = 11))
y1 = 1;
else if (y = 2)
y1 = 2;
else
y1 = 3;
... | #include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
int x1, y1;
if ((x == 4) | (x == 6) | (x == 9) | (x == 11))
x1 = 1;
else if (x == 2)
x1 = 2;
else
x1 = 3;
if ((y == 4) | (y == 6) | (y == 9) | (y == 11))
y1 = 1;
else if (y == 2)
y1 = 2;
else
y1 = ... | [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,378,396 | 1,378,395 | u465379376 | cpp |
p03711 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using names... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using names... | [
"assignment.variable.change",
"identifier.change"
] | 1,378,397 | 1,378,398 | u484412230 | cpp |
p03711 |
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#i... |
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#i... | [
"literal.number.change"
] | 1,378,399 | 1,378,400 | u723512447 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.