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
p03206
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) #define repr(i, n) for (int i = (n); i >= 0; --i) #define FOR(i, m, n) for (int i = (m); i < (n); ++i) #define FORR(i, m, n) for (int i = (m); i >= (n); --i) #define ifaxb(a, x, b) if (a < x && x < b) // 比較は昇順 #define vi vector<int> #define vii ve...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) #define repr(i, n) for (int i = (n); i >= 0; --i) #define FOR(i, m, n) for (int i = (m); i < (n); ++i) #define FORR(i, m, n) for (int i = (m); i >= (n); --i) #define ifaxb(a, x, b) if (a < x && x < b) // 比較は昇順 #define vi vector<int> #define vii ve...
[ "literal.string.change", "assignment.value.change" ]
997,107
997,108
u075520262
cpp
p03206
#include <iostream> #include <string> using namespace std; int main() { int d; cin >> d; string a, b; a = "Christmas"; b = "Eve"; for (int i = 0; i < 25 - d; i++) { a += b; } cout << a << endl; }
#include <iostream> #include <string> using namespace std; int main() { int d; cin >> d; string a, b; a = "Christmas "; b = "Eve "; for (int i = 0; i < 25 - d; i++) { a += b; } cout << a << endl; }
[ "literal.string.change", "assignment.value.change" ]
997,109
997,110
u677400065
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; cout << "Christmas"; for (int i = 0; i < a - 22; i++) { cout << " Eve"; } cout << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; cout << "Christmas"; for (int i = 0; i < 25 - a; i++) { cout << " Eve"; } cout << endl; }
[ "identifier.replace.remove", "literal.replace.add", "control_flow.loop.for.condition.change", "expression.operation.binary.change", "identifier.replace.add", "literal.replace.remove" ]
997,122
997,123
u351265848
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; cout << "Christmas"; for (int i = 0; i < a - 21; i++) { cout << " Eve"; } cout << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; cout << "Christmas"; for (int i = 0; i < 25 - a; i++) { cout << " Eve"; } cout << endl; }
[ "identifier.replace.remove", "literal.replace.add", "control_flow.loop.for.condition.change", "expression.operation.binary.change", "identifier.replace.add", "literal.replace.remove" ]
997,124
997,123
u351265848
cpp
p03206
#include <algorithm> #include <cmath> #include <cstdlib> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <tuple> #include <vector> #define int long long using namespace std; const int INF = 1e10; const int ZERO = 0; signed main() { int...
#include <algorithm> #include <cmath> #include <cstdlib> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <tuple> #include <vector> #define int long long using namespace std; const int INF = 1e10; const int ZERO = 0; signed main() { int...
[]
997,125
997,126
u322714721
cpp
p03206
#include <iostream> #include <string> using namespace std; int main() { int d; cin >> d; string ans = "Christmas"; for (int i = 0; i < 25 - d; i++) { ans += "Eve"; } cout << ans << endl; return 0; }
#include <iostream> #include <string> using namespace std; int main() { int d; cin >> d; string ans = "Christmas"; for (int i = 0; i < 25 - d; i++) { ans += " Eve"; } cout << ans << endl; return 0; }
[ "literal.string.change", "assignment.value.change" ]
997,129
997,130
u057810841
cpp
p03206
#include <iostream> #include <string> int main() { int D; std::cin >> D; std::string ans = "Christmas"; for (int i = 0; i < D - 25; i++) { ans += " Eve"; } std::cout << ans << std::endl; return 0; }
#include <iostream> #include <string> int main() { int D; std::cin >> D; std::string ans = "Christmas"; for (int i = 0; i < 25 - D; i++) { ans += " Eve"; } std::cout << ans << std::endl; return 0; }
[ "control_flow.loop.for.condition.change", "expression.operation.binary.remove" ]
997,131
997,132
u922974720
cpp
p03206
#include <iostream> using namespace std; int main() { int d; switch (d) { case 22: cout << "Christmas Eve Eve Eve" << endl; break; case 23: cout << "Christmas Eve Eve" << endl; break; case 24: cout << "Christmas Eve" << endl; break; case 25: cout << "Christmas" << endl; } r...
#include <iostream> using namespace std; int main() { int d; cin >> d; switch (d) { case 22: cout << "Christmas Eve Eve Eve" << endl; break; case 23: cout << "Christmas Eve Eve" << endl; break; case 24: cout << "Christmas Eve" << endl; break; case 25: cout << "Christmas" << e...
[]
997,135
997,136
u110383054
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; if (d = 25) { cout << "Christmas" << endl; } else if (d = 24) { cout << "Christmas Eve" << endl; } else if (d = 23) { cout << "Christmas Eve Eve" << endl; } else if (d = 22) { cout << "Christmas Eve Eve Eve" << endl...
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; if (d == 25) { cout << "Christmas" << endl; } else if (d == 24) { cout << "Christmas Eve" << endl; } else if (d == 23) { cout << "Christmas Eve Eve" << endl; } else if (d == 22) { cout << "Christmas Eve Eve Eve" << ...
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
997,163
997,164
u232711814
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; string b = "Christams", c = " Eve"; if (a == 25) { cout << b << endl; } if (a == 24) { cout << b << c << endl; } if (a == 23) { cout << b << c << c << endl; } if (a == 22) { cout << b << c << c << c << endl;...
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; string b = "Christmas", c = " Eve"; if (a == 25) { cout << b << endl; } if (a == 24) { cout << b << c << endl; } if (a == 23) { cout << b << c << c << endl; } if (a == 22) { cout << b << c << c << c << endl;...
[ "literal.string.change", "variable_declaration.value.change" ]
997,165
997,166
u275786410
cpp
p03206
#include <iostream> using namespace std; int main() { int d; cin >> d; if (d == 25) { cout << "Christmas" << endl; } else { cout << "Christmas"; for (int i = 25 - d - 1; i > 0; i--) { cout << " " << "Eve" << " "; } cout << "Eve" << endl; } return 0; }
#include <iostream> using namespace std; int main() { int d; cin >> d; if (d == 25) { cout << "Christmas" << endl; } else { cout << "Christmas"; for (int i = 25 - d - 1; i > 0; i--) { cout << " " << "Eve"; } cout << " " << "Eve" << endl; } return 0; }
[]
997,171
997,172
u553183019
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; string ans; string s1 = "Chiristmas"; string s2 = " Eve"; if (D == 25) ans = s1; if (D == 24) ans = s1 + s2; if (D == 23) ans = s1 + s2 + s2; if (D == 22) ans = s1 + s2 + s2 + s2; cout << ans << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; string ans; string s1 = "Christmas"; string s2 = " Eve"; if (D == 25) ans = s1; if (D == 24) ans = s1 + s2; if (D == 23) ans = s1 + s2 + s2; if (D == 22) ans = s1 + s2 + s2 + s2; cout << ans << endl; }
[ "literal.string.change", "variable_declaration.value.change" ]
997,179
997,180
u726060136
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; if (d == 25) cout << "hristmas" << endl; if (d == 24) cout << "hristmas Eve" << endl; if (d == 23) cout << "hristmas Eve Eve" << endl; if (d == 22) cout << "hristmas Eve Eve Eve" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; if (d == 25) cout << "Christmas" << endl; if (d == 24) cout << "Christmas Eve" << endl; if (d == 23) cout << "Christmas Eve Eve" << endl; if (d == 22) cout << "Christmas Eve Eve Eve" << endl; }
[ "literal.string.change", "io.output.change" ]
997,183
997,184
u397130503
cpp
p03206
#include <iostream> using namespace std; int main() { int d; cin >> d; cout << "Christmas" << flush; for (int i = 0; i < d - 25; i++) { cout << " Eve" << flush; } cout << endl; }
#include <iostream> using namespace std; int main() { int d; cin >> d; cout << "Christmas" << flush; for (int i = 0; i < 25 - d; i++) { cout << " Eve" << flush; } cout << endl; }
[ "control_flow.loop.for.condition.change", "expression.operation.binary.remove" ]
997,202
997,203
u716314620
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas"; } else if (D == 24) { cout << "Christmas Eve"; } else if (D == 23) { cout << "Christmas Eve Eve"; } else if (D == 22) { cout << "Christmas Eve Eve"; } }
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas"; } else if (D == 24) { cout << "Christmas Eve"; } else if (D == 23) { cout << "Christmas Eve Eve"; } else if (D == 22) { cout << "Christmas Eve Eve Eve"; } }
[ "literal.string.change", "io.output.change" ]
997,206
997,207
u383166010
cpp
p03206
#include <iostream> using namespace std; int main(void) { // int d; cin >> d; if (d == 25) { cout << "Christmas Eve" << endl; } else if (d == 24) { cout << "Christmas Eve Eve" << endl; } else if (d == 23) { cout << "Christmas Eve Eve Eve" << endl; } else { cout << "Christmas Ev...
#include <iostream> using namespace std; int main(void) { // int d; cin >> d; if (d == 25) { cout << "Christmas" << endl; } else if (d == 24) { cout << "Christmas Eve" << endl; } else if (d == 23) { cout << "Christmas Eve Eve" << endl; } else { cout << "Christmas Eve Eve Eve" <...
[ "literal.string.change", "io.output.change" ]
997,217
997,218
u423797274
cpp
p03206
#include <iostream> #include <string> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i += 2) int main() { int d, n; cin >> d; n = 25 - d; cout << "Christmas"; rep(i, n) { cout << " " << "Eve"; } }
#include <iostream> #include <string> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { int d, n; cin >> d; n = 25 - d; cout << "Christmas"; rep(i, n) { cout << " " << "Eve"; } }
[ "preprocessor.define.value.change" ]
997,227
997,228
u633728454
cpp
p03206
#include "bits/stdc++.h" using namespace std; using ll = long long; using ld = long double; using P = pair<int, int>; constexpr ld EPS = 1e-12; constexpr int INF = numeric_limits<int>::max() / 2; constexpr int MOD = 1e9 + 7; template <typename T> void printv(const vector<T> &v) { int sz = v.size(); for (int i = ...
#include "bits/stdc++.h" using namespace std; using ll = long long; using ld = long double; using P = pair<int, int>; constexpr ld EPS = 1e-12; constexpr int INF = numeric_limits<int>::max() / 2; constexpr int MOD = 1e9 + 7; template <typename T> void printv(const vector<T> &v) { int sz = v.size(); for (int i = ...
[ "literal.string.change", "io.output.change" ]
997,236
997,237
u968834127
cpp
p03206
#include "bits/stdc++.h" #define REP(i, n) for (ll i = 0; i < ll(n); ++i) #define RREP(i, n) for (ll i = ll(n) - 1; i >= 0; --i) #define FOR(i, m, n) for (ll i = m; i < ll(n); ++i) #define RFOR(i, m, n) for (ll i = ll(n) - 1; i >= ll(m); --i) #define ALL(v) (v).begin(), (v).end() #define UNIQUE(v) v.erase(unique(ALL(v...
#include "bits/stdc++.h" #define REP(i, n) for (ll i = 0; i < ll(n); ++i) #define RREP(i, n) for (ll i = ll(n) - 1; i >= 0; --i) #define FOR(i, m, n) for (ll i = m; i < ll(n); ++i) #define RFOR(i, m, n) for (ll i = ll(n) - 1; i >= ll(m); --i) #define ALL(v) (v).begin(), (v).end() #define UNIQUE(v) v.erase(unique(ALL(v...
[ "expression.operation.binary.remove" ]
997,238
997,239
u918357423
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; string ans = "Christmas"; while (d < 25) { ans += " Eve"; } cout << ans << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; string ans = "Christmas"; while (d++ < 25) { ans += " Eve"; } cout << ans << endl; }
[ "control_flow.loop.condition.change" ]
997,240
997,241
u733618878
cpp
p03206
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int d; cin >> d; if (d == 25) { cout << "Christmas"; } if (d == 24) { cout << "Christmas Eve"; } if (d == 23) { cout << "Christmas Eve Eve"; } else cout << "Christmas Eve Eve Eve"; }
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int d; cin >> d; if (d == 25) { cout << "Christmas"; } else if (d == 24) { cout << "Christmas Eve"; } else if (d == 23) { cout << "Christmas Eve Eve"; } else cout << "Christmas Eve Eve Eve"; }
[ "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove" ]
997,255
997,256
u849073847
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) cout << "Christmas" << endl; else if (D == 24) cout << "Christmas Eve" << endl; else if (D == 23) cout << "Christmas Eve Eve" << endl; else if (D == 22) cout << "Cristmas Eve Eve Eve" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) cout << "Christmas" << endl; else if (D == 24) cout << "Christmas Eve" << endl; else if (D == 23) cout << "Christmas Eve Eve" << endl; else if (D == 22) cout << "Christmas Eve Eve Eve" << endl; }
[ "literal.string.change", "io.output.change" ]
997,257
997,258
u962609087
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D == 23) { cout << "Christmas Eve Eve" << endl; } else { cout << "Christmas Eve Eve Eve" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D == 23) { cout << "Christmas Eve Eve" << endl; } else { cout << "Christmas Eve Eve Eve" << endl; } }
[]
997,259
997,260
u974931918
cpp
p03206
#include <iostream> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Chiristmas"; } else if (D == 24) { cout << "Christmas Eve"; } else if (D == 23) { cout << "Christmas Eve Eve"; } else { cout << "Christmas Eve Eve Eve"; } return 0; }
#include <iostream> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas"; } else if (D == 24) { cout << "Christmas Eve"; } else if (D == 23) { cout << "Christmas Eve Eve"; } else { cout << "Christmas Eve Eve Eve"; } return 0; }
[ "literal.string.change", "io.output.change" ]
997,270
997,271
u534015096
cpp
p03206
#include <bits/stdc++.h> using namespace std; typedef long long int ll; ll MOD = 1000000007; ll INFL = 1ll << 60; ll INF = 1 << 28; // ==================================================================== int main() { int d; cin >> d; if (d == 22) { cout << "Christmas Eve Eve Eve" << endl; } else if (d...
#include <bits/stdc++.h> using namespace std; typedef long long int ll; ll MOD = 1000000007; ll INFL = 1ll << 60; ll INF = 1 << 28; // ==================================================================== int main() { int d; cin >> d; if (d == 22) { cout << "Christmas Eve Eve Eve" << endl; } else if (d...
[ "literal.string.change", "io.output.change" ]
997,274
997,275
u014037904
cpp
p03206
#include <iostream> int main() { int d; std::cin >> d; std::cout << "Christmas"; for (int i = d; i <= 25; ++i) std::cout << " Eve"; std::cout << std::flush; }
#include <iostream> int main() { int d; std::cin >> d; std::cout << "Christmas"; for (int i = d; i < 25; ++i) std::cout << " Eve"; std::cout << std::flush; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change" ]
997,277
997,278
u217344789
cpp
p03206
#include <iostream> #include <string> using namespace std; int main(void) { int n; cin >> n; string ans; if (n == 22) ans = "Christmas Eve Eve Eve"; else if (n == 23) ans = "Christmas Eve Eve"; else if (n == 24) ans = "Christmas Eve"; else if (n == 25) ans = "Christmas"; else // none;...
#include <iostream> #include <string> using namespace std; int main(void) { int n; cin >> n; string ans; if (n == 22) ans = "Christmas Eve Eve Eve"; else if (n == 23) ans = "Christmas Eve Eve"; else if (n == 24) ans = "Christmas Eve"; else if (n == 25) ans = "Christmas"; cout << ans ...
[ "control_flow.branch.else.remove" ]
997,281
997,282
u421782399
cpp
p03206
#include <bits/stdc++.h> #define REP(i, x, n) for (int i = x; i < (int)(n); i++) #define rep(i, n) REP(i, 0, n) #define all(x) (x).begin(), (x).end() #define rall(x) (x).rbegin(), (x).rend() #define sz(x) (int)(x.size()) #define popcount(x) __builtin_popcount(x) #define popcountll(x) __builtin_popcountll(x) #define un...
#include <bits/stdc++.h> #define REP(i, x, n) for (int i = x; i < (int)(n); i++) #define rep(i, n) REP(i, 0, n) #define all(x) (x).begin(), (x).end() #define rall(x) (x).rbegin(), (x).rend() #define sz(x) (int)(x.size()) #define popcount(x) __builtin_popcount(x) #define popcountll(x) __builtin_popcountll(x) #define un...
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
997,287
997,288
u267022560
cpp
p03206
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define mp make_pair #define pb push_back #define rep(i, n) for (int i = 0; i < n; i++) #define rep1(i, n) for (int i = 1; i <= (int)(n); i++) int main() { ios::sync_with_stdio(false); cin.tie(0); int D; cin >> D; if (D == 25) cout << "C...
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define mp make_pair #define pb push_back #define rep(i, n) for (int i = 0; i < n; i++) #define rep1(i, n) for (int i = 1; i <= (int)(n); i++) int main() { ios::sync_with_stdio(false); cin.tie(0); int D; cin >> D; if (D == 25) cout << "C...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
997,293
997,294
u949755084
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D = 22) { cout << "Christmas Eve Eve Eve" << endl; } if (D = 23) { cout << "Christmas Eve Eve" << endl; } if (D = 24) { cout << "Christmas Eve" << endl; } if (D = 25) { cout << "Christmas" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 22) { cout << "Christmas Eve Eve Eve" << endl; } if (D == 23) { cout << "Christmas Eve Eve" << endl; } if (D == 24) { cout << "Christmas Eve" << endl; } if (D == 25) { cout << "Christmas" << endl; }...
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
997,305
997,306
u983062344
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; cout << "Christmas"; for (int i = 24; i >= D; i--) cout << "Eve"; cout << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; cout << "Christmas"; for (int i = 24; i >= d; i--) cout << " Eve"; cout << endl; }
[ "identifier.change", "expression.operation.binary.change", "control_flow.loop.for.condition.change", "literal.string.change", "io.output.change" ]
997,307
997,308
u144013030
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Chritmas" << endl; } if (D == 24) { cout << "Chritmas Eve" << endl; } if (D == 23) { cout << "Chritmas Eve Eve" << endl; } if (D == 22) { cout << "Chritmas Eve Eve Eve" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } if (D == 24) { cout << "Christmas Eve" << endl; } if (D == 23) { cout << "Christmas Eve Eve" << endl; } if (D == 22) { cout << "Christmas Eve Eve Eve" << endl; }...
[ "literal.string.change", "io.output.change" ]
997,309
997,310
u636605529
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Chritsmas" << endl; } if (D == 24) { cout << "Chritsmas Eve" << endl; } if (D == 23) { cout << "Chritsmas Eve Eve" << endl; } if (D == 22) { cout << "Chritsmas Eve Eve Eve" << endl; }...
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } if (D == 24) { cout << "Christmas Eve" << endl; } if (D == 23) { cout << "Christmas Eve Eve" << endl; } if (D == 22) { cout << "Christmas Eve Eve Eve" << endl; }...
[ "literal.string.change", "io.output.change" ]
997,311
997,310
u636605529
cpp
p03206
#include <algorithm> #include <cmath> #include <cstdio> #include <iomanip> #include <iostream> #include <string> using namespace std; int main() { int d; cin >> d; if (d == 25) { cout << "Christmas" << endl; } else if (d == 24) { cout << "Christmas Eve" << endl; } else if (d == 23) { cout << "Ch...
// ConsoleApplication2.cpp : アプリケーションのエントリ ポイントを定義します。 // #include <algorithm> #include <cmath> #include <cstdio> #include <iomanip> #include <iostream> #include <string> using namespace std; int main() { int d; cin >> d; if (d == 25) { cout << "Christmas" << endl; } else if (d == 24) { cout << "Chri...
[ "literal.string.change", "io.output.change" ]
997,320
997,321
u036401720
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; if (d == 25) cout << "christmas" << endl; else if (d == 24) cout << "christmas Eve" << endl; else if (d == 23) cout << "christmas Eve Eve" << endl; else if (d == 22) cout << "christmas Eve Eve Eve" << endl; retu...
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; if (d == 25) cout << "Christmas" << endl; else if (d == 24) cout << "Christmas Eve" << endl; else if (d == 23) cout << "Christmas Eve Eve" << endl; else if (d == 22) cout << "Christmas Eve Eve Eve" << endl; retu...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
997,322
997,323
u025469035
cpp
p03206
#include <iostream> using namespace std; int main() { int d; cin >> d; if (d == 25) { cout << "christmas"; } else if (d == 24) { cout << "christmas Eve"; } else if (d == 23) { cout << "christmas Eve Eve"; } else if (d == 22) { cout << "christmas Eve Eve Eve"; } return 0; }
#include <iostream> using namespace std; int main() { int d; cin >> d; if (d == 25) { cout << "Christmas"; } else if (d == 24) { cout << "Christmas Eve"; } else if (d == 23) { cout << "Christmas Eve Eve"; } else if (d == 22) { cout << "Christmas Eve Eve Eve"; } return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
997,328
997,329
u611642884
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { string a = "Eve "; int b; cin >> b; cout << "Christmas " << endl; for (int i = 1; i < 25 - b; i++) { cout << a; } cout << endl; }
#include <bits/stdc++.h> using namespace std; int main() { string a = "Eve "; int b; cin >> b; cout << "Christmas "; for (int i = 0; i < 25 - b; i++) { cout << a; } cout << endl; }
[ "expression.operation.binary.remove", "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
997,334
997,335
u146724119
cpp
p03206
#include <cstdio> int main() { int D; scanf("%d%d%d", &D); printf("Christmas "); for (; D <= 25; D++) printf("Eve "); printf("\n"); return 0; }
#include <cstdio> int main() { int D; scanf("%d%d%d", &D); printf("Christmas "); for (; D < 25; D++) printf("Eve "); printf("\n"); return 0; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change" ]
997,343
997,344
u980205854
cpp
p03206
#include <iostream> using namespace std; int main() { int D; switch (D) { case 25: cout << "Christmas" << endl; break; case 24: cout << "Christmas Eve" << endl; break; case 23: cout << "Christmas Eve Eve" << endl; break; case 22: cout << "Christmas Eve Eve Eve" << endl; break...
#include <iostream> using namespace std; int main() { int D; cin >> D; switch (D) { case 25: cout << "Christmas" << endl; break; case 24: cout << "Christmas Eve" << endl; break; case 23: cout << "Christmas Eve Eve" << endl; break; case 22: cout << "Christmas Eve Eve Eve" << end...
[]
997,351
997,352
u618953765
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "christmas" << endl; } else if (D == 24) { cout << "christmas Eve" << endl; } else if (D == 23) { cout << "christmas Eve Eve" << endl; } else if (D == 22) { cout << "christmas Eve Eve Eve" << ...
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D == 23) { cout << "Christmas Eve Eve" << endl; } else if (D == 22) { cout << "Christmas Eve Eve Eve" << ...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
997,357
997,358
u373984877
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; cout << "christmas "; for (int i = 1; i <= 25 - d; i++) cout << "Eve "; }
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; cout << "Christmas "; for (int i = 1; i <= 25 - d; i++) cout << "Eve "; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
997,362
997,363
u362769442
cpp
p03204
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #include <string> #include <vector> using namespace std; const int N = 2e5 + 5; int n, c[N]; vector<int> G[N]; inline void addedge(int u = 0, int v = 0) { scanf("%d%d", &u, &v), G[u].push_back(v), G[v].push_back(u); } int calc(int u, int ...
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #include <string> #include <vector> using namespace std; const int N = 2e5 + 5; int n, c[N]; vector<int> G[N]; inline void addedge(int u = 0, int v = 0) { scanf("%d%d", &u, &v), G[u].push_back(v), G[v].push_back(u); } int calc(int u, int ...
[ "control_flow.branch.if.condition.change" ]
997,388
997,389
u906725217
cpp
p03204
// Love and Freedom. #include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #define ll long long #define inf 20021225 #define N 200010 using namespace std; int read() { int s = 0, t = 1; char ch = getchar(); while (ch < '0' || ch > '9') { if (ch == '-') t = -1; ch = getchar(); ...
// Love and Freedom. #include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #define ll long long #define inf 20021225 #define N 200010 using namespace std; int read() { int s = 0, t = 1; char ch = getchar(); while (ch < '0' || ch > '9') { if (ch == '-') t = -1; ch = getchar(); ...
[ "assignment.value.change" ]
997,390
997,391
u071357718
cpp
p03204
#include <bits/stdc++.h> const int N = 200054, M = N * 2; int n, E = 0; int to[M], first[N], next[M]; int p[N], S1[N], S2[N]; int pmax[N], f[N]; inline void up(int &x, const int y) { x < y ? x = y : 0; } inline void addedge(int u, int v) { to[++E] = v, next[E] = first[u], first[u] = E; to[++E] = u, next[E] = fi...
#include <bits/stdc++.h> const int N = 200054, M = N * 2; int n, E = 0; int to[M], first[N], next[M]; int p[N], S1[N], S2[N]; int pmax[N], f[N]; inline void up(int &x, const int y) { x < y ? x = y : 0; } inline void addedge(int u, int v) { to[++E] = v, next[E] = first[u], first[u] = E; to[++E] = u, next[E] = fi...
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
997,392
997,393
u357974633
cpp
p03204
#include <bits/stdc++.h> #define LOG(FMT...) fprintf(stderr, FMT) using namespace std; typedef long long ll; typedef unsigned long long ull; typedef vector<int> vi; // mt19937 rng(chrono::steady_clock::now().time_since_epoch().count()); template <class T> istream &operator>>(istream &is, vector<T> &v) { for (T &...
#include <bits/stdc++.h> #define LOG(FMT...) fprintf(stderr, FMT) using namespace std; typedef long long ll; typedef unsigned long long ull; typedef vector<int> vi; // mt19937 rng(chrono::steady_clock::now().time_since_epoch().count()); template <class T> istream &operator>>(istream &is, vector<T> &v) { for (T &...
[ "assignment.value.change", "identifier.change", "variable_access.subscript.index.change", "call.arguments.change" ]
997,402
997,403
u895067736
cpp
p03204
#include <bits/stdc++.h> using namespace std; #define int long long #define rep(i, n) for (int i = 0; i < (n); i++) #define reps(i, a, b) for (int i = (a); i < (b); i++) #define pb push_back #define eb emplace_back #define all(v) (v).begin(), (v).end() #define fi first #define se second using vint = vector<int>; usi...
#include <bits/stdc++.h> using namespace std; #define int long long #define rep(i, n) for (int i = 0; i < (n); i++) #define reps(i, a, b) for (int i = (a); i < (b); i++) #define pb push_back #define eb emplace_back #define all(v) (v).begin(), (v).end() #define fi first #define se second using vint = vector<int>; usi...
[ "identifier.change", "control_flow.branch.if.condition.change" ]
997,404
997,405
u685892567
cpp
p03204
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #include <vector> #define PB push_back #define ll long long using namespace std; template <class T> inline void read(T &x) { x = 0; char c = getchar(); int f = 1; while (!isdigit(c)) { if (c == '-') f = -1; c = getchar()...
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #include <vector> #define PB push_back #define ll long long using namespace std; template <class T> inline void read(T &x) { x = 0; char c = getchar(); int f = 1; while (!isdigit(c)) { if (c == '-') f = -1; c = getchar()...
[ "expression.operation.binary.remove", "identifier.change", "variable_access.subscript.index.change", "control_flow.branch.if.condition.change" ]
997,406
997,407
u973935896
cpp
p03204
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #include <vector> #define PB push_back #define ll long long using namespace std; template <class T> inline void read(T &x) { x = 0; char c = getchar(); int f = 1; while (!isdigit(c)) { if (c == '-') f = -1; c = getchar()...
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #include <vector> #define PB push_back #define ll long long using namespace std; template <class T> inline void read(T &x) { x = 0; char c = getchar(); int f = 1; while (!isdigit(c)) { if (c == '-') f = -1; c = getchar()...
[ "identifier.change", "variable_access.subscript.index.change", "control_flow.branch.if.condition.change" ]
997,406
997,408
u973935896
cpp
p03204
#include <bits/stdc++.h> using namespace std; const int N = 2e5 + 10; int c[N], sta[N], fin[N], tim, mx[N][2]; vector<int> g[N], tour[N][2]; void prep_tour(int u, int p) { sta[u] = tim++; for (int i = 0; i < 2; i++) { tour[mx[u][i]][i].emplace_back(sta[u]); } for (int v : g[u]) if (v != p) { mx...
#include <bits/stdc++.h> using namespace std; const int N = 2e5 + 10; int c[N], sta[N], fin[N], tim, mx[N][2]; vector<int> g[N], tour[N][2]; void prep_tour(int u, int p) { sta[u] = tim++; for (int i = 0; i < 2; i++) { tour[mx[u][i]][i].emplace_back(sta[u]); } for (int v : g[u]) if (v != p) { mx...
[ "identifier.change", "call.function.change", "function.return_value.change", "expression.operation.binary.change" ]
997,409
997,410
u031986221
cpp
p03204
#include <algorithm> #include <cstdio> #include <cstring> using namespace std; struct bian { int nxt, to; } bi[400040]; struct query { int id, w; friend bool operator<(query a, query b) { return a.w < b.w; } } q[200020]; int n, head[200020], num, id[200020], siz[200020], idnum, mx[200020], f[200020]; inline void ...
#include <algorithm> #include <cstdio> #include <cstring> using namespace std; struct bian { int nxt, to; } bi[400040]; struct query { int id, w; friend bool operator<(query a, query b) { return a.w < b.w; } } q[200020]; int n, head[200020], num, id[200020], siz[200020], idnum, mx[200020], f[200020]; inline void ...
[ "control_flow.loop.for.condition.change", "control_flow.branch.if.condition.change", "call.arguments.change" ]
997,413
997,414
u361707943
cpp
p03204
#include <bits/stdc++.h> #define ll long long #define ull unsigned ll #define uint unsigned #define pii pair<int, int> #define pll pair<ll, ll> #define PB push_back #define fi first #define se second #define For(i, j, k) for (int i = (int)(j); i <= (int)(k); i++) #define Rep(i, j, k) for (int i = (int)(j); i >= (int)(k...
#include <bits/stdc++.h> #define ll long long #define ull unsigned ll #define uint unsigned #define pii pair<int, int> #define pll pair<ll, ll> #define PB push_back #define fi first #define se second #define For(i, j, k) for (int i = (int)(j); i <= (int)(k); i++) #define Rep(i, j, k) for (int i = (int)(j); i >= (int)(k...
[ "identifier.change", "variable_access.subscript.index.change" ]
997,420
997,421
u408603320
cpp
p03204
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pii; #define Rep(i, a, b) for (register int i = (a); i <= int(b); ++i) #define Dep(i, a, b) for (register int i = (a); i >= int(b); --i) #define rep(i, a, b) for (register int i = (a); i < int(b); ++i) #de...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pii; #define Rep(i, a, b) for (register int i = (a); i <= int(b); ++i) #define Dep(i, a, b) for (register int i = (a); i >= int(b); --i) #define rep(i, a, b) for (register int i = (a); i < int(b); ++i) #de...
[ "assignment.value.change", "identifier.change", "variable_access.subscript.index.change", "call.arguments.change" ]
997,424
997,425
u454243544
cpp
p03204
#include <bits/stdc++.h> using namespace std; #define maxn 200010 #define count _count vector<int> adj[maxn], cd[maxn], st[maxn]; int totcnt[maxn], totcnt2[maxn], pv[maxn]; int par[maxn], mx[maxn]; map<int, int> cnt[maxn], cnt2[maxn]; int ans[maxn]; void dfs(int v, int p) { par[v] = p; mx[v] = max(v, mx[p]); st...
#include <bits/stdc++.h> using namespace std; #define maxn 200010 #define count _count vector<int> adj[maxn], cd[maxn], st[maxn]; int totcnt[maxn], totcnt2[maxn], pv[maxn]; int par[maxn], mx[maxn]; map<int, int> cnt[maxn], cnt2[maxn]; int ans[maxn]; void dfs(int v, int p) { par[v] = p; mx[v] = max(v, mx[p]); st...
[ "identifier.change", "call.arguments.change" ]
997,430
997,431
u939835373
cpp
p03204
#include <algorithm> #include <iostream> #include <map> #include <vector> using namespace std; typedef pair<int, int> P; vector<int> edge[216000]; map<P, int> memo; int m[216000]; int p[216000]; int ans[216000]; int n, a, b; int q(int v, int x) { if (memo.count(P(v, x))) return memo[P(v, x)]; memo[P(v, x)] = 0...
#include <algorithm> #include <iostream> #include <map> #include <vector> using namespace std; typedef pair<int, int> P; vector<int> edge[216000]; map<P, int> memo; int m[216000]; int p[216000]; int ans[216000]; int n, a, b; int q(int v, int x) { if (memo.count(P(v, x))) return memo[P(v, x)]; memo[P(v, x)] = 0...
[ "assignment.value.change", "identifier.change", "call.arguments.change", "function.return_value.change", "expression.operation.binary.change" ]
997,438
997,439
u299869545
cpp
p03204
#include <algorithm> #include <cstdio> #include <iostream> #include <map> #include <stdio.h> #include <vector> using namespace std; const int maxn = 2e5 + 5; map<int, int> dp[maxn]; vector<int> ve[maxn]; int n; int ans[maxn]; int dfs2(int x, int ba, int v) { if (dp[x].count(v)) return dp[x][v]; int sm = 1; fo...
#include <algorithm> #include <cstdio> #include <iostream> #include <map> #include <stdio.h> #include <vector> using namespace std; const int maxn = 2e5 + 5; map<int, int> dp[maxn]; vector<int> ve[maxn]; int n; int ans[maxn]; int dfs2(int x, int ba, int v) { if (dp[x].count(v)) return dp[x][v]; int sm = 1; fo...
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change" ]
997,440
997,441
u274157764
cpp
p03204
#include <bits/stdc++.h> using namespace std; int n; vector<int> ve[210000], vv[210000]; int ans[210000], fa[210000]; set<int> Set[210000]; int S_id; int tx[210000]; void rev_dfs(int k) { if (!Set[S_id].count(k)) return; Set[S_id].erase(k); for (auto y : ve[k]) if (y != fa[k]) rev_dfs(y); } void...
#include <bits/stdc++.h> using namespace std; int n; vector<int> ve[210000], vv[210000]; int ans[210000], fa[210000]; set<int> Set[210000]; int S_id; int tx[210000]; void rev_dfs(int k) { if (!Set[S_id].count(k)) return; Set[S_id].erase(k); for (auto y : ve[k]) if (y != fa[k]) rev_dfs(y); } void...
[ "call.arguments.change" ]
997,452
997,453
u440219363
cpp
p03204
// 2018, Sayutin Dmitry. #include <bits/stdc++.h> using std::cerr; using std::cin; using std::cout; using std::array; using std::map; using std::set; using std::string; using std::vector; using std::make_pair; using std::pair; using std::get; using std::make_tuple; using std::tuple; using std::abs; using std::max...
// 2018, Sayutin Dmitry. #include <bits/stdc++.h> using std::cerr; using std::cin; using std::cout; using std::array; using std::map; using std::set; using std::string; using std::vector; using std::make_pair; using std::pair; using std::get; using std::make_tuple; using std::tuple; using std::abs; using std::max...
[ "call.arguments.change" ]
997,456
997,457
u324586345
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) cout << "Christmas" << endl; else if (D == 24) cout << "Christmas Eve" << endl; else if (D == 24) cout << "Christmas Eve Eve" << endl; else cout << "Christmas Eve Eve Eve" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) cout << "Christmas" << endl; else if (D == 24) cout << "Christmas Eve" << endl; else if (D == 23) cout << "Christmas Eve Eve" << endl; else cout << "Christmas Eve Eve Eve" << endl; }
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
997,535
997,536
u886477838
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; if (n == 25) { cout << "Christmas"; } else if (n == 24) { cout << "Christmas Eve"; } else if (n == 23) { cout << "Cristmas Eve Eve"; } else { cout << "Christmas Eve Eve Eve"; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; if (n == 25) { cout << "Christmas"; } else if (n == 24) { cout << "Christmas Eve"; } else if (n == 23) { cout << "Christmas Eve Eve"; } else { cout << "Christmas Eve Eve Eve"; } return 0; }
[ "literal.string.change", "io.output.change" ]
997,539
997,540
u574671790
cpp
p03206
#include <algorithm> #include <cassert> #include <cmath> #include <iomanip> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> using namespace std; typedef long long ll; #define rep(i, n) for (ll i = 0; i < n; i++) ...
#include <algorithm> #include <cassert> #include <cmath> #include <iomanip> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> using namespace std; typedef long long ll; #define rep(i, n) for (ll i = 0; i < n; i++) ...
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
997,547
997,548
u332258971
cpp
p03206
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, n) for (int i = 0; i < (n); i++) #define rep2(i, a, b) for (int i = (a); i < (b); ++i) #define all(a) (a).begin(), (a).end() int main() { int d; cin >> d; cout << "Christmas"; rep(i, 25 - d) { cout << " eve"; } cout << '\n'...
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, n) for (int i = 0; i < (n); i++) #define rep2(i, a, b) for (int i = (a); i < (b); ++i) #define all(a) (a).begin(), (a).end() int main() { int d; cin >> d; cout << "Christmas"; rep(i, 25 - d) { cout << " Eve"; } cout << '\n'...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
997,561
997,562
u119171625
cpp
p03206
#include <algorithm> #include <cmath> #include <complex> #include <functional> #include <iostream> #include <limits> #include <numeric> #include <sstream> #include <string> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); int D; cin >> D; cout << "Chris...
#include <algorithm> #include <cmath> #include <complex> #include <functional> #include <iostream> #include <limits> #include <numeric> #include <sstream> #include <string> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); int D; cin >> D; cout << "Chris...
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change" ]
997,566
997,567
u557207741
cpp
p03206
#include <bits/stdc++.h> #define ll long long int #define vec vector<ll> #define mat vector<vec> using namespace std; const ll mod = 1000000007; const ll inf = LONG_LONG_MAX; ll dx4[4] = {1, 0, -1, 0}; ll dy4[4] = {0, -1, 0, 1}; ll dx8[8] = {1, 0, -1, 1, -1, 1, 0, -1}; ll dy8[8] = {1, 1, 1, 0, 0, -1, -1, -1}; int ma...
#include <bits/stdc++.h> #define ll long long int #define vec vector<ll> #define mat vector<vec> using namespace std; const ll mod = 1000000007; const ll inf = LONG_LONG_MAX; ll dx4[4] = {1, 0, -1, 0}; ll dy4[4] = {0, -1, 0, 1}; ll dx8[8] = {1, 0, -1, 1, -1, 1, 0, -1}; ll dy8[8] = {1, 1, 1, 0, 0, -1, -1, -1}; int ma...
[ "literal.string.change", "io.output.change" ]
997,574
997,575
u016987091
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; if (d == 25) { cout << "Christmas" << '\n'; } if (d == 24) { cout << "Christmas Eve" << '\n'; } if (d == 23) { cout << "Christmas Eve" << '\n'; } if (d == 22) { cout << "Christmas Eve Eve Eve" << '\n'; } re...
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; if (d == 25) { cout << "Christmas" << '\n'; } if (d == 24) { cout << "Christmas Eve" << '\n'; } if (d == 23) { cout << "Christmas Eve Eve" << '\n'; } if (d == 22) { cout << "Christmas Eve Eve Eve" << '\n'; } ...
[ "literal.string.change", "io.output.change" ]
997,582
997,583
u412732017
cpp
p03206
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) #define rrep(i, n) for (int i = 1; i < (n); ++i) #define all(a) (a).begin(), (a).end() #define rall(a) (a).rbegin(), (a).rend() #define maxs(a, b) a = max(a, b) #define mins(a, b) a = min(a, b) using namespace std; template <class T> inline istrea...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) #define rrep(i, n) for (int i = 1; i < (n); ++i) #define all(a) (a).begin(), (a).end() #define rall(a) (a).rbegin(), (a).rend() #define maxs(a, b) a = max(a, b) #define mins(a, b) a = min(a, b) using namespace std; template <class T> inline istrea...
[ "literal.string.change", "io.output.change" ]
997,599
997,600
u274883254
cpp
p03206
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) #define rrep(i, n) for (int i = 1; i < (n); ++i) #define all(a) (a).begin(), (a).end() #define rall(a) (a).rbegin(), (a).rend() #define maxs(a, b) a = max(a, b) #define mins(a, b) a = min(a, b) using namespace std; template <class T> inline istrea...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) #define rrep(i, n) for (int i = 1; i < (n); ++i) #define all(a) (a).begin(), (a).end() #define rall(a) (a).rbegin(), (a).rend() #define maxs(a, b) a = max(a, b) #define mins(a, b) a = min(a, b) using namespace std; template <class T> inline istrea...
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo", "literal.string.change", "io.output.change" ]
997,601
997,600
u274883254
cpp
p03206
#include "bits/stdc++.h" #define rep(i, a, n) for (int i = a; i < n; i++) typedef long long ll; using namespace std; int main() { int n; cin >> n; cout << "Christmas"; n -= 22; rep(i, 0, n) { cout << " Eve"; } cout << endl; return 0; }
#include "bits/stdc++.h" #define rep(i, a, n) for (int i = a; i < n; i++) typedef long long ll; using namespace std; int main() { int n; cin >> n; cout << "Christmas"; n = 25 - n; rep(i, 0, n) { cout << " Eve"; } cout << endl; return 0; }
[ "assignment.change" ]
997,602
997,603
u129134470
cpp
p03206
#include <iostream> using namespace std; int main() { int D; cin >> D; if (D == 22) { cout << "Chiristmas Eve Eve Eve" << endl; } else if (D == 23) { cout << "Chiristmas Eve Eve" << endl; } else if (D == 24) { cout << "Chiristmas Eve" << endl; } else { cout << "Chiristmas" << endl; } ...
#include <iostream> using namespace std; int main() { int D; cin >> D; if (D == 22) { cout << "Christmas Eve Eve Eve" << endl; } else if (D == 23) { cout << "Christmas Eve Eve" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else { cout << "Christmas" << endl; } ret...
[ "literal.string.change", "io.output.change" ]
997,604
997,605
u280096880
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Chriatmas" << endl; } if (D == 24) { cout << "Chriatmas Eve" << endl; } if (D == 23) { cout << "Chriatmas Eve Eve" << endl; } if (D == 22) { cout << "Chriatmas Eve Eve Eve" << endl;...
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } if (D == 24) { cout << "Christmas Eve" << endl; } if (D == 23) { cout << "Christmas Eve Eve" << endl; } if (D == 22) { cout << "Christmas Eve Eve Eve" << endl;...
[ "literal.string.change", "io.output.change" ]
997,606
997,607
u425231382
cpp
p03206
#include <iostream> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int D; cin >> D; if (D == 22) puts("Christmas Eve Eve Eve"); else if (D == 23) puts("Christmas Eve Eve"); else if (D = 24) puts("Christmas Eve"); else puts("Christmas"); return 0; }
#include <iostream> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int D; cin >> D; if (D == 22) puts("Christmas Eve Eve Eve"); else if (D == 23) puts("Christmas Eve Eve"); else if (D == 24) puts("Christmas Eve"); else puts("Christmas"); return 0; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
997,622
997,623
u058720266
cpp
p03206
#include <iostream> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int D; cin >> D; if (D == 22) puts("Christmas Eve Eve Eve"); else if (D == 23) puts("Christmas Eve Eve"); else if (D = 22) puts("Christmas Eve"); else puts("Christmas"); return 0; }
#include <iostream> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int D; cin >> D; if (D == 22) puts("Christmas Eve Eve Eve"); else if (D == 23) puts("Christmas Eve Eve"); else if (D == 24) puts("Christmas Eve"); else puts("Christmas"); return 0; }
[]
997,624
997,623
u058720266
cpp
p03206
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; using ll = long long; const double PI = 3.14159265358979323846; int main() { int d; cin >> d; if (d == 25) cout << "Christmas" << endl; if (d == 24) cout << "Christmas Eve" << endl; if (d == 23) cou...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; using ll = long long; const double PI = 3.14159265358979323846; int main() { int d; cin >> d; if (d == 25) cout << "Christmas" << endl; if (d == 24) cout << "Christmas Eve" << endl; if (d == 23) cou...
[ "literal.string.change", "io.output.change" ]
997,625
997,626
u188332959
cpp
p03206
#include <iostream> using namespace std; int D; int main() { cin >> D; if (D == 25) cout << "Christmas"; else if (D == 24) cout << "Christmas Eve"; else if (D == 23) cout << "Christmas Eve Eve"; else cout << "Christmas Eve Eve"; return 0; }
#include <iostream> using namespace std; int D; int main() { cin >> D; if (D == 25) cout << "Christmas"; else if (D == 24) cout << "Christmas Eve"; else if (D == 23) cout << "Christmas Eve Eve"; else cout << "Christmas Eve Eve Eve"; return 0; }
[ "literal.string.change", "io.output.change" ]
997,631
997,632
u404710939
cpp
p03206
#include <algorithm> #include <cmath> #include <cstdlib> #include <iostream> #include <map> #include <queue> #include <stack> #include <string> #include <vector> using namespace std; #define rep(i, s, e) for (int(i) = (s); (i) <= (e); ++(i)) #define all(x) x.begin(), x.end() int main() { int d; cin >> d; string...
#include <algorithm> #include <cmath> #include <cstdlib> #include <iostream> #include <map> #include <queue> #include <stack> #include <string> #include <vector> using namespace std; #define rep(i, s, e) for (int(i) = (s); (i) <= (e); ++(i)) #define all(x) x.begin(), x.end() int main() { int d; cin >> d; string...
[ "literal.string.change", "variable_declaration.value.change" ]
997,635
997,636
u521389909
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; if (a == 22) { cout << "Christmas Eve Eve Eve" << endl; } else if (a == 23) { cout << "Christmas Eve Eve" << endl; } else if (a == 24) { cout << "Christmas Eve" << endl; } else if (a == 25) { cout << "Christams" << ...
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; if (a == 22) { cout << "Christmas Eve Eve Eve" << endl; } else if (a == 23) { cout << "Christmas Eve Eve" << endl; } else if (a == 24) { cout << "Christmas Eve" << endl; } else if (a == 25) { cout << "Christmas" << ...
[ "literal.string.change", "io.output.change" ]
997,644
997,645
u165267345
cpp
p03206
#include <iostream> using namespace std; int main() { int d; cin >> d; cout << "Christmas"; for (int i = 0; i < 25 - d; i++) { cout << ' Eve'; } cout << endl; return 0; }
#include <iostream> using namespace std; int main() { int d; cin >> d; cout << "Christmas"; for (int i = 0; i < 25 - d; i++) { cout << " Eve"; } cout << endl; return 0; }
[ "io.output.change" ]
997,646
997,647
u342703951
cpp
p03206
#include <iostream> using namespace std; int main() { int D; cin >> D; cout << "Cristmas "; for (int i = 0; i < 25 - D; ++i) cout << "Eve "; cout << endl; return 0; }
#include <iostream> using namespace std; int main() { int D; cin >> D; cout << "Christmas "; for (int i = 0; i < 25 - D; ++i) cout << "Eve "; cout << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
997,648
997,649
u147571984
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int a; scanf("%d", &a); if (a == 25) printf("\n"); else if (a == 24) printf("Christmas Eve\n"); else if (a == 23) printf("Christmas Eve Eve\n"); else if (a == 22) printf("Christmas Eve Eve Eve\n"); return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a; scanf("%d", &a); if (a == 25) printf("Christmas\n"); else if (a == 24) printf("Christmas Eve\n"); else if (a == 23) printf("Christmas Eve Eve\n"); else if (a == 22) printf("Christmas Eve Eve Eve\n"); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
997,650
997,651
u479061093
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; cout << "Chrismas"; if (D < 25) { cout << " Eve"; } if (D < 24) { cout << " Eve"; } if (D < 23) { cout << " Eve"; } cout << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; cout << "Christmas"; if (D < 25) { cout << " Eve"; } if (D < 24) { cout << " Eve"; } if (D < 23) { cout << " Eve"; } cout << endl; }
[ "literal.string.change", "io.output.change" ]
997,652
997,653
u548596361
cpp
p03206
#include <iostream> using namespace std; int main() { int day; cin >> day; cout << "Chistmas"; for (int i = day; i < 25; i++) { cout << " Eve"; } return 0; }
#include <iostream> using namespace std; int main() { int day; cin >> day; cout << "Christmas"; for (int i = day; i < 25; i++) { cout << " Eve"; } return 0; }
[ "literal.string.change", "io.output.change" ]
997,654
997,655
u710135612
cpp
p03206
#include <bits/stdc++.h> #include <iostream> #include <vector> using namespace std; int main() { int N; if (N == 22) cout << "Christmas Eve Eve Eve" << endl; if (N == 23) cout << "Christmas Eve Eve" << endl; if (N == 24) cout << "Christmas Eve" << endl; if (N == 25) cout << "Christmas" << endl...
#include <bits/stdc++.h> #include <iostream> #include <vector> using namespace std; int main() { int N; cin >> N; if (N == 22) cout << "Christmas Eve Eve Eve" << endl; if (N == 23) cout << "Christmas Eve Eve" << endl; if (N == 24) cout << "Christmas Eve" << endl; if (N == 25) cout << "Christ...
[]
997,656
997,657
u143492911
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; if (d == 22) cout << "Christmas Eve Eve Eve"; if (d == 22) cout << "Christmas Eve Eve"; if (d == 22) cout << "Christmas Eve"; if (d == 22) cout << "Christmas"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int d; cin >> d; if (d == 22) cout << "Christmas Eve Eve Eve"; if (d == 23) cout << "Christmas Eve Eve"; if (d == 24) cout << "Christmas Eve"; if (d == 25) cout << "Christmas"; return 0; }
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
997,662
997,663
u702142173
cpp
p03206
#include <stdio.h> int main(void) { int d, i; scanf("%d", &d); printf("Cristmas "); for (i = 25; i > d; i--) { printf("Eve "); } return 0; }
#include <stdio.h> int main(void) { int d, i; scanf("%d", &d); printf("Christmas "); for (i = 25; i > d; i--) { printf("Eve "); } return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
997,664
997,665
u497418592
cpp
p03206
#include <stdio.h> int main(void) { int d, i; scanf("%d", &d); printf("Cristmas "); for (i = 25; i < d; i--) { printf("Eve "); } return 0; }
#include <stdio.h> int main(void) { int d, i; scanf("%d", &d); printf("Christmas "); for (i = 25; i > d; i--) { printf("Eve "); } return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change", "misc.opposites", "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
997,666
997,665
u497418592
cpp
p03206
#include <algorithm> #include <bits/stdc++.h> #include <iostream> #include <numeric> #include <vector> using namespace std; int main() { int d; cin >> d; string s; if (d = 25) s = "Christmas"; else if (d = 24) s = "Christmas Eve"; else if (d = 23) s = "Christmas Eve Eve"; else s = "Christ...
#include <algorithm> #include <bits/stdc++.h> #include <iostream> #include <numeric> #include <vector> using namespace std; int main() { int d; cin >> d; string s; if (d == 25) s = "Christmas"; else if (d == 24) s = "Christmas Eve"; else if (d == 23) s = "Christmas Eve Eve"; else s = "Chr...
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
997,677
997,678
u959815036
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D = 23) { cout << "Christmas Eve Eve" << endl; } else if (D == 22) { cout << "Christmas Eve Eve Eve" ...
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D == 23) { cout << "Christmas Eve Eve" << endl; } else if (D == 22) { cout << "Christmas Eve Eve Eve"...
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
997,681
997,682
u437695457
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D = 23) { cout << "Christmas Eve Ev" << endl; } else if (D == 22) { cout << "Christmas Eve Eve Ev" <<...
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D == 23) { cout << "Christmas Eve Eve" << endl; } else if (D == 22) { cout << "Christmas Eve Eve Eve"...
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo", "literal.string.change", "io.output.change" ]
997,684
997,682
u437695457
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D = 24) { cout << "Christmas Eve" << endl; } else if (D = 23) { cout << "Christmas Eve Eve" << endl; } else if (D = 22) { cout << "Christmas Eve Eve Eve" << end...
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D == 23) { cout << "Christmas Eve Eve" << endl; } else if (D == 22) { cout << "Christmas Eve Eve Eve" << ...
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
997,694
997,695
u466393447
cpp
p03206
#include <iostream> using namespace std; int main() { int d; cin >> d; cout << "Chirstmas"; if (d == 25) cout << endl; if (d == 24) cout << " Eve" << endl; if (d == 23) cout << " Eve Eve" << endl; if (d == 22) cout << " Eve Eve Eve" << endl; }
#include <iostream> using namespace std; int main() { int d; cin >> d; cout << "Christmas"; if (d == 25) cout << endl; if (d == 24) cout << " Eve" << endl; if (d == 23) cout << " Eve Eve" << endl; if (d == 22) cout << " Eve Eve Eve" << endl; }
[ "literal.string.change", "io.output.change" ]
997,701
997,702
u698571659
cpp
p03206
#include <algorithm> #include <array> #include <bitset> #include <cassert> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <functional> #include <iostream> #include <limits> #include <list> #include <map> #include <numeric> #include ...
#include <algorithm> #include <array> #include <bitset> #include <cassert> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <functional> #include <iostream> #include <limits> #include <list> #include <map> #include <numeric> #include ...
[ "literal.string.change", "io.output.change" ]
997,719
997,720
u054652697
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main(void) { int a; cin >> a; if (a == 25) { cout << "Christmas" << endl; } else if (a == 24) { cout << "Christmas Eve" << endl; } else if (a == 24) { cout << "Christmas Eve Eve" << endl; } else if (a == 24) { cout << "Christmas Eve Eve Eve"...
#include <bits/stdc++.h> using namespace std; int main(void) { int a; cin >> a; if (a == 25) { cout << "Christmas" << endl; } else if (a == 24) { cout << "Christmas Eve" << endl; } else if (a == 23) { cout << "Christmas Eve Eve" << endl; } else if (a == 22) { cout << "Christmas Eve Eve Eve"...
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
997,721
997,722
u850779832
cpp
p03206
#include <iostream> using namespace std; int main(void) { int d; cin >> d; if (d == 25) cout << "Christmas" << endl; if (d == 24) cout << "Christmas Eve" << endl; if (d == 23) cout << "Christmas Eve Eve Eve" << endl; if (d == 22) cout << "Christmas Eve Eve Eve" << endl; }
#include <iostream> using namespace std; int main(void) { int d; cin >> d; if (d == 25) cout << "Christmas" << endl; if (d == 24) cout << "Christmas Eve" << endl; if (d == 23) cout << "Christmas Eve Eve" << endl; if (d == 22) cout << "Christmas Eve Eve Eve" << endl; }
[ "literal.string.change", "io.output.change" ]
997,723
997,724
u884336498
cpp
p03206
#include <bits/stdc++.h> using namespace std; #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define FORR(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, a) for (auto &(x) : (a)) #define VECCIN(x) ...
#include <bits/stdc++.h> using namespace std; #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define FORR(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, a) for (auto &(x) : (a)) #define VECCIN(x) ...
[ "control_flow.break.add" ]
997,727
997,728
u139031151
cpp
p03206
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; int D; int main() { cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D == 25) { cout << "Christmas Eve Eve" << endl; } else { ...
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; int D; int main() { cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D == 23) { cout << "Christmas Eve Eve" << endl; } else { ...
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
997,743
997,744
u193690465
cpp
p03206
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; int D; int main() { cin >> D; if (D == 25) { cout << "Christmax" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D == 25) { cout << "Christmax Eve Eve" << endl; } else { ...
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; int D; int main() { cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D == 23) { cout << "Christmas Eve Eve" << endl; } else { ...
[ "literal.string.change", "io.output.change", "literal.number.change", "control_flow.branch.if.condition.change" ]
997,745
997,744
u193690465
cpp
p03206
#include <iostream> #include <string> using namespace std; int main() { int d; cin >> d; string ans; if (d == 25) ans = "Chrismas"; else if (d == 24) ans = "Christmas Eve"; else if (d == 23) ans = "Christmas Eve Eve"; else if (d == 22) ans = "Christmas Eve Eve Eve"; cout << ans << endl;...
#include <iostream> #include <string> using namespace std; int main() { int d; cin >> d; string ans; if (d == 25) ans = "Christmas"; else if (d == 24) ans = "Christmas Eve"; else if (d == 23) ans = "Christmas Eve Eve"; else if (d == 22) ans = "Christmas Eve Eve Eve"; cout << ans << endl...
[ "literal.string.change", "assignment.value.change" ]
997,746
997,747
u254766083
cpp
p03206
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D == 23) { cout << "Christmas Eve Eve" << endl; } else { cout << "Christmas Eve Eve" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int D; cin >> D; if (D == 25) { cout << "Christmas" << endl; } else if (D == 24) { cout << "Christmas Eve" << endl; } else if (D == 23) { cout << "Christmas Eve Eve" << endl; } else { cout << "Christmas Eve Eve Eve" << endl; } }
[ "literal.string.change", "io.output.change" ]
997,762
997,763
u955534952
cpp
p03206
#include <iostream> using namespace std; int main(void) { // Your code here! int d; cin >> d; if (d == 25) { cout << "Christmas" << endl; } else if (d == 24) { cout << "Christmas Eve" << endl; } else if (d == 23) { cout << "Christms Eve Eve" << endl; } else if (d == 22) { cout << ...
#include <iostream> using namespace std; int main(void) { // Your code here! int d; cin >> d; if (d == 25) { cout << "Christmas" << endl; } else if (d == 24) { cout << "Christmas Eve" << endl; } else if (d == 23) { cout << "Christmas Eve Eve" << endl; } else if (d == 22) { cout <<...
[ "literal.string.change", "io.output.change" ]
997,769
997,770
u226223646
cpp
p03206
#include <iostream> #include <string> using namespace std; int main(int argc, char const *argv[]) { int D; cin >> D; int dif = 25 - D; string ret("christmas"); for (int i = 0; i < dif; ++i) ret += " Eve"; cout << ret << endl; return 0; }
#include <iostream> #include <string> using namespace std; int main(int argc, char const *argv[]) { int D; cin >> D; int dif = 25 - D; string ret("Christmas"); for (int i = 0; i < dif; ++i) ret += " Eve"; cout << ret << endl; return 0; }
[ "literal.string.change", "literal.string.case.change", "call.arguments.change" ]
997,771
997,772
u843439460
cpp
p03206
#include <iostream> #include <vector> using namespace std; int main() { int d; cin >> d; cout << "Christmas"; for (int i = 0; i < (15 - d); i++) { cout << " Eve"; } cout << endl; }
#include <iostream> #include <vector> using namespace std; int main() { int d; cin >> d; cout << "Christmas"; for (int i = 0; i < (25 - d); i++) { cout << " Eve"; } cout << endl; }
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
997,773
997,774
u160754729
cpp