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
p02585
#include <bits/stdc++.h> #define ll long long #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define repi(i, a, b) for (ll i = (ll)(a); i < (ll)(b); i++) #define repm(i, a, b) for (ll i = (ll)(a); i > (ll)(b); i--) #define all(v) v.begin(), v.end() #define rall(x) (x).rbegin(), (x).rend() #define pll pair<long long...
#include <bits/stdc++.h> #define ll long long #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define repi(i, a, b) for (ll i = (ll)(a); i < (ll)(b); i++) #define repm(i, a, b) for (ll i = (ll)(a); i > (ll)(b); i--) #define all(v) v.begin(), v.end() #define rall(x) (x).rbegin(), (x).rend() #define pll pair<long long...
[ "assignment.change" ]
289,469
289,470
u663733313
cpp
p02585
#include <algorithm> #include <cmath> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <random> #include <set> #include <stack> #include <string> #include <utility> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < n; ++i) #define REP(i, n) for...
#include <algorithm> #include <cmath> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <random> #include <set> #include <stack> #include <string> #include <utility> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < n; ++i) #define REP(i, n) for...
[ "assignment.value.change", "expression.operation.binary.change", "call.add" ]
289,479
289,480
u190761897
cpp
p02585
#include <bits/stdc++.h> using namespace std; #define int long long #define PB push_back #define ALL(x) (x).begin(), (x).end() #define ALLR(x) (x).rbegin(), (x).rend() #define MP make_pair template <typename A, typename B> string to_string(pair<A, B> p); template <typename A, typename B, typename C> string to_stri...
#include <bits/stdc++.h> using namespace std; #define int long long #define PB push_back #define ALL(x) (x).begin(), (x).end() #define ALLR(x) (x).rbegin(), (x).rend() #define MP make_pair template <typename A, typename B> string to_string(pair<A, B> p); template <typename A, typename B, typename C> string to_stri...
[ "assignment.change" ]
289,481
289,482
u420803966
cpp
p02585
#pragma GCC optimize("O3") #include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using vl = vector<ll>; using vvl = vector<vector<ll>>; using P = pair<ll, ll>; using um = unordered_map<ll, ll>; #define fl cout << flush; #define endl '\n' template <typename T> inline void prt(T v) {...
#pragma GCC optimize("O3") #include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using vl = vector<ll>; using vvl = vector<vector<ll>>; using P = pair<ll, ll>; using um = unordered_map<ll, ll>; #define fl cout << flush; #define endl '\n' template <typename T> inline void prt(T v) {...
[ "misc.opposites", "identifier.change", "call.function.change", "control_flow.branch.if.condition.change" ]
289,486
289,487
u575802441
cpp
p02585
#include <bits/stdc++.h> #define ll long long #define ld long double #define FAST \ { \ ios_base::sync_with_stdio(false); \ cin....
#include <bits/stdc++.h> #define ll long long #define ld long double #define FAST \ { \ ios_base::sync_with_stdio(false); \ cin....
[]
289,488
289,489
u103417026
cpp
p02585
#include <bits/stdc++.h> #define ll long long #define ld long double #define FAST \ { \ ios_base::sync_with_stdio(false); \ cin....
#include <bits/stdc++.h> #define ll long long #define ld long double #define FAST \ { \ ios_base::sync_with_stdio(false); \ cin....
[ "assignment.change" ]
289,490
289,489
u103417026
cpp
p02585
#include <cstdio> typedef long long LL; int n, k, p[5001]; LL c[5001], ans; LL getmax(LL a, LL b) { return a > b ? a : b; } int main() { scanf("%d%d", &n, &k); for (int i = 1; i <= n; i++) scanf("%d", &p[i]); for (int i = 1; i <= n; i++) scanf("%lld", &c[i]); ans = c[1]; for (int i = 1; i <= n; i++...
#include <cstdio> typedef long long LL; int n, k, p[5001]; LL c[5001], ans; LL getmax(LL a, LL b) { return a > b ? a : b; } int main() { scanf("%d%d", &n, &k); for (int i = 1; i <= n; i++) scanf("%d", &p[i]); for (int i = 1; i <= n; i++) scanf("%lld", &c[i]); ans = c[1]; for (int i = 1; i <= n; i++...
[ "expression.operation.binary.remove", "assignment.change" ]
289,493
289,494
u699301373
cpp
p02587
#pragma GCC optimize("O3") #pragma GCC target("sse4") #include <bits/stdc++.h> using namespace std; typedef pair<int, int> ii; typedef vector<int> vi; typedef long long ll; #define f first #define s second #define pb push_back #define lb lower_bound #define ub upper_bound #define sz(x) (int)x.size() #define all(x) ...
#pragma GCC optimize("O3") #pragma GCC target("sse4") #include <bits/stdc++.h> using namespace std; typedef pair<int, int> ii; typedef vector<int> vi; typedef long long ll; #define f first #define s second #define pb push_back #define lb lower_bound #define ub upper_bound #define sz(x) (int)x.size() #define all(x) ...
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
289,495
289,496
u905710781
cpp
p02587
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, int> pli; typedef pair<pli, pii> plii; #define mkp make_pair #define fi first #define se second int n; ll dis[53][21][2]; char c[53][23]; int len[53], C[53]; priority_queue<plii, vector<plii>, greater<plii>>...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, int> pli; typedef pair<pli, pii> plii; #define mkp make_pair #define fi first #define se second int n; ll dis[53][21][2]; char c[53][23]; int len[53], C[53]; priority_queue<plii, vector<plii>, greater<plii>>...
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
289,503
289,504
u937608388
cpp
p02588
#include <algorithm> #include <bitset> #include <cassert> #include <chrono> #include <climits> #include <cmath> #include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <random> #include <set> #include <sstream> #include <stack> #include <s...
#include <algorithm> #include <bitset> #include <cassert> #include <chrono> #include <climits> #include <cmath> #include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <random> #include <set> #include <sstream> #include <stack> #include <s...
[ "call.add", "call.arguments.change" ]
289,531
289,532
u060079565
cpp
p02588
#include <bits/stdc++.h> using namespace std; typedef long long ll; const ll mod = 1e9; const long long INF = 1e15; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); ll n; cin >> n; vector<long double> a(n); vector<ll> b(n); for (ll i = 0; i < n; i++) cin >> a[i]; for...
#include <bits/stdc++.h> using namespace std; typedef long long ll; const ll mod = 1e9; const long long INF = 1e15; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); ll n; cin >> n; vector<long double> a(n); vector<ll> b(n); for (ll i = 0; i < n; i++) cin >> a[i]; for...
[ "assignment.change" ]
289,548
289,549
u191484928
cpp
p02588
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <map> #include <queue> #define cl_has_dh(x...) \ cl_get_th_100(x, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,...
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <map> #include <queue> #define cl_has_dh(x...) \ cl_get_th_100(x, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,...
[]
289,581
289,582
u879825513
cpp
p02588
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef long double ld; #define mp make_pair #define PI pair<ll, ll> #define poly vector<ll> #define mem(a) memset((a), 0, sizeof(a)) #define For(i, l, r) for (int i = (int)(l); i <= (int)(r); i++) #define Rep(i, r, l) f...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef long double ld; #define mp make_pair #define PI pair<ll, ll> #define poly vector<ll> #define mem(a) memset((a), 0, sizeof(a)) #define For(i, l, r) for (int i = (int)(l); i <= (int)(r); i++) #define Rep(i, r, l) f...
[ "identifier.change", "control_flow.branch.if.condition.change" ]
289,613
289,614
u910444501
cpp
p02588
/* @uthor: Amit Kumar user -->GitHub: drviruses ; CodeChef: dr_virus_ ; Codeforces,AtCoder,Hackerearth,Hakerrank: dr_virus; */ #include <bits/stdc++.h> #include <chrono> using namespace std; using namespace std::chrono; //#include <boost/multiprecision/cpp_int.hpp> // namespace mp = boost::multiprecision; //...
/* @uthor: Amit Kumar user -->GitHub: drviruses ; CodeChef: dr_virus_ ; Codeforces,AtCoder,Hackerearth,Hakerrank: dr_virus; */ #include <bits/stdc++.h> #include <chrono> using namespace std; using namespace std::chrono; //#include <boost/multiprecision/cpp_int.hpp> // namespace mp = boost::multiprecision; //...
[ "assignment.change", "identifier.change", "control_flow.branch.if.condition.change" ]
289,632
289,633
u894812250
cpp
p02588
#include <bits/stdc++.h> #define IOS \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0) #define pb push_back #define ff first ...
#include <bits/stdc++.h> #define IOS \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0) #define pb push_back #define ff first ...
[ "call.add", "literal.number.change", "expression.operation.binary.change", "call.arguments.change" ]
289,677
289,678
u417017290
cpp
p02588
#include <bits/stdc++.h> using namespace std; int main() { long long n; cin >> n; long double temp; map<pair<long long, long long>, long long> n25; for (int i = 0; i < n; i++) { cin >> temp; temp *= 1000000000; long long ltemp = (long long)temp; long long n2 = 0; long long ltemptemp = lte...
#include <bits/stdc++.h> using namespace std; int main() { long long n; cin >> n; long double temp; map<pair<long long, long long>, long long> n25; for (int i = 0; i < n; i++) { cin >> temp; temp *= 1000000000; long long ltemp = (long long)(temp + 0.5); // cout<<setprecision(18)<<temp<<endl; ...
[]
289,680
289,681
u469315559
cpp
p02589
#include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for (int i = (a); i <= (b); ++i) #define rrep(i, a, b) for (int i = (a); i >= (b); --i) #define PB push_back #define ar2 array<int, 2> typedef long long LL; const LL P = 998244353; const int N = 2e5 + 5; mt19937 rng(time(0)); int n, last[N][26]; string...
#include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for (int i = (a); i <= (b); ++i) #define rrep(i, a, b) for (int i = (a); i >= (b); --i) #define PB push_back #define ar2 array<int, 2> typedef long long LL; const LL P = 998244353; const int N = 2e5 + 5; mt19937 rng(time(0)); int n, last[N][26]; string...
[ "assignment.change" ]
289,699
289,700
u847307867
cpp
p02589
//#pragma GCC optimize("O3") //#pragma GCC optimize("unroll-loops") //#pragma GCC target("avx2") // 293206GT #include <algorithm> #include <algorithm> #include <bitset> #include <chrono> #include <cmath> #include <iostream> #include <map> #include <queue> #include <random> #include <set> #include <stack> #include <stri...
//#pragma GCC optimize("O3") //#pragma GCC optimize("unroll-loops") //#pragma GCC target("avx2") // 293206GT #include <algorithm> #include <algorithm> #include <bitset> #include <chrono> #include <cmath> #include <iostream> #include <map> #include <queue> #include <random> #include <set> #include <stack> #include <stri...
[ "expression.operation.binary.add" ]
289,707
289,708
u043781218
cpp
p02589
#include <algorithm> #include <cstdio> #include <cstring> #include <queue> #define re register using namespace std; const int Mxdt = 100000; //单次大小 inline char gc() { static char buf[Mxdt], *p1 = buf, *p2 = buf; return p1 == p2 && (p2 = (p1 = buf) + fread(buf, 1, Mxdt, stdin), p1 == p2) ? EOF ...
#include <algorithm> #include <cstdio> #include <cstring> #include <queue> #define re register using namespace std; const int Mxdt = 100000; //单次大小 inline char gc() { static char buf[Mxdt], *p1 = buf, *p2 = buf; return p1 == p2 && (p2 = (p1 = buf) + fread(buf, 1, Mxdt, stdin), p1 == p2) ? EOF ...
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
289,711
289,712
u209212360
cpp
p02589
#include <algorithm> #include <cassert> #include <chrono> #include <cmath> #include <cstdio> #include <ctime> #include <functional> #include <iostream> #include <map> #include <numeric> #include <queue> #include <random> #include <set> #include <sstream> #include <string> #include <tuple> #include <utility> #include <v...
#include <algorithm> #include <cassert> #include <chrono> #include <cmath> #include <cstdio> #include <ctime> #include <functional> #include <iostream> #include <map> #include <numeric> #include <queue> #include <random> #include <set> #include <sstream> #include <string> #include <tuple> #include <utility> #include <v...
[ "identifier.change", "call.function.change", "io.output.change" ]
289,723
289,724
u075551644
cpp
p02589
#include <bits/stdc++.h> using namespace std; #define int long long #define all(x) (x).begin(), (x).end() #define sz(x) (int)(x).size() using namespace std; typedef pair<long long, long long> ii; typedef long long lint; map<ii, int> pre; int mod = 1000000007; int P = 97; int P2 = 101; long long qexp(long long b, long...
#include <bits/stdc++.h> using namespace std; #define int long long #define all(x) (x).begin(), (x).end() #define sz(x) (int)(x).size() using namespace std; typedef pair<long long, long long> ii; typedef long long lint; map<ii, int> pre; int mod = 1000000007; int P = 97; int P2 = 101; long long qexp(long long b, long...
[ "identifier.change", "expression.operation.binary.change", "assignment.variable.change" ]
289,729
289,730
u639719643
cpp
p02589
#include <algorithm> #include <cassert> #include <cmath> #include <cstdio> #include <cstring> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <tuple> #include <vector> using namespace std; typedef long long int LL; typedef pair<int, int> ...
#include <algorithm> #include <cassert> #include <cmath> #include <cstdio> #include <cstring> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <tuple> #include <vector> using namespace std; typedef long long int LL; typedef pair<int, int> ...
[ "function.return_type.change" ]
289,737
289,738
u464804957
cpp
p02589
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <ext/rope> #define ff(i, a, b) for (int(i) = (a); (i) <= (b); ++(i)) #define fb(i, a, b) for (int(i) = (a); (i) >= (b); --(i)) #define mod 998244353 #define xx first #define yy second #define all(a) (a).begi...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <ext/rope> #define ff(i, a, b) for (int(i) = (a); (i) <= (b); ++(i)) #define fb(i, a, b) for (int(i) = (a); (i) >= (b); --(i)) #define mod 998244353 #define xx first #define yy second #define all(a) (a).begi...
[ "control_flow.branch.if.add" ]
289,741
289,742
u993027259
cpp
p02589
#include <bits/stdc++.h> using namespace std; #define MAXN 200007 int n; string a[MAXN]; struct node { int to[26]; int subtree; int en; int cnt[26]; node() { subtree = 0; for (int i = 0; i < 26; ++i) { to[i] = cnt[i] = 0; } } }; node v[7 * MAXN]; int tpsz = 1; long long ans = 0; void ...
#include <bits/stdc++.h> using namespace std; #define MAXN 200007 int n; string a[MAXN]; struct node { int to[26]; int subtree; int en; int cnt[26]; node() { subtree = 0; for (int i = 0; i < 26; ++i) { to[i] = cnt[i] = 0; } } }; node v[7 * MAXN]; int tpsz = 1; long long ans = 0; void ...
[]
289,743
289,744
u741945117
cpp
p02589
#include <algorithm> #include <cstdio> #include <cstring> using namespace std; typedef long long ll; int n, ch[2000005][26], vis[2000005], cnt, sum[105]; char tmp[10000005], *s[1000005], *f = tmp; ll ans = 0; void ins(const char *s) { int len = strlen(s), p = 1; for (int i = len - 1; i >= 0; i--) { int c = s[i]...
#include <algorithm> #include <cstdio> #include <cstring> using namespace std; typedef long long ll; int n, ch[2000005][26], vis[2000005], cnt = 1, sum[105]; char tmp[10000005], *s[1000005], *f = tmp; ll ans = 0; void ins(const char *s) { int len = strlen(s), p = 1; for (int i = len - 1; i >= 0; i--) { int c = ...
[ "variable_declaration.value.change" ]
289,751
289,752
u892880049
cpp
p02590
#include <algorithm> #include <array> #ifdef _MSC_VER #include <intrin.h> #endif namespace atcoder { namespace internal { // @param n `0 <= n` // @return minimum non-negative `x` s.t. `n <= 2**x` int ceil_pow2(int n) { int x = 0; while ((1U << x) < (unsigned int)(n)) x++; return x; } // @param n `1 <= n...
#include <algorithm> #include <array> #ifdef _MSC_VER #include <intrin.h> #endif namespace atcoder { namespace internal { // @param n `0 <= n` // @return minimum non-negative `x` s.t. `n <= 2**x` int ceil_pow2(int n) { int x = 0; while ((1U << x) < (unsigned int)(n)) x++; return x; } // @param n `1 <= n...
[]
289,763
289,764
u843175622
cpp
p02590
#include <bits/stdc++.h> #include <algorithm> #include <array> #ifdef _MSC_VER #include <intrin.h> #endif namespace atcoder { namespace internal { // @param n `0 <= n` // @return minimum non-negative `x` s.t. `n <= 2**x` int ceil_pow2(int n) { int x = 0; while ((1U << x) < (unsigned int)(n)) x++; return ...
#include <bits/stdc++.h> #include <algorithm> #include <array> #ifdef _MSC_VER #include <intrin.h> #endif namespace atcoder { namespace internal { // @param n `0 <= n` // @return minimum non-negative `x` s.t. `n <= 2**x` int ceil_pow2(int n) { int x = 0; while ((1U << x) < (unsigned int)(n)) x++; return ...
[ "identifier.change", "call.function.change", "expression.operation.binary.remove" ]
289,767
289,766
u895971408
cpp
p02588
#include <bits/stdc++.h> using namespace std; typedef long double ld; typedef long long ll; const int Maxd = 19; const int mult = 1000000000; int has[Maxd][Maxd]; ll res; int main() { std::ios_base::sync_with_stdio(0); int n; cin >> n; for (int i = 0; i < n; i++) { ld num; cin >> num; ll got = l...
#include <bits/stdc++.h> using namespace std; typedef long double ld; typedef long long ll; const int Maxd = 19; const int mult = 1000000000; int has[Maxd][Maxd]; ll res; int main() { std::ios_base::sync_with_stdio(0); int n; cin >> n; for (int i = 0; i < n; i++) { ld num; cin >> num; ll got = l...
[ "identifier.change", "control_flow.branch.if.condition.change" ]
289,825
289,826
u055221623
cpp
p02589
#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; typedef long long ll; typedef long double ld; typedef pair<ll, ll> pp; typedef tree<pp, null_type, less<pp>, rb_tree_tag, tree_order_statistics_node_updat...
#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; typedef long long ll; typedef long double ld; typedef pair<ll, ll> pp; typedef tree<pp, null_type, less<pp>, rb_tree_tag, tree_order_statistics_node_updat...
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
289,843
289,844
u980798691
cpp
p02589
// This code wrote by chtholly_micromaker(MicroMaker) #pragma GCC optimize(3, "Ofast", "inline") #pragma GCC target("avx,avx2") #include <bits/stdc++.h> #define reg register #define ALL(x) (x).begin(), (x).end() #define mem(x, y) memset(x, y, sizeof x) #define sz(x) (int)(x).size() #define ln puts("") #define lsp putch...
// This code wrote by chtholly_micromaker(MicroMaker) #pragma GCC optimize(3, "Ofast", "inline") #pragma GCC target("avx,avx2") #include <bits/stdc++.h> #define reg register #define ALL(x) (x).begin(), (x).end() #define mem(x, y) memset(x, y, sizeof x) #define sz(x) (int)(x).size() #define ln puts("") #define lsp putch...
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
289,847
289,848
u699433784
cpp
p02589
#include <bits/stdc++.h> using namespace std; #define int ll #define ll long long #define I32_MAX 2147483647 #define I64_MAX 9223372036854775807LL #define I64_MAX2 1223372036854775807LL #define INF I64_MAX2 #define MOD 1000000007 // #define MOD 998244353 #define MEM_SIZE 101010 #define DEBUG_OUT true #define ALL(x) (x)...
#include <bits/stdc++.h> using namespace std; #define int ll #define ll long long #define I32_MAX 2147483647 #define I64_MAX 9223372036854775807LL #define I64_MAX2 1223372036854775807LL #define INF I64_MAX2 #define MOD 1000000007 // #define MOD 998244353 #define MEM_SIZE 101010 #define DEBUG_OUT true #define ALL(x) (x)...
[ "call.arguments.change" ]
289,853
289,854
u221285045
cpp
p02589
// This Code was made by Chinese_zjc_. #include <algorithm> #include <bitset> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <time.h> #include <vector> // #include<...
// This Code was made by Chinese_zjc_. #include <algorithm> #include <bitset> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <time.h> #include <vector> // #include<...
[ "assignment.change" ]
289,855
289,856
u577059859
cpp
p02589
#include <bits/stdc++.h> using namespace std; #define pb push_back #define LL long long const int N = 2e5 + 5; int n; vector<string> v; vector<int> c[N][26]; LL ans; int main() { cin >> n; for (int i = 0; i < n; i++) { string s; cin >> s; reverse(s.begin(), s.end()); v.pb(s); } sort(v.begin(),...
#include <bits/stdc++.h> using namespace std; #define pb push_back #define LL long long const int N = 2e5 + 5; int n; vector<string> v; vector<int> c[N][26]; LL ans; int main() { cin >> n; for (int i = 0; i < n; i++) { string s; cin >> s; reverse(s.begin(), s.end()); v.pb(s); } sort(v.begin(),...
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
289,883
289,884
u561786262
cpp
p02590
#include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for (int i = a; i < (b); ++i) #define all(x) begin(x), end(x) #define sz(x) (int)(x).size() #define pb push_back typedef long long ll; typedef pair<int, int> pii; typedef vector<int> vi; /** * Author: Ludo Pulles, chilli, Simon Lindholm * Date: 2019...
#include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for (int i = a; i < (b); ++i) #define all(x) begin(x), end(x) #define sz(x) (int)(x).size() #define pb push_back typedef long long ll; typedef pair<int, int> pii; typedef vector<int> vi; /** * Author: Ludo Pulles, chilli, Simon Lindholm * Date: 2019...
[ "call.add", "call.arguments.change" ]
289,943
289,944
u743900647
cpp
p02590
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef map<int, int> mii; typedef vector<int> vi; typedef vector<vector<int>> vii; typedef vector<long long> vl; typedef vector<vector<ll>> vll; typedef vector<bool> vb; typ...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef map<int, int> mii; typedef vector<int> vi; typedef vector<vector<int>> vii; typedef vector<long long> vl; typedef vector<vector<ll>> vll; typedef vector<bool> vb; typ...
[ "variable_declaration.type.change", "literal.number.change", "variable_declaration.value.change" ]
289,957
289,956
u230813268
cpp
p02590
#include <bits/stdc++.h> using namespace std; using int64 = long long; constexpr int DEBUG = 0; constexpr int64 P = 200003; using Complex = complex<double>; // Reference: http://www.prefield.com/algorithm/math/fft.html vector<Complex> DFT(const vector<Complex> &p, int n, int sign = 1) { const double theta = 2.0 ...
#include <bits/stdc++.h> using namespace std; using int64 = long long; constexpr int DEBUG = 0; constexpr int64 P = 200003; using Complex = complex<double>; // Reference: http://www.prefield.com/algorithm/math/fft.html vector<Complex> DFT(const vector<Complex> &p, int n, int sign = 1) { const double theta = 2.0 ...
[ "expression.operator.arithmetic.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change" ]
289,959
289,960
u771276542
cpp
p02590
#include <bits/stdc++.h> using namespace std; using int64 = long long; constexpr int DEBUG = 0; constexpr int64 P = 200003; using Complex = complex<double>; // Reference: http://www.prefield.com/algorithm/math/fft.html vector<Complex> DFT(const vector<Complex> &p, int n, int sign = 1) { const double theta = 2.0 ...
#include <bits/stdc++.h> using namespace std; using int64 = long long; constexpr int DEBUG = 0; constexpr int64 P = 200003; using Complex = complex<double>; // Reference: http://www.prefield.com/algorithm/math/fft.html vector<Complex> DFT(const vector<Complex> &p, int n, int sign = 1) { const double theta = 2.0 ...
[ "control_flow.return.add" ]
289,961
289,962
u771276542
cpp
p02590
// May this submission get accepted #include <bits/stdc++.h> // エイリアス using ll = long signed long; using ull = long unsigned long; using ld = long double; using namespace std; // AtCoder/Codeforces 用 デバッグ検知 #ifdef ONLINE_JUDGE constexpr bool DEBUG_MODE = false; #else constexpr bool DEBUG_MODE = true; #endif // エイリアス...
// May this submission get accepted #include <bits/stdc++.h> // エイリアス using ll = long signed long; using ull = long unsigned long; using ld = long double; using namespace std; // AtCoder/Codeforces 用 デバッグ検知 #ifdef ONLINE_JUDGE constexpr bool DEBUG_MODE = false; #else constexpr bool DEBUG_MODE = true; #endif // エイリアス...
[ "control_flow.loop.for.condition.change", "misc.off_by_one" ]
289,970
289,971
u653187094
cpp
p02590
#include <bits/stdc++.h> #define SZ(X) ((int)(X).size()) #define ALL(X) (X).begin(), (X).end() #define REP(I, N) for (int I = 0; I < (N); ++I) #define REPP(I, A, B) for (int I = (A); I < (B); ++I) #define RI(X) scanf("%d", &(X)) #define RII(X, Y) scanf("%d%d", &(X), &(Y)) #define RIII(X, Y, Z) scanf("%d%d%d", &(X), &(Y...
#include <bits/stdc++.h> #define SZ(X) ((int)(X).size()) #define ALL(X) (X).begin(), (X).end() #define REP(I, N) for (int I = 0; I < (N); ++I) #define REPP(I, A, B) for (int I = (A); I < (B); ++I) #define RI(X) scanf("%d", &(X)) #define RII(X, Y) scanf("%d%d", &(X), &(Y)) #define RIII(X, Y, Z) scanf("%d%d%d", &(X), &(Y...
[ "literal.number.change", "assignment.value.change", "expression.operation.binary.change" ]
289,995
289,996
u032793834
cpp
p02590
#include <bits/stdc++.h> using namespace std; #define double long double #define ALL(x) (x).begin(), (x).end() #define SZ(x) static_cast<int>((x).size()) template <class T, size_t D> struct vec : vector<vec<T, D - 1>> { template <class... Args> vec(size_t n = 0, Args... args) : vector<vec<T, D - 1>>(n, vec<...
#include <bits/stdc++.h> using namespace std; #define double long double #define ALL(x) (x).begin(), (x).end() #define SZ(x) static_cast<int>((x).size()) template <class T, size_t D> struct vec : vector<vec<T, D - 1>> { template <class... Args> vec(size_t n = 0, Args... args) : vector<vec<T, D - 1>>(n, vec<...
[ "assignment.change" ]
290,004
290,005
u760290068
cpp
p02594
#include <algorithm> #include <iomanip> #include <iostream> #include <math.h> #include <queue> #include <stack> #include <stdlib.h> #include <string> #include <vector> using namespace std; #define PI 3.14159265358979 typedef long long ll; #define rep(i, n) for (int i = 0; i < n; i++) #include <set> int main(void) { i...
#include <algorithm> #include <iomanip> #include <iostream> #include <math.h> #include <queue> #include <stack> #include <stdlib.h> #include <string> #include <vector> using namespace std; #define PI 3.14159265358979 typedef long long ll; #define rep(i, n) for (int i = 0; i < n; i++) #include <set> int main(void) { i...
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
290,038
290,039
u118340517
cpp
p02594
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x >= 30) cout << "YES"; else cout << "NO"; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x >= 30) cout << "Yes"; else cout << "No"; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,047
290,048
u309717943
cpp
p02594
#include <bits/stdc++.h> using namespace std; #define fast() \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); #define ll long...
#include <bits/stdc++.h> using namespace std; #define fast() \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); #define ll long...
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
290,057
290,058
u648414342
cpp
p02594
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x >= 30) cout << 'Yes' << endl; else cout << 'No' << endl; return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x >= 30) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
290,061
290,062
u683588090
cpp
p02594
#include <algorithm> #include <fstream> #include <iostream> #include <vector> using namespace std; int main(int argc, const char *argv[]) { // cinを高速にするためのおまじない cin.tie(0); ios::sync_with_stdio(false); ///////////////////// // Write code below / int X; cin >> X; if (X < 31) { cout << "Yes" << endl...
#include <algorithm> #include <fstream> #include <iostream> #include <vector> using namespace std; int main(int argc, const char *argv[]) { // cinを高速にするためのおまじない cin.tie(0); ios::sync_with_stdio(false); ///////////////////// // Write code below / int X; cin >> X; if (X < 30) { cout << "No" << endl;...
[ "literal.number.change", "control_flow.branch.if.condition.change", "literal.string.change", "io.output.change" ]
290,063
290,064
u351173534
cpp
p02594
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <cmath> #include <cstdlib> #include <utility> #include <cstdio> #define vii vector<pair<int, int>> #define vi vector<int> #define INF 1000000007 #define ff first #define ss second #define lli long long int #define ulli u...
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <cmath> #include <cstdlib> #include <utility> #include <cstdio> #define vii vector<pair<int, int>> #define vi vector<int> #define INF 1000000007 #define ff first #define ss second #define lli long long int #define ulli u...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,069
290,070
u199908410
cpp
p02594
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <functional> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <vector> using namespace std; typedef long long ll; const int maxn = 3e5 + 50; const int inf = 0x3f3f3f3f; const int MOD = 1e9 + 7...
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <functional> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <vector> using namespace std; typedef long long ll; const int maxn = 3e5 + 50; const int inf = 0x3f3f3f3f; const int MOD = 1e9 + 7...
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
290,084
290,085
u942153032
cpp
p02594
#include <bits/stdc++.h> using namespace std; int main() { int i; cin >> i; if (i >= 30) { cout << "YES" << endl; } else { cout << "NO" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int i; cin >> i; if (i >= 30) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,094
290,095
u517092371
cpp
p02594
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, x, y) for (ll i = x; i <= y; i++) #define imin INT_MIN #define imax INT_MAX int mod = 1e9 + 7; int main() { cin.tie(NULL); ios_base::sync_with_stdio(); int tem; cin >> tem; if (tem >= 30) { cout << "YES"; } else { co...
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, x, y) for (ll i = x; i <= y; i++) #define imin INT_MIN #define imax INT_MAX int mod = 1e9 + 7; int main() { cin.tie(NULL); ios_base::sync_with_stdio(); int tem; cin >> tem; if (tem >= 30) { cout << "Yes"; } else { co...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,096
290,097
u039876942
cpp
p02594
#include <stdio.h> int main(void) { int t; scanf("%d", &t); if (t >= 30) printf("YES\n"); else printf("NO\n"); return 0; }
#include <stdio.h> int main() { int t; scanf("%d", &t); if (t >= 30) printf("Yes\n"); else printf("No\n"); return 0; }
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
290,099
290,100
u009387624
cpp
p02594
#include <stdio.h> int main() { int t; scanf("%d", &t); if (t >= 30) printf("YES\n"); else printf("NO\n"); return 0; }
#include <stdio.h> int main() { int t; scanf("%d", &t); if (t >= 30) printf("Yes\n"); else printf("No\n"); return 0; }
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
290,101
290,100
u009387624
cpp
p02594
#include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; if (t >= 30) cout << "YES"; else cout << "NO"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; if (t >= 30) cout << "Yes"; else cout << "No"; return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,104
290,105
u009387624
cpp
p02594
#include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <iterator> #include <list> #include <map> #include <numeric> #includ...
#include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <iterator> #include <list> #include <map> #include <numeric> #includ...
[ "literal.string.change", "io.output.change" ]
290,109
290,110
u430536466
cpp
p02594
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); // freopen("in.txt","r",stdin); // freopen("out.txt","w",stdout); long long n; cin >> n; if (n >= 30) { cout << "Yes"; } cout << "No"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); // freopen("in.txt","r",stdin); // freopen("out.txt","w",stdout); long long n; cin >> n; if (n >= 30) { cout << "Yes"; } else { cout << "No"; } return 0; }
[ "control_flow.branch.else.add" ]
290,123
290,124
u665138123
cpp
p02594
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x >= 30) { cout << "yes"; } else { cout << "no"; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x >= 30) { cout << "Yes"; } else { cout << "No"; } return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,135
290,136
u998432575
cpp
p02594
#include <iostream> #include <stdio.h> #include <string> using namespace std; int main() { int X; cin >> X; if (X <= 30) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
#include <iostream> #include <stdio.h> #include <string> using namespace std; int main() { int X; cin >> X; if (X >= 30) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
290,137
290,138
u940077882
cpp
p02589
#include <bits/stdc++.h> using namespace std; const int nax = 1e6 + 5; int child[nax][26]; // trie bool isEnd[nax]; int nxt = 1; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int n; cin >> n; vector<string> in(n); vector<vector<int>> path(n); for (int i = 0; i < n; i++) { string &s = in[i];...
#include <bits/stdc++.h> using namespace std; const int nax = 1e6 + 5; int child[nax][26]; // trie bool isEnd[nax]; int nxt = 1; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int n; cin >> n; vector<string> in(n); vector<vector<int>> path(n); for (int i = 0; i < n; i++) { string &s = in[i];...
[ "control_flow.loop.for.initializer.change", "identifier.change" ]
290,144
290,145
u190845677
cpp
p02589
#include <bits/stdc++.h> using namespace std; const int nax = 1e6 + 5; int child[nax][26]; // trie bool isEnd[nax]; int nxt = 1; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int n; cin >> n; vector<string> in(n); vector<vector<int>> path(n); for (int i = 0; i < n; i++) { string &s = in[i];...
#include <bits/stdc++.h> using namespace std; const int nax = 1e6 + 5; int child[nax][26]; // trie bool isEnd[nax]; int nxt = 1; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int n; cin >> n; vector<string> in(n); vector<vector<int>> path(n); for (int i = 0; i < n; i++) { string &s = in[i];...
[ "variable_declaration.type.primitive.change", "control_flow.loop.for.initializer.change", "identifier.change" ]
290,146
290,145
u190845677
cpp
p02589
#include <bits/stdc++.h> using namespace std; #define FOR(i, a, b) for (int i = (a), i##formax = (b); i < i##formax; i++) #define FORR(i, a, b) for (int i = (a), i##formin = (b); i >= i##formin; i--) #define pb push_back #define eb emplace_back #define mp make_pair #define fi first #define se second #define pcnt __buil...
#include <bits/stdc++.h> using namespace std; #define FOR(i, a, b) for (int i = (a), i##formax = (b); i < i##formax; i++) #define FORR(i, a, b) for (int i = (a), i##formin = (b); i >= i##formin; i--) #define pb push_back #define eb emplace_back #define mp make_pair #define fi first #define se second #define pcnt __buil...
[ "assignment.change" ]
290,154
290,155
u976045235
cpp
p02589
#include <bits/stdc++.h> using namespace std; #define ll long long #define fr(i, j, k) for (int i = j; i < k; i++) #define f(n) fr(i, 0, n) #define f1(n) fr(i, 1, n + 1) #define pb push_back #define F first #define S second #define all(x) x.begin(), x.end() const int mod = 1e9 + 7; const int maxn = 1000005; void solve...
#include <bits/stdc++.h> using namespace std; #define ll long long #define fr(i, j, k) for (int i = j; i < k; i++) #define f(n) fr(i, 0, n) #define f1(n) fr(i, 1, n + 1) #define pb push_back #define F first #define S second #define all(x) x.begin(), x.end() const int mod = 1e9 + 7; const int maxn = 1000005; void solve...
[ "expression.operation.binary.remove" ]
290,162
290,163
u308590217
cpp
p02589
#include <bits/stdc++.h> using namespace std; #define ll long long #define fr(i, j, k) for (int i = j; i < k; i++) #define f(n) fr(i, 0, n) #define f1(n) fr(i, 1, n + 1) #define pb push_back #define F first #define S second #define all(x) x.begin(), x.end() const int mod = 1e9 + 7; const int maxn = 1000005; void solve...
#include <bits/stdc++.h> using namespace std; #define ll long long #define fr(i, j, k) for (int i = j; i < k; i++) #define f(n) fr(i, 0, n) #define f1(n) fr(i, 1, n + 1) #define pb push_back #define F first #define S second #define all(x) x.begin(), x.end() const int mod = 1e9 + 7; const int maxn = 1000005; void solve...
[ "literal.number.change", "assignment.value.change", "expression.operation.binary.remove" ]
290,164
290,163
u308590217
cpp
p02589
#include <bits/stdc++.h> using namespace std; typedef long long ll; template <typename T1, typename T2> bool chmin(T1 &a, T2 b) { if (a <= b) return 0; a = b; return 1; } template <typename T1, typename T2> bool chmax(T1 &a, T2 b) { if (a >= b) return 0; a = b; return 1; } int dx[4] = {0, 1, -1, 0};...
#include <bits/stdc++.h> using namespace std; typedef long long ll; template <typename T1, typename T2> bool chmin(T1 &a, T2 b) { if (a <= b) return 0; a = b; return 1; } template <typename T1, typename T2> bool chmax(T1 &a, T2 b) { if (a >= b) return 0; a = b; return 1; } int dx[4] = {0, 1, -1, 0};...
[ "identifier.replace.remove", "literal.replace.add", "variable_access.subscript.index.change", "expression.operation.binary.change", "expression.operation.binary.remove" ]
290,166
290,167
u676029460
cpp
p02589
#include <bits/stdc++.h> #define rep(i, a, b) for (int i = a; i < b; i++) #define rrep(i, a, b) for (int i = a; i >= b; i--) #define fore(i, a) for (auto &i : a) #define all(x) (x).begin(), (x).end() //#pragma GCC optimize ("-O3") using namespace std; void _main(); int main() { cin.tie(0); ios::sync_with_stdio(fals...
#include <bits/stdc++.h> #define rep(i, a, b) for (int i = a; i < b; i++) #define rrep(i, a, b) for (int i = a; i >= b; i--) #define fore(i, a) for (auto &i : a) #define all(x) (x).begin(), (x).end() //#pragma GCC optimize ("-O3") using namespace std; void _main(); int main() { cin.tie(0); ios::sync_with_stdio(fals...
[ "expression.operation.binary.add" ]
290,206
290,207
u141378465
cpp
p02589
#include <bits/stdc++.h> #define ll long long #define rep(A, B, C) for (A = B; A < C; ++A) #define pii pair<int, int> #define pll pair<ll, ll> #define vv vector #define fi first #define se second #define all(A) A.begin(), A.end() void mxin(ll &a, ll b) { if (a < b) a = b; } using namespace std; /////////////...
#include <bits/stdc++.h> #define ll long long #define rep(A, B, C) for (A = B; A < C; ++A) #define pii pair<int, int> #define pll pair<ll, ll> #define vv vector #define fi first #define se second #define all(A) A.begin(), A.end() void mxin(ll &a, ll b) { if (a < b) a = b; } using namespace std; /////////////...
[ "control_flow.branch.if.condition.change" ]
290,229
290,230
u259396003
cpp
p02589
#include <bits/stdc++.h> using namespace std; #define ll long long #define scl(n) scanf("%lld", &n) #define scll(n, m) scanf("%lld%lld", &n, &m) #define scs(ch) scanf("%s", ch) #define pb push_back #define mp make_pair #define fr first #define sc second int trie[1000002][27]; ll cnt[30], ans = 0, nxt; char ch[1000005...
#include <bits/stdc++.h> using namespace std; #define ll long long #define scl(n) scanf("%lld", &n) #define scll(n, m) scanf("%lld%lld", &n, &m) #define scs(ch) scanf("%s", ch) #define pb push_back #define mp make_pair #define fr first #define sc second ll trie[1000002][27]; ll cnt[30], ans = 0, nxt = 1; char ch[1000...
[ "variable_declaration.type.change", "variable_declaration.value.change" ]
290,241
290,242
u101952412
cpp
p02589
#include <bits/stdc++.h> using namespace std; using ll = long long; using P = pair<ll, ll>; using Graph = vector<vector<ll>>; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define rep2(i, m, n) for (ll i = m; i < (ll)(n); i++) #define rrep(i, n, m) for (ll i = n; i >= (ll)(m); i--) const int dx[4] = {1, 0, -1, 0...
#include <bits/stdc++.h> using namespace std; using ll = long long; using P = pair<ll, ll>; using Graph = vector<vector<ll>>; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define rep2(i, m, n) for (ll i = m; i < (ll)(n); i++) #define rrep(i, n, m) for (ll i = n; i >= (ll)(m); i--) const int dx[4] = {1, 0, -1, 0...
[ "call.function.change", "expression.operation.binary.remove" ]
290,243
290,244
u427344224
cpp
p02589
#include <bits/stdc++.h> #include <ctime> #include <iostream> using namespace std; #define _LL long long #define rep(i, n) for (_LL i = 0; i < (_LL)(n); i++) #define vecrep(itr, v) for (auto itr = (v).begin(); itr != (v).end(); itr++) struct cnode { int index[26]; bool last[26]; cnode() { rep(i, 26) { ...
#include <bits/stdc++.h> #include <ctime> #include <iostream> using namespace std; #define _LL long long #define rep(i, n) for (_LL i = 0; i < (_LL)(n); i++) #define vecrep(itr, v) for (auto itr = (v).begin(); itr != (v).end(); itr++) struct cnode { int index[26]; bool last[26]; cnode() { rep(i, 26) { ...
[ "literal.number.change", "variable_declaration.value.change" ]
290,245
290,246
u131663893
cpp
p02589
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using vi = vector<ll>; using vvi = vector<vi>; #define all(a) a.begin(), a.end() #define pb push_back void solve() { int n; cin >> n; vector<pair<string, char>> vec(n); for (int i = 0; i < n; i++) { string s; ...
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using vi = vector<ll>; using vvi = vector<vi>; #define all(a) a.begin(), a.end() #define pb push_back void solve() { int n; cin >> n; vector<pair<string, char>> vec(n); for (int i = 0; i < n; i++) { string s; ...
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
290,249
290,250
u320027077
cpp
p02589
#include <bits/stdc++.h> using namespace std; #define il inline #define re register #define debug printf("Now is Line : %d\n", __LINE__) #define file(a) \ freopen(#a ".in", "r", stdin); \ freopen(#a ".out", ...
#include <bits/stdc++.h> using namespace std; #define il inline #define re register #define debug printf("Now is Line : %d\n", __LINE__) #define file(a) \ freopen(#a ".in", "r", stdin); \ freopen(#a ".out", ...
[ "preprocessor.define.value.change", "literal.integer.change", "identifier.change", "call.function.change" ]
290,251
290,252
u621992275
cpp
p02589
#include <bits/stdc++.h> using namespace std; #define il inline #define re register #define debug printf("Now is Line : %d\n", __LINE__) #define file(a) \ freopen(#a ".in", "r", stdin); \ freopen(#a ".out", ...
#include <bits/stdc++.h> using namespace std; #define il inline #define re register #define debug printf("Now is Line : %d\n", __LINE__) #define file(a) \ freopen(#a ".in", "r", stdin); \ freopen(#a ".out", ...
[ "preprocessor.define.value.change", "literal.integer.change", "identifier.change", "call.function.change" ]
290,253
290,252
u621992275
cpp
p02589
#include <bits/stdc++.h> // Common using namespace std; using f64 = double; using i64 = long long; using u64 = unsigned long long; template <typename T> using Arr = vector<T>; template <typename T> using Func = function<T>; template <typename T> using Str = basic_string<T>; #define hfor(v, s, e) ...
#include <bits/stdc++.h> // Common using namespace std; using f64 = double; using i64 = long long; using u64 = unsigned long long; template <typename T> using Arr = vector<T>; template <typename T> using Func = function<T>; template <typename T> using Str = basic_string<T>; #define hfor(v, s, e) ...
[]
290,256
290,257
u556060450
cpp
p02594
#include <algorithm> #include <fstream> #include <iostream> #include <vector> using namespace std; int main() { // input from txt (提出時にこの箇 所は削除すること) ifstream in("Input.txt"); cin.rdbuf(in.rdbuf()); // cinを高速にするためのおまじない cin.tie(0); ios::sync_with_stdio(false); ///////////////////// // Write code below...
#include <algorithm> #include <fstream> #include <iostream> #include <vector> using namespace std; int main() { // input from txt (提出時にこの箇 所は削除すること) ifstream in("Input.txt"); cin.rdbuf(in.rdbuf()); // cinを高速にするためのおまじない cin.tie(0); ios::sync_with_stdio(false); ///////////////////// // Write code below...
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
290,275
290,276
u111940477
cpp
p02594
#ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #define _USE_MATH_DEFINES #pragma comment(linker, "/STACK:268435456") #pragma warning(disable : 6031) #pragma warning(disable : 4244) #pragma warning(disable : 26451) #endif #ifndef _MSC_VER #pragma GCC target("sse4.2") #endif #ifdef _MSC_VER #include <intrin.h> #define _...
#ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #define _USE_MATH_DEFINES #pragma comment(linker, "/STACK:268435456") #pragma warning(disable : 6031) #pragma warning(disable : 4244) #pragma warning(disable : 26451) #endif #ifndef _MSC_VER #pragma GCC target("sse4.2") #endif #ifdef _MSC_VER #include <intrin.h> #define _...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,279
290,280
u648324897
cpp
p02594
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x > 30) { cout << "No" << endl; } else { cout << "Yes" << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x < 30) { cout << "No" << endl; } else { cout << "Yes" << endl; } return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
290,281
290,282
u792677846
cpp
p02594
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 30.) { cout << "Yes"; } else { cout << "No"; } return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x >= 30) { cout << "Yes"; } else { cout << "No"; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
290,283
290,284
u352580019
cpp
p02594
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 30) { cout << "Yes"; } else { cout << "No"; } return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x >= 30) { cout << "Yes"; } else { cout << "No"; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
290,285
290,284
u352580019
cpp
p02594
#include <bits/stdc++.h> using namespace std; #define vi vector<int> #define sl set<ll> #define vs vector<string> #define vl vector<ll> #define vi vector<int> #define vpl vector<pair<ll, ll>> #define pb push_back #define PI 3.14159265358979323846 #define ll long long #define ld long double #define endl "\n" #define rep...
#include <bits/stdc++.h> using namespace std; #define vi vector<int> #define sl set<ll> #define vs vector<string> #define vl vector<ll> #define vi vector<int> #define vpl vector<pair<ll, ll>> #define pb push_back #define PI 3.14159265358979323846 #define ll long long #define ld long double #define endl "\n" #define rep...
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
290,288
290,289
u581967233
cpp
p02594
#include <bits/stdc++.h> using namespace std; #define vi vector<int> #define sl set<ll> #define vs vector<string> #define vl vector<ll> #define vi vector<int> #define vpl vector<pair<ll, ll>> #define pb push_back #define PI 3.14159265358979323846 #define ll long long #define ld long double #define endl "\n" #define rep...
#include <bits/stdc++.h> using namespace std; #define vi vector<int> #define sl set<ll> #define vs vector<string> #define vl vector<ll> #define vi vector<int> #define vpl vector<pair<ll, ll>> #define pb push_back #define PI 3.14159265358979323846 #define ll long long #define ld long double #define endl "\n" #define rep...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
290,290
290,289
u581967233
cpp
p02594
#include <bits/stdc++.h> using namespace std; #define vi vector<int> #define sl set<ll> #define vs vector<string> #define vl vector<ll> #define vi vector<int> #define vpl vector<pair<ll, ll>> #define pb push_back #define PI 3.14159265358979323846 #define ll long long #define ld long double #define endl "\n" #define rep...
#include <bits/stdc++.h> using namespace std; #define vi vector<int> #define sl set<ll> #define vs vector<string> #define vl vector<ll> #define vi vector<int> #define vpl vector<pair<ll, ll>> #define pb push_back #define PI 3.14159265358979323846 #define ll long long #define ld long double #define endl "\n" #define rep...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,292
290,293
u967556612
cpp
p02594
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x > 30) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x >= 30) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
290,301
290,302
u051694454
cpp
p02594
#include <bits/stdc++.h> #include <cmath> #include <string> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<vi> vvi; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<pii> vpii; typedef vector<pll> vpll; typedef vector<ll> vll; #define all(v) v.begin(), v.end() #de...
#include <bits/stdc++.h> #include <cmath> #include <string> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<vi> vvi; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<pii> vpii; typedef vector<pll> vpll; typedef vector<ll> vll; #define all(v) v.begin(), v.end() #de...
[]
290,305
290,306
u805869577
cpp
p02594
#include <bits/stdc++.h> using namespace std; int main() { int X; cin >> X; if (25 < X) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int X; cin >> X; if (30 <= X) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[]
290,307
290,308
u046482892
cpp
p02594
#include <bits/stdc++.h> using namespace std; int main() { int X; cin >> X; if (25 < X) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int X; cin >> X; if (30 <= X) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[]
290,307
290,309
u046482892
cpp
p02594
#include <bits/stdc++.h> const int INF = 1e9; const int MOD = 1e9 + 7; const long long LINF = 1e18; #define dump(x) cout << 'x' << ' = ' << (x) << ` `; #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define rep(i, n) for (int i = 0; i < (n); ++i) #define REPR(i, n) for (int i = n; i >= 0; i--) #define FOREACH(x, ...
#include <bits/stdc++.h> const int INF = 1e9; const int MOD = 1e9 + 7; const long long LINF = 1e18; #define dump(x) cout << 'x' << ' = ' << (x) << ` `; #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define rep(i, n) for (int i = 0; i < (n); ++i) #define REPR(i, n) for (int i = n; i >= 0; i--) #define FOREACH(x, ...
[ "identifier.replace.remove", "literal.replace.add", "control_flow.branch.if.condition.change" ]
290,310
290,311
u102602414
cpp
p02594
#include <algorithm> #include <ctime> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <math.h> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <tuple> #include <unordered_set> #include <vector> using namespace std; #de...
#include <algorithm> #include <ctime> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <math.h> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <tuple> #include <unordered_set> #include <vector> using namespace std; #de...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,321
290,322
u745438671
cpp
p02594
#include <bits/stdc++.h> using namespace std; #define pb push_back #define mp make_pair #define ll long long typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<int> vi; typedef vector<ll> vl; typedef vector<vi> vvi; typedef vector<vl> vll; void solve() { int x; if (x >= 30) { cout << "Yes"; ...
#include <bits/stdc++.h> using namespace std; #define pb push_back #define mp make_pair #define ll long long typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<int> vi; typedef vector<ll> vl; typedef vector<vi> vvi; typedef vector<vl> vll; void solve() { int x; cin >> x; if (x >= 30) { cout...
[]
290,331
290,332
u879616146
cpp
p02594
#include <bits/stdc++.h> using namespace std; #define ll long long //~ #define endl '\n' void solve() { int x; cin >> x; if (x >= 3) { cout << "Yes" << endl; } else { cout << "No" << endl; } } int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int t = 1; // cin>>t; while ...
#include <bits/stdc++.h> using namespace std; #define ll long long //~ #define endl '\n' void solve() { int x; cin >> x; if (x >= 30) { cout << "Yes" << endl; } else { cout << "No" << endl; } } int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int t = 1; // cin>>t; while...
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
290,333
290,334
u435876834
cpp
p02594
#include <iostream> using namespace std; int main() { int X; cin >> X; if (X >= 30) { cout << "No" << endl; } else { cout << "Yes" << endl; } return 0; }
#include <iostream> using namespace std; int main() { int X; cin >> X; if (X >= 30) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
290,335
290,336
u983007920
cpp
p02594
/*=============================================================================================================================/* Bismillahir Rahmanir Rahim _ ____ ___ ____ _ _ _ ___ ____ _ _ __ __ / \ / ___||_ _|| __ ) | | |...
/*=============================================================================================================================/* Bismillahir Rahmanir Rahim _ ____ ___ ____ _ _ _ ___ ____ _ _ __ __ / \ / ___||_ _|| __ ) | | |...
[ "identifier.change", "expression.operation.binary.change", "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,364
290,365
u664825721
cpp
p02594
/*=============================================================================================================================/* Bismillahir Rahmanir Rahim _ ____ ___ ____ _ _ _ ___ ____ _ _ __ __ / \ / ___||_ _|| __ ) | | |...
/*=============================================================================================================================/* Bismillahir Rahmanir Rahim _ ____ ___ ____ _ _ _ ___ ____ _ _ __ __ / \ / ___||_ _|| __ ) | | |...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,364
290,366
u664825721
cpp
p02594
#include <bits/stdc++.h> using namespace std; int main() { int X; cin >> X; if (X <= 30) cout << "Yes"; else cout << "No"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int X; cin >> X; if (X >= 30) cout << "Yes"; else cout << "No"; return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
290,367
290,368
u959524814
cpp
p02594
#include <algorithm> #include <bitset> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <iterator> #include <list> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <utility> #include <vector> //#include<bits/stdc++.h> #define...
#include <algorithm> #include <bitset> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <iterator> #include <list> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <utility> #include <vector> //#include<bits/stdc++.h> #define...
[ "variable_declaration.type.change", "io.output.change" ]
290,369
290,370
u331213700
cpp
p02594
#include <bits/stdc++.h> using namespace std; using ll = long long; ll X; int main() { cin >> X; cout << (X > 30 ? "Yes" : "No") << endl; }
#include <bits/stdc++.h> using namespace std; using ll = long long; ll X; int main() { cin >> X; cout << (X >= 30 ? "Yes" : "No") << endl; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "io.output.change" ]
290,371
290,372
u826661974
cpp
p02594
#include <stdio.h> int main() { int x; scanf("%d", &x); if (x >= 30) printf("YES\n"); else printf("NO\n"); return 0; }
#include <stdio.h> int main() { int x; scanf("%d", &x); if (x >= 30) printf("Yes"); else printf("No"); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.remove" ]
290,375
290,376
u776463615
cpp
p02594
#include <bits/stdc++.h> #define pb push_back #define mp make_pair #define ff first #define ss second #define all(x) (x).begin(), (x).end() #define ll long long #define ii pair<int, int> #define vi vector<int> #define vll vector<ll> #define vii vector<ii> const int INF = 0x3f3f3f3f; const ll LINF = 0x3f3f3f3f3f3f3f3f...
#include <bits/stdc++.h> #define pb push_back #define mp make_pair #define ff first #define ss second #define all(x) (x).begin(), (x).end() #define ll long long #define ii pair<int, int> #define vi vector<int> #define vll vector<ll> #define vii vector<ii> const int INF = 0x3f3f3f3f; const ll LINF = 0x3f3f3f3f3f3f3f3f...
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "io.output.change" ]
290,377
290,378
u329213964
cpp
p02594
#include <cstdio> #include <iostream> using namespace std; int n; int main() { cin >> n; cout << (n <= 30 ? "Yes" : "No"); return 0; }
#include <cstdio> #include <iostream> using namespace std; int n; int main() { cin >> n; cout << (n >= 30 ? "Yes" : "No"); return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.loop.for.condition.change", "io.output.change" ]
290,381
290,382
u255657363
cpp
p02594
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define rep_lr(i, l, r) for (int i = (l); i < (r); i++) #define all(x) (x).begin(), (x).end() #define V vector typedef V<int> vi; typedef V<vi> vvi; typedef long long ll; typedef pair<ll, ll> P; typedef tuple<int, int, int> T;...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define rep_lr(i, l, r) for (int i = (l); i < (r); i++) #define all(x) (x).begin(), (x).end() #define V vector typedef V<int> vi; typedef V<vi> vvi; typedef long long ll; typedef pair<ll, ll> P; typedef tuple<int, int, int> T;...
[]
290,387
290,388
u595084562
cpp
p02594
#include <bits/stdc++.h> using namespace std; int main() { int x; if (x >= 30) cout << "Yes" << endl; else cout << "No" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x >= 30) cout << "Yes" << endl; else cout << "No" << endl; }
[]
290,406
290,407
u702070568
cpp
p02594
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; if (n >= 30) cout << "YES" << "\n"; else cout << "NO" << "\n"; }
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; if (n >= 30) cout << "Yes" << "\n"; else cout << "No" << "\n"; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,408
290,409
u919740271
cpp
p02594
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> // Common file #include <ext/pb_ds/tree_policy.hpp> // Including tree_order_statistics_node_update using namespace std; using namespace __gnu_pbds; #define TRACE #ifdef TRACE #define trace(...) __f(#__VA_ARGS__, __VA_ARGS__) template <typename Arg1> vo...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> // Common file #include <ext/pb_ds/tree_policy.hpp> // Including tree_order_statistics_node_update using namespace std; using namespace __gnu_pbds; #define TRACE #ifdef TRACE #define trace(...) __f(#__VA_ARGS__, __VA_ARGS__) template <typename Arg1> vo...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
290,410
290,411
u562608561
cpp