buggy_code
stringlengths
11
625k
fixed_code
stringlengths
17
625k
bug_type
stringlengths
2
4.45k
language
int64
0
8
token_count
int64
5
200k
#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...
[["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
129
#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 ...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 44]]
1
63
#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; ...
[["-", 0, 1, 0, 16, 12, 23, 0, 91, 17, 111], ["-", 0, 16, 12, 23, 0, 91, 28, 91, 17, 111], ["+", 0, 1, 0, 16, 12, 23, 0, 16, 17, 60], ["+", 0, 1, 0, 16, 12, 23, 0, 16, 12, 13]]
1
751
#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...
[["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
362
#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 ...
[["-", 0, 57, 64, 9, 0, 1, 0, 16, 12, 13], ["+", 0, 57, 64, 9, 0, 1, 0, 16, 12, 13], ["-", 75, 76, 0, 9, 0, 1, 0, 16, 12, 13], ["+", 75, 76, 0, 9, 0, 1, 0, 16, 12, 13]]
1
84
#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; }
[["-", 0, 1, 0, 16, 31, 16, 12, 91, 17, 92], ["+", 0, 1, 0, 16, 31, 16, 12, 23, 0, 24], ["+", 0, 16, 31, 16, 12, 23, 0, 16, 17, 140], ["+", 0, 16, 31, 16, 12, 23, 0, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 23, 0, 25]]
1
29
print(int(~int(input())))
print(int(not int(input())))
[["-", 3, 4, 0, 652, 3, 4, 0, 664, 17, 92], ["+", 3, 4, 0, 652, 3, 4, 0, 681, 0, 372]]
5
13
#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; }
[["-", 0, 57, 15, 339, 51, 16, 12, 103, 0, 104]]
1
43
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** * * * * * * * * * * * * * * ...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** * * * * * * * * * * * * * * ...
[["-", 0, 57, 15, 339, 51, 16, 12, 103, 0, 104], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 62]]
1
124
#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); }
[["-", 0, 1, 0, 16, 12, 23, 0, 91, 17, 92], ["+", 0, 1, 0, 16, 12, 23, 0, 91, 17, 111]]
1
29
x=int(input) print(abs(1-x))
x=int(input()) print(abs(1-x))
[["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
15
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; if (n) cout << 1 << "\n"; else cout << 0 << "\n"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; if (!n) cout << 1 << "\n"; else cout << 0 << "\n"; return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 91, 17, 111]]
1
43
#include <stdio.h> int main(void) { int x; scanf("%d", &x); if (x == 1) puts("1"); else puts("0"); return 0; }
#include <stdio.h> int main(void) { int x; scanf("%d", &x); if (x == 1) puts("0"); else puts("1"); return 0; }
[["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
46
#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; }
[["-", 0, 1, 0, 16, 31, 16, 12, 2, 63, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 2, 63, 22]]
1
31
#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; }
[["-", 0, 16, 31, 16, 12, 23, 0, 16, 31, 13], ["-", 0, 16, 31, 16, 12, 23, 0, 16, 17, 106], ["+", 0, 16, 31, 16, 12, 23, 0, 16, 17, 140], ["+", 0, 16, 31, 16, 12, 23, 0, 16, 12, 13]]
1
29
#include <stdio.h> int main() { puts(getchar() - 48 ? "1" : "0"); }
#include <stdio.h> int main() { puts(getchar() - 48 ? "0" : "1"); }
[["-", 0, 2, 3, 4, 0, 41, 64, 5, 0, 6], ["+", 0, 2, 3, 4, 0, 41, 64, 5, 0, 6], ["-", 0, 2, 3, 4, 0, 41, 75, 5, 0, 6], ["+", 0, 2, 3, 4, 0, 41, 75, 5, 0, 6]]
1
25
<?php $x = fgets(STDIN); $a = 1; if($x){ $a = 0; } echo $a;
<?php $x = fgets(STDIN); $a = 1; if($x == 1){ $a = 0; } echo $a;
[["+", 0, 493, 0, 57, 15, 23, 0, 16, 17, 60], ["+", 0, 493, 0, 57, 15, 23, 0, 16, 12, 612]]
6
30
#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...
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25]]
1
306
n=int(input().split()) if n==1: print(0) else: print(1)
n=int(input()) if n==1: print(0) else: print(1)
[["-", 12, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["-", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]]
5
27
x = input() x = int(x) if x<=1: print(0) elif x<=0: print(1)
x = input() x = int(x) if x==1: print(0) elif x==0: print(1)
[["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 60], ["-", 0, 656, 0, 57, 75, 665, 15, 666, 667, 19], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 667, 60]]
5
29
/*" بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ -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>...
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]]
1
423
#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; }
[["-", 0, 1, 0, 16, 31, 16, 12, 91, 17, 92], ["+", 0, 1, 0, 16, 31, 16, 12, 91, 17, 111]]
1
29
#include <stdio.h> main() { int x; scanf("%d", &x); if (x == 1) { printf("1"); } else { printf("0"); } }
#include <stdio.h> main() { int x; scanf("%d", &x); if (x == 0) { printf("1"); } else { printf("0"); } }
[["-", 0, 9, 0, 57, 15, 23, 0, 16, 12, 13], ["+", 0, 9, 0, 57, 15, 23, 0, 16, 12, 13]]
0
46
n = int(input()) print(x^1)
x = int(input()) print(x^1)
[["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22]]
5
14
#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; }
[["-", 0, 41, 15, 16, 12, 23, 0, 16, 17, 79], ["+", 0, 41, 15, 16, 12, 23, 0, 16, 17, 60], ["-", 0, 14, 8, 9, 0, 1, 0, 41, 64, 13], ["-", 0, 14, 8, 9, 0, 1, 0, 41, 0, 102], ["+", 0, 14, 8, 9, 0, 1, 0, 41, 0, 102], ["+", 0, 14, 8, 9, 0, 1, 0, 41, 75, 13]]
1
31
#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; } }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]]
1
55
#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; }
[["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
71
if int(input()) == 1: print(1) else: print(0)
if int(input()) == 1: print(0) else: print(1)
[["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 612]]
5
20
// //***************** // 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]; ...
[["-", 0, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 0, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 0, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 0, 16, 12, 23, 0, 41, 75, 5, 0, 6]]
1
479
#include <stdio.h> int main(void) { int x; scanf("%d", &x); if (x == 0) { printf("1/n", x); } else if (x == 1) { printf("0/n", x); } return 0; }
#include <stdio.h> int main(void) { int x; scanf("%d", &x); if (x == 0) { printf("1\n", x); } else if (x == 1) { printf("0\n", x); } return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
0
60
#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; }
[["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
38
n = int(input()) print("1" if x == 0 else "0")
n = int(input()) print("1" if n == 0 else "0")
[["-", 0, 652, 3, 4, 0, 41, 0, 666, 0, 22], ["+", 0, 652, 3, 4, 0, 41, 0, 666, 0, 22]]
5
22
#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); ...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]]
1
235
#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; } }
[["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46]]
1
39
#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) ...
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
106
#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; }
[["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
53
print(int(input())+1%2)
print((int(input())+1)%2)
[["+", 0, 652, 3, 4, 0, 657, 31, 23, 0, 24], ["+", 0, 652, 3, 4, 0, 657, 31, 23, 0, 25]]
5
13
#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; }
[["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60]]
1
47
#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; }
[["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
37
x = input(x) if x == 0: print('1') if x == 1: print('0')
x = int(input()) if x == 0: print('1') if x == 1: print('0')
[["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
28
#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; } }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
43
x = int(input()) if x == 1: r = 0 else: r = 0 print(r)
x = int(input()) if x == 1: r = 0 else: r = 1 print(r)
[["-", 75, 76, 8, 196, 0, 1, 0, 662, 12, 612], ["+", 75, 76, 8, 196, 0, 1, 0, 662, 12, 612]]
5
25
#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; }
[["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 44], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 44]]
1
43
#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; } }
[["-", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]]
1
77
#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; }
[["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60]]
1
45
#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; }
[["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60]]
1
55
#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; } }
[["-", 8, 9, 0, 57, 64, 9, 0, 37, 0, 38], ["+", 0, 57, 64, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 57, 64, 9, 0, 1, 0, 16, 17, 151], ["-", 75, 76, 0, 57, 64, 9, 0, 37, 0, 38]]
1
42
<?php $n = trim(fgets(STDIN)); if ($n === 0) { echo 1; } elseif ($n === 1) { echo 0; }
<?php $n = trim(fgets(STDIN)); if ($n == 0) { echo 1; } elseif ($n == 1) { echo 0; }
[["-", 0, 493, 0, 57, 15, 23, 0, 16, 17, 565], ["+", 0, 493, 0, 57, 15, 23, 0, 16, 17, 60], ["-", 0, 57, 75, 625, 15, 23, 0, 16, 17, 565], ["+", 0, 57, 75, 625, 15, 23, 0, 16, 17, 60]]
6
36
#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; }
[["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
28
#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; } }
[["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60]]
1
47
n = int(input('enter number:')) if n == 1: print(0) if n == 0: print(1)
n = int(input()) if n == 1: print(0) if n == 0: print(1)
[["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 654], ["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 655]]
5
29
a = input() if a == 0: print(1) if a == 1: print(0)
a = int(input()) if a == 0: print(1) if a == 1: print(0)
[["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
23
#include <stdio.h> #include <stdlib.h> int main() { int x; scanf("%d", &x); if (x == 1) { printf("1"); } else printf("0"); return 0; }
#include <stdio.h> #include <stdlib.h> int main() { int x; scanf("%d", &x); if (x == 0) { printf("1"); } else printf("0"); return 0; }
[["-", 8, 9, 0, 57, 15, 23, 0, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 12, 13]]
0
49
import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sn = new Scanner(System.in); int x = Integer.parseInt(sn.next()); if (x == 0) { System.out.println(1); } else { S...
import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sn = new Scanner(System.in); int x = Integer.parseInt(sn.next()); if (x == 0) { System.out.println(1); } else { S...
[["-", 75, 196, 0, 1, 0, 492, 3, 4, 0, 499], ["+", 75, 196, 0, 1, 0, 492, 3, 4, 0, 499]]
3
99
#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; }
[["-", 75, 76, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 75, 76, 0, 1, 0, 16, 31, 16, 12, 13]]
1
58
#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 ...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]]
1
101
#include <stdio.h> int main(int argc, const char *argv[]) { // insert code here... int x; scanf("%d", &x); if (x = 1) { printf("0\n"); } else { printf("1\n"); } return 0; }
#include <stdio.h> int main(int argc, const char *argv[]) { // insert code here... int x; scanf("%d", &x); if (x == 1) { printf("0\n"); } else { printf("1\n"); } return 0; }
[["-", 8, 9, 0, 57, 15, 23, 0, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 60]]
0
61
x = input() if x == 1: print(0) elif x == 0: print(1)
x = int(input()) if x == 1: print(0) elif x == 0: print(1)
[["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
23
#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; }
[["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["-", 0, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 0, 9, 0, 1, 0, 16, 31, 16, 12, 13]]
1
46
x = int(input) print(1 if x == 0 else 0)
x = int(input()) print(1 if x == 0 else 0)
[["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
16
#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"; } }
[["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]]
1
44
x=int,input() if(x==1): print(0) elif(x==0): print(1)
x=int(input()) if(x==1): print(0) elif(x==0): print(1)
[["-", 0, 656, 0, 1, 0, 662, 12, 432, 0, 21], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
29
x = input() if str(x) == 0: print("1") else: print("0")
x = input() if int(x) == 0: print("1") else: print("0")
[["-", 0, 656, 0, 57, 15, 666, 0, 652, 63, 22], ["+", 0, 656, 0, 57, 15, 666, 0, 652, 63, 22]]
5
27
import sys, re import math import numpy as np from decimal import Decimal from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import accumulate, permutations, combinations, product from operator import itemgetter, mul # from copy impor...
import sys, re import math import numpy as np from decimal import Decimal from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import accumulate, permutations, combinations, product from operator import itemgetter, mul # from copy impor...
[["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 612]]
5
205
x = input("x") if x == "1": print(0) else: print(1)
x = input() if x == "1": print(0) else: print(1)
[["-", 0, 662, 12, 652, 3, 4, 0, 557, 0, 654], ["-", 0, 662, 12, 652, 3, 4, 0, 557, 0, 6], ["-", 0, 662, 12, 652, 3, 4, 0, 557, 0, 655]]
5
25
#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; }
[["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
51
// // 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; }
[["-", 8, 9, 0, 57, 64, 1, 0, 16, 12, 13], ["+", 8, 9, 0, 57, 64, 1, 0, 16, 12, 13], ["-", 0, 57, 75, 76, 0, 1, 0, 16, 12, 13], ["+", 0, 57, 75, 76, 0, 1, 0, 16, 12, 13]]
1
42
x = input() if X == "1": print("0") else: print("1")
X = input() if X == "1": print("0") else: print("1")
[["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22]]
5
26
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0); 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() { ios::sync_with_stdio(0); cin.tie(0); int x; cin >> x; if (x == 0) cout << "1" << endl; else cout << "0" << endl; return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60]]
1
59
n = int(input()) if n == 1: print(1) elif n == 0: print(0)
n = int(input()) if n == 1: print(0) elif n == 0: print(1)
[["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612]]
5
26
#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; } }
[["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["-", 0, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 0, 9, 0, 1, 0, 16, 31, 16, 12, 13]]
1
42
#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; }
[["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 45], ["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 46], ["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]]
1
67
const input = require("fs").readFileSync("/dev/stdin", "utf8") const lines = input.split('\n') let x = lines[0] - 0 console.log(x ? 1 : 0)
const input = require("fs").readFileSync("/dev/stdin", "utf8") const lines = input.split('\n') let x = lines[0] - 0 console.log(x ? 0 : 1)
[["-", 0, 1, 0, 2, 3, 3, 0, 510, 64, 555], ["-", 0, 1, 0, 2, 3, 3, 0, 510, 0, 102], ["+", 0, 1, 0, 2, 3, 3, 0, 510, 0, 102], ["+", 0, 1, 0, 2, 3, 3, 0, 510, 75, 555]]
2
50
a=int(input()) if a&1: print(1) else: print(0)
a=int(input()) if a&1: print(0) else: print(1)
[["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 612]]
5
23
#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; }
[["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95]]
1
51
#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; }
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
45
<?php //標準入力一行取得 $stdin = trim(fgets(STDIN)); if($stdin === 0){ echo '1'; } else { echo '0'; } ?>
<?php //標準入力一行取得 $stdin = trim(fgets(STDIN)); if($stdin == '0'){ echo '1'; } else { echo '0'; } ?>
[["-", 0, 493, 0, 57, 15, 23, 0, 16, 17, 565], ["+", 0, 493, 0, 57, 15, 23, 0, 16, 17, 60], ["+", 0, 57, 15, 23, 0, 16, 12, 557, 0, 104]]
6
36
n=int(input()) if n==1: n=0 if n==0: n=1 print(n)
n=int(input()) if n==1: n=0 else: n=1 print(n)
[["-", 36, 36, 36, 36, 0, 656, 0, 57, 0, 121], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 60], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 612], ["+", 36, 36, 0, 656, 0, 57, 75, 76, 0, 95]]
5
28
#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...
[["-", 8, 9, 0, 57, 64, 1, 0, 16, 12, 13], ["+", 8, 9, 0, 57, 64, 1, 0, 16, 12, 13], ["-", 0, 57, 75, 76, 0, 1, 0, 16, 12, 13], ["+", 0, 57, 75, 76, 0, 1, 0, 16, 12, 13]]
1
84
#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(); } }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]]
1
83
#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; } }
[["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13]]
1
61
#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; }
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
55
#include <stdio.h> int main(void) { int x; scanf("%d", x); if (x == 0) { printf("%d", 1); } else { printf("%d", 0); } return 0; }
#include <stdio.h> int main(void) { int x; scanf("%d", &x); if (x == 0) { printf("%d", 1); } else { printf("%d", 0); } return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
53
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; return !x; } static int fastio = []() { #define endl '\n' ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(0); return 0; }();
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; cout << !x; } static int fastio = []() { #define endl '\n' ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(0); return 0; }();
[["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151]]
1
63
// 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...
[["-", 0, 57, 64, 1, 0, 16, 31, 16, 12, 13], ["+", 0, 57, 64, 1, 0, 16, 31, 16, 12, 13]]
1
1,462
import sys import collections as cc import math as mt I=lambda:list(map(int,input().split())) n,=I() if n==1: print(1) else: print(0)
import sys import collections as cc import math as mt I=lambda:list(map(int,input().split())) n,=I() if n==1: print(0) else: print(1)
[["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 612]]
5
50
num = input() if num is 0: print(1) else: print(0)
num = int(input()) if num is 0: print(1) else: print(0)
[["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
20
#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...
[["-", 0, 57, 75, 76, 0, 1, 0, 16, 12, 13], ["+", 0, 57, 75, 76, 0, 1, 0, 16, 12, 13]]
1
70
#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...
[["-", 75, 76, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 75, 76, 0, 1, 0, 16, 31, 16, 12, 13]]
1
461
#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...
[["-", 0, 1, 0, 16, 31, 16, 12, 91, 17, 92], ["+", 0, 1, 0, 16, 31, 16, 12, 91, 17, 111]]
1
170
#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...
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
317
if __name__ == "__main__": a = input() a = int(a) if a==0: print(0) if a==1: print(1)
if __name__ == "__main__": a = input() a = int(a) if a==0: print(1) if a==1: print(0)
[["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612]]
5
36
#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; }
[["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 13]]
1
40
#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; } }
[["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 104]]
1
46
#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; }
[["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
51
#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...
[["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13]]
1
130
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int n; scanf("%d", &n); if (n == 1) printf("1"); else if (n == 0) printf("0"); return 0; }
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int n; scanf("%d", &n); if (n == 1) printf("0"); else if (n == 0) printf("1"); return 0; }
[["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
55
x=input() if x==0: print("1") else: print("0")
x=int(input()) if x==0: print("1") else: print("0")
[["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
24
/*ॐॐ*/ /* 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...
[["-", 75, 76, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 75, 76, 0, 1, 0, 16, 31, 16, 12, 13]]
1
96
#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 ...
[["-", 0, 16, 31, 16, 12, 23, 0, 41, 64, 13], ["-", 0, 16, 31, 16, 12, 23, 0, 41, 0, 102], ["+", 0, 16, 31, 16, 12, 23, 0, 41, 0, 102], ["+", 0, 16, 31, 16, 12, 23, 0, 41, 75, 13]]
1
103