Datasets:

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
p02552
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x = 0) { cout << "1" << endl; } else { cout << "0" << endl; } }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << "1" << endl; } else { cout << "0" << endl; } }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
247,444
247,445
u573198180
cpp
p02552
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x = 1) { cout << "0" << endl; } else { cout << "1" << endl; } }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << "1" << endl; } else { cout << "0" << endl; } }
[ "literal.string.change", "io.output.change" ]
247,446
247,445
u573198180
cpp
p02552
#include <iostream> using namespace std; int main() { int x; if (x == 0) { cout << 1 << endl; } else { cout << 0 << endl; } }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << 1 << endl; } else { cout << 0 << endl; } }
[]
247,447
247,448
u344028423
cpp
p02552
#include <iostream> using namespace std; int main() { int x; if (x == 1) { cout << 0; } else { cout << 1; } }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 1) { cout << 0; } else { cout << 1; } }
[]
247,449
247,450
u078554747
cpp
p02552
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; typedef long long ll; int main(void) { ll x; cin >> x; if (x == 1) cout << '1' << endl; else cout << '0' << endl; }
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; typedef long long ll; int main(void) { ll x; cin >> x; if (x == 0) cout << '1' << endl; else cout << '0' << endl; }
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
247,486
247,487
u783299609
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; cout << 1 - x << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; cout << 1 - x << endl; }
[]
247,488
247,489
u288905450
cpp
p02552
#include <bits/stdc++.h> // 2D vector decalre in c++ also memset to -1 // vector<vector<int>>f((m+1),(vector<int>(n+1,-1))); ////#include <boost/multiprecision/cpp_int.hpp> // using namespace boost::multiprecision; #define lli long long int #define endl '\n' #define boost ...
#include <bits/stdc++.h> // 2D vector decalre in c++ also memset to -1 // vector<vector<int>>f((m+1),(vector<int>(n+1,-1))); ////#include <boost/multiprecision/cpp_int.hpp> // using namespace boost::multiprecision; #define lli long long int #define endl '\n' #define boost ...
[ "literal.number.change", "io.output.change" ]
247,492
247,493
u575793111
cpp
p02552
#include <bits/stdc++.h> #define ll long long int #define db double #define pb push_back #define mpr make_pair #define andl "\n" #define f first #define s second #define mset(x, y) memset(x, y, sizeof(x)) #define fr(i, n) for (long long int i = 0; i < n; i++) #define trace(it, x) for (auto it = (x).begin(); it != (x).e...
#include <bits/stdc++.h> #define ll long long int #define db double #define pb push_back #define mpr make_pair #define andl "\n" #define f first #define s second #define mset(x, y) memset(x, y, sizeof(x)) #define fr(i, n) for (long long int i = 0; i < n; i++) #define trace(it, x) for (auto it = (x).begin(); it != (x).e...
[]
247,494
247,495
u667598279
cpp
p02552
#include <bits/stdc++.h> #define ll long long int #define ios \ ios_base::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); #define mod ...
#include <bits/stdc++.h> #define ll long long int #define ios \ ios_base::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); #define mod ...
[ "variable_declaration.type.primitive.change", "literal.string.change", "io.output.change" ]
247,496
247,497
u237679997
cpp
p02552
#include <bits/stdc++.h> using namespace std; // DEFINE and // TYPEDEF-------------------------------------------------------------- // For actual content check from line 85 #define FORG(i, a, n) \ for (lld i = (lld)a; a < n ? i < (lld)n : (lld)n < i; ...
#include <bits/stdc++.h> using namespace std; // DEFINE and // TYPEDEF-------------------------------------------------------------- // For actual content check from line 85 #define FORG(i, a, n) \ for (lld i = (lld)a; a < n ? i < (lld)n : (lld)n < i; ...
[ "expression.operation.binary.add" ]
247,502
247,503
u531151228
cpp
p02552
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef vector<int> vi; typedef pair<int, int> pi; #define txt \ freopen("ip.txt", "r", stdin); \ freopen("op.txt", "w", stdout) #d...
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef vector<int> vi; typedef pair<int, int> pi; #define txt \ freopen("ip.txt", "r", stdin); \ freopen("op.txt", "w", stdout) #d...
[]
247,509
247,510
u687596570
cpp
p02552
#include <bits/stdc++.h> using namespace std; #define ll long long int #define ull unsigned long long int #define set_bits(a) __builtin_popcount(a) #define pb push_back #define pf push_front #define mod 1000000007 #define M 998244353 #define mp unordered_map #define fi first #define se second #define endl '\n' #define ...
#include <bits/stdc++.h> using namespace std; #define ll long long int #define ull unsigned long long int #define set_bits(a) __builtin_popcount(a) #define pb push_back #define pf push_front #define mod 1000000007 #define M 998244353 #define mp unordered_map #define fi first #define se second #define endl '\n' #define ...
[ "literal.number.change", "io.output.change" ]
247,513
247,514
u015580732
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int i; cin >> i; cout << ~i << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int i; cin >> i; cout << (i ^ 1) << endl; return 0; }
[ "io.output.change" ]
247,515
247,516
u130196925
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == '0') cout << 1 << endl; else cout << 0 << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 0) cout << 1 << endl; else cout << 0 << endl; return 0; }
[ "control_flow.branch.if.condition.change" ]
247,519
247,520
u897843369
cpp
p02552
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { int t; cin >> t; cout << (~t); }
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { int t; cin >> t; cout << (!t); }
[ "io.output.change" ]
247,530
247,531
u100092704
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << ceil(cos(n)) << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << floor(cos(n)) << endl; }
[ "misc.opposites", "identifier.change", "call.function.change", "io.output.change" ]
247,541
247,542
u154645927
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << ceil(sin(n)) << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << floor(cos(n)) << endl; }
[ "misc.opposites", "identifier.change", "call.function.change", "io.output.change" ]
247,543
247,542
u154645927
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << (1 || n) << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << floor(cos(n)) << endl; }
[ "call.add", "call.arguments.change" ]
247,544
247,542
u154645927
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << (1 || n) << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << (n ^ 1) << endl; }
[ "expression.operation.binary.remove" ]
247,544
247,545
u154645927
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << (1 || n) << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << "10"[n] << endl; }
[ "io.output.change" ]
247,544
247,546
u154645927
cpp
p02552
#include <stdio.h> int main() { puts(getchar() - 48 ? "1" : "0"); }
#include <stdio.h> int main() { puts(getchar() - 48 ? "0" : "1"); }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
247,549
247,550
u571152872
cpp
p02552
#include <algorithm> #include <assert.h> #include <bits/stdc++.h> #include <cmath> #include <functional> #include <iostream> #include <iterator> #include <limits> #include <list> #include <map> #include <math.h> #include <numeric> #include <set> #include <stack> #include <stdio.h> #include <stdlib.h> #include <string.h...
#include <algorithm> #include <assert.h> #include <bits/stdc++.h> #include <cmath> #include <functional> #include <iostream> #include <iterator> #include <limits> #include <list> #include <map> #include <math.h> #include <numeric> #include <set> #include <stack> #include <stdio.h> #include <stdlib.h> #include <string.h...
[]
247,561
247,562
u334782618
cpp
p02552
/*" بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ -In the name of Allah." Never stop chasing!-MD.SOURAV. ░░░░░░░░( •̪●)░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░███████ ]▄▄▄▄▄▄▄▄▃░░░▃░░░░ ▃░ ▂▄▅█████████▅▄▃▂░░░░░░░░░░░░░░░░░ [███████████████████].░░░░░░░░░░░░░░ ◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤...░░░░░░░░░░░░ */ #include <bits/stdc++.h>...
/*" بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ -In the name of Allah." Never stop chasing!-MD.SOURAV. ░░░░░░░░( •̪●)░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░███████ ]▄▄▄▄▄▄▄▄▃░░░▃░░░░ ▃░ ▂▄▅█████████▅▄▃▂░░░░░░░░░░░░░░░░░ [███████████████████].░░░░░░░░░░░░░░ ◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤...░░░░░░░░░░░░ */ #include <bits/stdc++.h>...
[ "expression.operation.binary.remove", "assignment.change" ]
247,583
247,584
u105936490
cpp
p02552
#include <iostream> using namespace std; int main() { int x; cin >> x; cout << ~x << endl; return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; cout << !x << endl; return 0; }
[ "io.output.change" ]
247,585
247,586
u072544863
cpp
p02552
#include <iostream> using namespace std; int main() { int x; cout << x; cin >> x; if (x == 0) { cout << 1; } else { cout << 0; } return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << 1; } else { cout << 0; } return 0; }
[]
247,592
247,593
u968988013
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << (n != 0) ? 0 : 1; }
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << (n == 0) ? 1 : 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.loop.for.condition.change", "io.output.change" ]
247,594
247,595
u570962635
cpp
p02552
#include <algorithm> #include <iostream> #include <string> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << "0" << endl; } if (x == 1) { cout << "1" << endl; } }
#include <algorithm> #include <iostream> #include <string> using namespace std; int main() { int x; cin >> x; if (x == 1) { cout << "0" << endl; } if (x == 0) { cout << "1" << endl; } }
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
247,618
247,619
u557633621
cpp
p02552
#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() { int x; if (x == 0) { cout << 1 << endl; } else if (x == 1) { cout << 0 << endl; } return 0; }
#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() { int x; cin >> x; if (x == 0) { cout << 1 << endl; } else if (x == 1) { cout << 0 << endl; } return 0; }
[]
247,620
247,621
u419523174
cpp
p02552
#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() { int x; if (x == 0) { cout << 1 << endl; } else if (x == 1) { cout << 0 << endl; } return 0; }
#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() { int x; cin >> x; if (x == 0) { cout << 1 << endl; } else if (x == 1) { cout << 0 << endl; } return 0; }
[]
247,622
247,621
u419523174
cpp
p02552
// //***************** // Created by corol //***************** // #include <bits/stdc++.h> using namespace std; typedef long long ll; #define wv(a, n) \ for (int i = 0; i < (n); i++) { \ cin >> (a)[i]; ...
// //***************** // Created by corol //***************** // #include <bits/stdc++.h> using namespace std; typedef long long ll; #define wv(a, n) \ for (int i = 0; i < (n); i++) { \ cin >> (a)[i]; ...
[ "literal.string.change", "io.output.change" ]
247,625
247,626
u836164315
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; if (x == 0) cout << "1" << endl; else cout << "0" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 0) cout << "1" << endl; else cout << "0" << endl; }
[]
247,629
247,630
u387020488
cpp
p02552
#include <bits/stdc++.h> using namespace std; using ll = long long; #define mem(a, b) memset(a, b, sizeof(a)) #define REP(i, a) for (int i = 0; i < a; ++i) #define FOR(i, a, b) for (int i = a; i < b; ++i) #define ALL(a) a.begin(), a.end() inline void quickread() { ios::sync_with_stdio(false); cin.tie(nullptr); ...
#include <bits/stdc++.h> using namespace std; using ll = long long; #define mem(a, b) memset(a, b, sizeof(a)) #define REP(i, a) for (int i = 0; i < a; ++i) #define FOR(i, a, b) for (int i = a; i < b; ++i) #define ALL(a) a.begin(), a.end() inline void quickread() { ios::sync_with_stdio(false); cin.tie(nullptr); ...
[ "expression.operation.binary.remove" ]
247,635
247,636
u736189571
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << 1 << endl; } cout << 0 << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << 1 << endl; } else { cout << 0 << endl; } }
[ "control_flow.branch.else.add" ]
247,639
247,640
u506039202
cpp
p02552
#include <bits/stdc++.h> #define rr(i, b) for (int i = 0; i < int(b); i++) #define vi(n, a) \ vector<int> a(n); \ rr(i, n) cin >> a[i] #define pvec(a) ...
#include <bits/stdc++.h> #define rr(i, b) for (int i = 0; i < int(b); i++) #define vi(n, a) \ vector<int> a(n); \ rr(i, n) cin >> a[i] #define pvec(a) ...
[]
247,641
247,642
u740401436
cpp
p02552
#include <stdio.h> int main() { int x; scanf("%d", &x); if (x == 0) printf("0\n"); else if (x == 1) printf("1\n"); return 0; }
#include <stdio.h> int main() { int x; scanf("%d", &x); if (x == 0) printf("1\n"); else if (x == 1) printf("0\n"); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
247,643
247,644
u085968353
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x = 0) cout << "1" << endl; if (x = 1) cout << "0" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 0) cout << "1" << endl; if (x == 1) cout << "0" << endl; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
247,651
247,652
u731671298
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; if (x == 1) cout << "0"; else cout << "1"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 1) cout << "0"; else cout << "1"; return 0; }
[]
247,653
247,654
u632341984
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { // ここにプログラムを追記 int a; cin >> a; if (a == 1) { cout << 0 << endl; } else { cout << 0 << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; if (a == 0) { cout << "1" << endl; } else { cout << "0" << endl; } }
[ "literal.number.change", "control_flow.branch.if.condition.change", "io.output.change" ]
247,661
247,662
u834849683
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x = 0) cout << "1\n"; else cout << "0\n"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 0) cout << "1"; else cout << "0"; return 0; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo", "literal.string.change", "io.output.change" ]
247,669
247,670
u364940142
cpp
p02552
#include <iostream> int tran(int x); int main() { using namespace std; int x = 0; tran(x); cout << tran(x) << endl; return 0; } int tran(int x) { int j; if (x == 0) { j = 1; return j; } else { j = 0; return j; } }
#include <iostream> int tran(int x); int main() { using namespace std; int x; cin >> x; tran(x); cout << tran(x) << endl; return 0; } int tran(int x) { int j; if (x == 0) { j = 1; return j; } else { j = 0; return j; } }
[]
247,671
247,672
u498045247
cpp
p02552
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x = 0) { cout << 1 << endl; } else { cout << 0 << endl; } return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << 1 << endl; } else { cout << 0 << endl; } return 0; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
247,675
247,676
u408950695
cpp
p02552
#include <cstring> #include <iostream> #include <string> #include <vector> using namespace std; int main() { int x; cin >> x; if (x = 1) { x = x - 1; } else { x = x + 1; } cout << x; return 0; }
#include <cstring> #include <iostream> #include <string> #include <vector> using namespace std; int main() { int x; cin >> x; if (x == 1) { x = x - 1; } else { x = x + 1; } cout << x; return 0; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
247,685
247,686
u555557279
cpp
p02552
#include <iostream> using namespace std; int main() { int i; cin >> i; if (i == 0) { return 1; } else if (i == 1) { return 0; } }
#include <iostream> using namespace std; int main() { int i; cin >> i; if (i == 0) { cout << 1; } else if (i == 1) { cout << 0; } }
[ "io.output.change" ]
247,687
247,688
u441355636
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; cout << 1 - x << '\n'; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; cout << 1 - x << '\n'; return 0; }
[]
247,697
247,698
u817378026
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x = 0) { cout << 1 << endl; } if (x = 1) { cout << 0 << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << 1 << endl; } if (x == 1) { cout << 0 << endl; } }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
247,699
247,700
u162207374
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int N; if (N == 1) cout << "0"; else cout << "1"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; if (N == 1) cout << "0"; else cout << "1"; return 0; }
[]
247,704
247,705
u624478496
cpp
p02552
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define all(v) begin(v), end(v) using ll = long long; int main() { int n; cin >> n; if (n == 1) cout << 0 << endl; else cout << 0 << endl; }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define all(v) begin(v), end(v) using ll = long long; int main() { int n; cin >> n; if (n == 1) cout << 0 << endl; else cout << 1 << endl; }
[ "literal.number.change", "io.output.change" ]
247,729
247,730
u587622858
cpp
p02552
#include "bits/stdc++.h" #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define REP(i, n) for (int i = 1; i <= (int)(n); i++) #define all(v) v.begin(), v.end() #define rall(v) v.rbegin(), v.rend() using namespace std; using ll = long long; using pi = pair<int, int>; const ll INF = 1LL << 60; int main() { int ...
#include "bits/stdc++.h" #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define REP(i, n) for (int i = 1; i <= (int)(n); i++) #define all(v) v.begin(), v.end() #define rall(v) v.rbegin(), v.rend() using namespace std; using ll = long long; using pi = pair<int, int>; const ll INF = 1LL << 60; int main() { int ...
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
247,731
247,732
u730499268
cpp
p02552
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 1) { cout << "0" << endl; } else if (x == 0) { cout << "0" << endl; } return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 1) { cout << "0" << endl; } else if (x == 0) { cout << "1" << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
247,733
247,734
u560903905
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { double x; cin >> x; if (x == 0) { cout << 0 << endl; } else { cout << 1 << endl; }; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { double x; cin >> x; if (x == 0) { cout << 1 << endl; } else { cout << 0 << endl; }; return 0; }
[ "literal.number.change", "io.output.change" ]
247,752
247,753
u308191944
cpp
p02552
#include <iostream> #include <string> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << "0"; } else { cout << "1"; } }
#include <iostream> #include <string> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << "1"; } else { cout << "0"; } }
[ "literal.string.change", "io.output.change" ]
247,756
247,757
u432255874
cpp
p02552
#include <cstdio> #include <iostream> using namespace std; int x; int main() { scanf("%d", &x); if (x == 1) printf("1"); else printf("0"); return 0; }
#include <cstdio> #include <iostream> using namespace std; int x; int main() { scanf("%d", &x); if (x == 1) printf("0"); else printf("1"); return 0; }
[ "call.remove", "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add", "call.add" ]
247,786
247,787
u574882775
cpp
p02552
// // main.cpp // 앳코 // // Created by 김도훈 on 2020/09/13. // Copyright © 2020 김도훈. All rights reserved. // #include <iostream> using namespace std; int main() { int x; cin >> x; if (x) cout << 1; else cout << 0; return 0; }
// // main.cpp // 앳코 // // Created by 김도훈 on 2020/09/13. // Copyright © 2020 김도훈. All rights reserved. // #include <iostream> using namespace std; int main() { int x; cin >> x; if (x) cout << 0; else cout << 1; return 0; }
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
247,788
247,789
u854753994
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 1) { cout << x << endl; } else { cout << x << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 1) { cout << 0 << endl; } else { cout << 1 << endl; } }
[ "identifier.replace.remove", "literal.replace.add", "io.output.change" ]
247,805
247,806
u120586196
cpp
p02552
#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() { int x; cin >> x; if (x == 0) cout << 1 << endl; return 0; cout << 0 << endl; return 1; }
#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() { int x; cin >> x; if (x == 0) { cout << 1 << endl; return 0; } cout << 0 << endl; return 0; }
[ "literal.number.change", "function.return_value.change" ]
247,810
247,811
u170378078
cpp
p02552
#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() { int x; cin >> x; if (x == 0) cout << 1 << endl; return 0; cout << 1 << endl; return 1; }
#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() { int x; cin >> x; if (x == 0) { cout << 1 << endl; return 0; } cout << 0 << endl; return 0; }
[ "literal.number.change", "io.output.change", "function.return_value.change" ]
247,812
247,811
u170378078
cpp
p02552
#include <iostream> #include <stdio.h> using namespace std; int main(void) { int x; cin >> x; if (x == 0) { cout << "1" << endl; } { cout << "0" << endl; } return 0; }
#include <iostream> #include <stdio.h> using namespace std; int main(void) { int x; cin >> x; if (x == 0) { cout << "1" << endl; } else { cout << "0" << endl; } return 0; }
[ "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
247,819
247,820
u545672143
cpp
p02552
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) cout << "0" << endl; else cout << "1" << endl; return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) cout << "1" << endl; else cout << "0" << endl; return 0; }
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
247,821
247,822
u967836910
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 0) cout << 0 << endl; else cout << 1 << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 1) cout << 0 << endl; else cout << 1 << endl; return 0; }
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
247,823
247,824
u531812101
cpp
p02552
#include <bits/stdc++.h> #include <string> using namespace std; const int mod = 1e9 + 7; const long long INF = 1e18; #define PI 3.141592653589793 #define REP(i, n) for (long long i = 0; i < n; i++) int main() { long long N; int A[300000]; long long sum = 0; long long ans = 0; cin >> N; if (N == 0) cout...
#include <bits/stdc++.h> #include <string> using namespace std; const int mod = 1e9 + 7; const long long INF = 1e18; #define PI 3.141592653589793 #define REP(i, n) for (long long i = 0; i < n; i++) int main() { long long N; int A[300000]; long long sum = 0; long long ans = 0; cin >> N; if (N == 0) cout...
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
247,835
247,836
u935620673
cpp
p02552
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define push_back pb void test() { ll x; cin >> x; cout << ((x == 0) ? 1 : 0) << "\n"; } signed main() { ios::sync_with_stdio(0); cin.tie(0); int t; cin >> t; while (t--) { test(); } }
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define push_back pb void test() { ll x; cin >> x; cout << ((x == 0) ? 1 : 0) << "\n"; } signed main() { ios::sync_with_stdio(0); cin.tie(0); int t = 1; //~ cin>>t; while (t--) { test(); } }
[ "expression.operation.binary.remove" ]
247,837
247,838
u446322769
cpp
p02552
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using ll = long long; using namespace std; int main() { int x; cin >> x; if (x == 1) { cout << 1 << endl; } if (x == 0) { cout << 0 << endl; } }
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using ll = long long; using namespace std; int main() { int x; cin >> x; if (x == 1) { cout << 0 << endl; } if (x == 0) { cout << 1 << endl; } }
[ "literal.number.change", "io.output.change" ]
247,839
247,840
u371039391
cpp
p02552
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << "1" << endl; } else if (x == 1) { cout << "2" << endl; } return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << "1" << endl; } else if (x == 1) { cout << "0" << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
247,841
247,842
u463289828
cpp
p02552
// include #include <algorithm> #include <bitset> #include <cctype> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <numeric> #include <queue...
// include #include <algorithm> #include <bitset> #include <cctype> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <numeric> #include <queue...
[ "literal.number.change", "io.output.change" ]
247,851
247,852
u424621178
cpp
p02552
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <limits.h> #include <map> #include <queue> #include <set> #include <stack> #include <vector> using namespace std; typedef long long ll; const int maxn = 1e4 + 7; int main(void) { int n; cin >> n; if (!n) c...
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <limits.h> #include <map> #include <queue> #include <set> #include <stack> #include <vector> using namespace std; typedef long long ll; const int maxn = 1e4 + 7; int main(void) { int n; cin >> n; if (!n) c...
[ "literal.number.change", "io.output.change" ]
247,859
247,860
u889515609
cpp
p02552
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; typedef vector<int> vi; typedef vector<double> vd; typedef vector<ll> vl; typedef vector<vi> vvi; typedef vector<vl> vvl; typedef pair<int, int> pii; typedef pair<double, double> pdd; typedef pair<ll, ll> pll; typedef vector<pi...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; typedef vector<int> vi; typedef vector<double> vd; typedef vector<ll> vl; typedef vector<vi> vvi; typedef vector<vl> vvl; typedef pair<int, int> pii; typedef pair<double, double> pdd; typedef pair<ll, ll> pll; typedef vector<pi...
[ "literal.number.change", "io.output.change" ]
247,863
247,864
u789323170
cpp
p02552
#include <bits/stdc++.h> using namespace std; #define ll long long int #define pb push_back #define sort1(v) sort(v.begin(), v.end()) #include <sstream> // cout<<fixed<<setprecision(n)<<number - for n digits after decimal int max(int a, int b) { if (a > b) return a; else return b; } void print(vector<int> a...
#include <bits/stdc++.h> using namespace std; #define ll long long int #define pb push_back #define sort1(v) sort(v.begin(), v.end()) #include <sstream> // cout<<fixed<<setprecision(n)<<number - for n digits after decimal int max(int a, int b) { if (a > b) return a; else return b; } void print(vector<int> a...
[ "io.output.change" ]
247,869
247,870
u047864518
cpp
p02552
#include <bits/stdc++.h> #include <math.h> using namespace std; typedef long long ll; typedef unsigned long long ull; #define M_PI 3.14159265358979323846 const int M = 1e9 + 7; long long mod(long long x) { return ((x % M + M) % M); } long long add(long long a, long long b) { return mod(mod(a) + mod(b)); } long long m...
#include <bits/stdc++.h> #include <math.h> using namespace std; typedef long long ll; typedef unsigned long long ull; #define M_PI 3.14159265358979323846 const int M = 1e9 + 7; long long mod(long long x) { return ((x % M + M) % M); } long long add(long long a, long long b) { return mod(mod(a) + mod(b)); } long long m...
[]
247,875
247,876
u395652671
cpp
p02552
#include <iostream> using namespace std; int main() { int n; cin >> n; if (n == 0) cout << 0 << endl; else cout << 1 << endl; return 0; }
#include <iostream> using namespace std; int main() { int n; cin >> n; if (n == 0) cout << 1 << endl; else cout << 0 << endl; return 0; }
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
247,881
247,882
u469480802
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; if (n) { cout << 0 << endl; return 0; } cout << n << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; if (n) { cout << 0 << endl; return 0; } cout << 1 << endl; }
[ "identifier.replace.remove", "literal.replace.add", "io.output.change" ]
247,883
247,884
u018890850
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x = 0) { cout << '1' << endl; } else { cout << '0' << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << 1 << endl; } else { cout << 0 << endl; } }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
247,885
247,886
u693897283
cpp
p02552
#include <iostream> #include <math.h> using namespace std; int main() { int x; cin >> x; if (x == 1) { cout << "1"; } else if (x == 0) { cout << "0"; } return 0; }
#include <iostream> #include <math.h> using namespace std; int main() { int x; cin >> x; if (x == 1) { cout << "0"; } else if (x == 0) { cout << "1"; } return 0; }
[ "literal.string.change", "io.output.change" ]
247,891
247,892
u640154228
cpp
p02552
#include <iostream> using namespace std; int main() { int x; if (x == 0) { cout << "1" << endl; } else if (x == 1) { cout << "0" << endl; } return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << "1" << endl; } else if (x == 1) { cout << "0" << endl; } return 0; }
[]
247,893
247,894
u635386072
cpp
p02552
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <numeric> #include <set> #include <string> #include <vector> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<ll> vl; #define FOR(a, b, c) for (int(a) = (b); (a) < (c); ++(a)) #define ROF(a, b, c) for (i...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <numeric> #include <set> #include <string> #include <vector> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<ll> vl; #define FOR(a, b, c) for (int(a) = (b); (a) < (c); ++(a)) #define ROF(a, b, c) for (i...
[ "literal.number.change", "io.output.change" ]
247,895
247,896
u620243078
cpp
p02552
/*ॐॐ*/ /* I have already deleted My old account because somebody stole my code and i have no idea how. If you are copying this code atleast make it look different. Change variable names or change some Data structres or anything just make sure MOSS do not Detect Anything. Yours Faithfully Shobhit Yadav */ /*my variables...
/*ॐॐ*/ /* I have already deleted My old account because somebody stole my code and i have no idea how. If you are copying this code atleast make it look different. Change variable names or change some Data structres or anything just make sure MOSS do not Detect Anything. Yours Faithfully Shobhit Yadav */ /*my variables...
[ "literal.number.change", "io.output.change" ]
247,918
247,919
u748348190
cpp
p02552
#include <algorithm> #include <assert.h> #include <bitset> #include <deque> #include <functional> #include <iostream> #include <iterator> #include <limits> #include <list> #include <map> #include <math.h> #include <numeric> #include <queue> #include <set> #include <sstream> #include <stack> #include <stdio.h> #include ...
#include <algorithm> #include <assert.h> #include <bitset> #include <deque> #include <functional> #include <iostream> #include <iterator> #include <limits> #include <list> #include <map> #include <math.h> #include <numeric> #include <queue> #include <set> #include <sstream> #include <stack> #include <stdio.h> #include ...
[]
247,922
247,923
u546102135
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; if (x == 0) { cout << 1 << endl; } else if (x == 1) { cout << 0 << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << 1 << endl; } else if (x == 1) { cout << 0 << endl; } return 0; }
[]
247,929
247,930
u831279508
cpp
p02552
#include <iostream> using namespace std; #define v vt int main() { int a, b, d; cin >> a; cout << ((a = 0) ? 1 : 0) << endl; }
#include <iostream> using namespace std; #define v vt int main() { int a, b, d; cin >> a; cout << ((a == 0) ? 1 : 0) << endl; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
247,931
247,932
u039058793
cpp
p02552
#include <iostream> using namespace std; #define v vt int main() { int a, b, d; cin >> a; cout << ((a = 0) ? 0 : 1) << endl; }
#include <iostream> using namespace std; #define v vt int main() { int a, b, d; cin >> a; cout << ((a == 0) ? 1 : 0) << endl; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
247,933
247,932
u039058793
cpp
p02552
#include <algorithm> #include <cmath> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <stdio.h> #include <string> #include <unordered_map> #include <vector> #define rep(i, n) for (int i = 0; i < n; i++) #define repn(i, n) for (int i = 1; i <= n; i++) #define repr(e, x) f...
#include <algorithm> #include <cmath> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <stdio.h> #include <string> #include <unordered_map> #include <vector> #define rep(i, n) for (int i = 0; i < n; i++) #define repn(i, n) for (int i = 1; i <= n; i++) #define repr(e, x) f...
[ "io.output.change" ]
247,934
247,935
u731886385
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << 0; } else { cout << 1; } }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x == 0) { cout << 1; } else { cout << 0; } }
[ "literal.number.change", "io.output.change" ]
247,936
247,937
u651044289
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { char x, ans = 1; cin >> x; if (x == 0) { ans = 1; } else { ans = 0; } cout << ans << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int x, ans; cin >> x; if (x == 0) { ans = 1; } else { ans = 0; } cout << ans << endl; }
[ "variable_declaration.type.primitive.change" ]
247,938
247,939
u076303440
cpp
p02552
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; void solve() { int x; cin >> x; if (x == 1) cout << 0 << '\n'; else cout << 1 << '\n'; } int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int t; cin >> t; while (t--) { solve(); ...
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; void solve() { int x; cin >> x; if (x == 1) cout << 0 << '\n'; else cout << 1 << '\n'; } int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int t = 1; // cin>>t; while (t--) { solve...
[ "expression.operation.binary.remove" ]
247,942
247,943
u316829626
cpp
p02552
#include <bits/stdc++.h> using namespace std; const int mxn(1e5 + 10), mxm(4e5 + 10); const long long modl(998244353); int nm, n, m, p, t, k, ans, l, r; int a[mxn], b[mxn], h[mxn]; int main() { ios_base::sync_with_stdio(false); // freopen("in.txt", "r", stdin);/////////////////////////// // cin >> nm; while (...
#include <bits/stdc++.h> using namespace std; const int mxn(1e5 + 10), mxm(4e5 + 10); const long long modl(998244353); int nm, n, m, p, t, k, ans, l, r; int a[mxn], b[mxn], h[mxn]; int main() { ios_base::sync_with_stdio(false); // freopen("in.txt", "r", stdin);/////////////////////////// // cin >> nm; while (...
[ "assignment.value.change", "assignment.change" ]
247,949
247,950
u930606117
cpp
p02552
#include <iostream> using namespace std; main() { int n; if (n == 1) { cout << 0 << endl; } else { cout << 1 << endl; } }
#include <iostream> using namespace std; main() { int n; cin >> n; if (n == 1) { cout << 0 << endl; } else { cout << 1 << endl; } }
[]
247,953
247,954
u315143726
cpp
p02552
#include <iostream> using namespace std; int main() { char x; cin >> x; if (x == 1) { cout << "0"; } else { cout << "1"; } }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 1) { cout << "0"; } else { cout << "1"; } }
[ "variable_declaration.type.primitive.change" ]
247,955
247,956
u892885267
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x = 0) cout << "1" << endl; else cout << "0" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int x = 0; cin >> x; if (x == 0) cout << "1" << endl; else cout << "0" << endl; }
[ "variable_declaration.value.change", "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
247,957
247,958
u450295615
cpp
p02552
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; #define pb push_back #define all(n) n.begin(), n.end() void solve() { int x; cin >> x; if (x) cout << 1; else cout << 0; } int main() { solve(); }
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; #define pb push_back #define all(n) n.begin(), n.end() void solve() { int x; cin >> x; if (!x) cout << 1; else cout << 0; } int main() { solve(); }
[ "expression.operation.unary.add", "control_flow.branch.if.condition.change" ]
247,965
247,966
u385738751
cpp
p02552
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math") #pragma GCC target("avx,avx2,fma") #include <bits/stdc++.h> #define f first #define s second #define fore(i, a, b) for (int i = (a), ThxMK = (b); i < ThxMK; ++i) #define pb push_back #define all(s) begin(s), end(s) #define _ ...
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math") #pragma GCC target("avx,avx2,fma") #include <bits/stdc++.h> #define f first #define s second #define fore(i, a, b) for (int i = (a), ThxMK = (b); i < ThxMK; ++i) #define pb push_back #define all(s) begin(s), end(s) #define _ ...
[ "io.output.change" ]
247,971
247,972
u345532484
cpp
p02552
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x = 0) cout << 1; else cout << 0; return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) cout << 1; else cout << 0; return 0; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
247,973
247,974
u238140481
cpp
p02552
#include <bits/stdc++.h> using namespace std; #define pb push_back #define ll long long #define ld long double #define ar array #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; vector<string> split_string(string input_string) { string::iterator new_end = ...
#include <bits/stdc++.h> using namespace std; #define pb push_back #define ll long long #define ld long double #define ar array #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; vector<string> split_string(string input_string) { string::iterator new_end = ...
[ "variable_declaration.type.primitive.change" ]
247,986
247,987
u081542519
cpp
p02552
#include <bits/stdc++.h> using namespace std; #define int long long int32_t main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int x; cin >> x; if (x == 0) { cout << 1 << endl; } else if (x == 1) { cout << 1 << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; #define int long long int32_t main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int x; cin >> x; if (x == 0) { cout << 1 << endl; } else if (x == 1) { cout << 0 << endl; } return 0; }
[ "literal.number.change", "io.output.change" ]
247,988
247,989
u724788695
cpp
p02552
/**Bismillahir Rahmanir Rahim.**/ /* Md.Fagun Molla 18ICTCSE006 BSMRSTU(SHIICT) */ #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; using namespace std; using ll = long long; using db = double; ///**************...
/**Bismillahir Rahmanir Rahim.**/ /* Md.Fagun Molla 18ICTCSE006 BSMRSTU(SHIICT) */ #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; using namespace std; using ll = long long; using db = double; ///**************...
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
247,992
247,993
u199299168
cpp
p02552
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) cout << 0; else cout << 1; cout << endl; return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) cout << 1; else cout << 0; cout << endl; return 0; }
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
248,006
248,007
u688653391
cpp
p02552
// Created by Ambesh kumar #include "bits/stdc++.h" // I already compile this file in my computer system to save the time // if get the compiler error then you should change this header to // #include "bits/stdc++.h" ---> #include <bits/stdc++.h> using namespace std; #define gc getchar_unlocked #define fo(i, n) for...
// Created by Ambesh kumar #include "bits/stdc++.h" // I already compile this file in my computer system to save the time // if get the compiler error then you should change this header to // #include "bits/stdc++.h" ---> #include <bits/stdc++.h> using namespace std; #define gc getchar_unlocked #define fo(i, n) for...
[]
248,012
248,013
u781869473
cpp
p02552
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) cout << 0 << endl; else cout << 1 << endl; return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 0) cout << 1 << endl; else cout << 0 << endl; return 0; }
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
248,022
248,023
u265415328
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { long long int a; cin >> a; if (a == 0) cout << "1"; else cout << a; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { long long int a; cin >> a; if (a == 0) cout << "1"; else cout << a - 1; return 0; }
[ "expression.operation.binary.add" ]
248,024
248,025
u732161519
cpp
p02552
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; if (a = 1) cout << 0 << endl; else cout << 1 << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; if (a == 1) cout << 0 << endl; else cout << 1 << endl; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
248,026
248,027
u171803978
cpp
p02552
#include <bits/stdc++.h> using namespace std; typedef unsigned long long ull; typedef long long ll; typedef long double ld; typedef pair<int, int> pii; typedef pair<ll, ll> pll; #define sync std::ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) #define loopi(n) for (int i = 0; i < n; i++) #define loopj(n) for (int j ...
#include <bits/stdc++.h> using namespace std; typedef unsigned long long ull; typedef long long ll; typedef long double ld; typedef pair<int, int> pii; typedef pair<ll, ll> pll; #define sync std::ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) #define loopi(n) for (int i = 0; i < n; i++) #define loopj(n) for (int j ...
[]
248,028
248,029
u466849625
cpp
p02552
#include <iostream> using namespace std; int main() { int A, B; cin >> A >> B; if (A = 1) { cout << "0" << endl; } else { cout << "No" << endl; } }
#include <iostream> using namespace std; int main() { int A, B; cin >> A >> B; // Tとtimeの大小関係に応じて出力をする if (A == 1) { cout << "0" << endl; } else { cout << "1" << endl; } }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo", "literal.string.change", "io.output.change" ]
248,037
248,038
u160046558
cpp