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
p03109
#include <iostream> #include <stdio.h> using namespace std; int main(void) { string S; cin >> S; int month = atoi(S.substr(5, 2).c_str()); // cout << month << endl; printf(month >= 5 ? "Heisei\n" : "TBD\n"); return 0; }
#include <iostream> #include <stdio.h> using namespace std; int main(void) { string S; cin >> S; int month = atoi(S.substr(5, 2).c_str()); // cout << month << endl; printf(month <= 4 ? "Heisei\n" : "TBD\n"); return 0; }
[]
919,989
919,990
u684448032
cpp
p03109
#include <iostream> #include <stdio.h> using namespace std; int main(void) { string S; cin >> S; int month = atoi(S.substr(5, 2).c_str()); printf(month >= 5 ? "Heisei\n" : "TBD\n"); return 0; }
#include <iostream> #include <stdio.h> using namespace std; int main(void) { string S; cin >> S; int month = atoi(S.substr(5, 2).c_str()); // cout << month << endl; printf(month <= 4 ? "Heisei\n" : "TBD\n"); return 0; }
[]
919,991
919,990
u684448032
cpp
p03109
#include <bits/stdc++.h> using namespace std; const int MAXN = 20; char s[MAXN]; int main() { scanf("%s", s); int m = 10 * (s[5] - '0') + (s[6] - '0'); if (m > 4) printf("TBD\n"); else printf("Haisei\n"); return 0; }
#include <bits/stdc++.h> using namespace std; const int MAXN = 20; char s[MAXN]; int main() { scanf("%s", s); int m = 10 * (s[5] - '0') + (s[6] - '0'); if (m > 4) printf("TBD\n"); else printf("Heisei\n"); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
919,992
919,993
u816631826
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int Y, M, D; string A, B; cin >> Y >> A >> M >> B >> D; if (Y > 2019) { cout << "TBD" << endl; } else if (M > 4) { cout << "TBD" << endl; } else { cout << "Heisei" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int Y, M, D; char A, B; cin >> Y >> A >> M >> B >> D; if (Y > 2019) { cout << "TBD" << endl; } else if (M > 4) { cout << "TBD" << endl; } else { cout << "Heisei" << endl; } }
[ "variable_declaration.type.change" ]
920,008
920,009
u740002394
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int Y, M, D; string A, B; cin >> Y >> A >> M >> B >> D; if (Y > 2019) { cout << "STD" << endl; } else if (M > 4) { cout << "STD" << endl; } else { cout << "Heisei" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int Y, M, D; char A, B; cin >> Y >> A >> M >> B >> D; if (Y > 2019) { cout << "TBD" << endl; } else if (M > 4) { cout << "TBD" << endl; } else { cout << "Heisei" << endl; } }
[ "variable_declaration.type.change", "literal.string.change", "io.output.change" ]
920,010
920,009
u740002394
cpp
p03108
#include <bits/stdc++.h> using namespace std; struct UnionFind { vector<int> data; UnionFind(int size) : data(size, -1) {} bool unionSet(int x, int y) { x = root(x); y = root(y); if (x != y) { if (data[y] < data[x]) swap(x, y); data[x] += data[y]; data[y] = x; } retu...
#include <bits/stdc++.h> using namespace std; struct UnionFind { vector<int> data; UnionFind(int size) : data(size, -1) {} bool unionSet(int x, int y) { x = root(x); y = root(y); if (x != y) { if (data[y] < data[x]) swap(x, y); data[x] += data[y]; data[y] = x; } retu...
[ "assignment.change" ]
920,011
920,012
u167780710
cpp
p03108
#include <bits/stdc++.h> using namespace std; class UnionFind { public: vector<long long> root; UnionFind(long long N) { root = vector<long long>(N, -1); } long long find_root(long long A) { if (root[A] < 0) { return A; } else { root[A] = find_root(root[A]); } return root[A]; } ...
#include <bits/stdc++.h> using namespace std; class UnionFind { public: vector<long long> root; UnionFind(long long N) { root = vector<long long>(N + 1, -1); } long long find_root(long long A) { if (root[A] < 0) { return A; } else { root[A] = find_root(root[A]); } return root[A]; ...
[ "assignment.change" ]
920,013
920,014
u618697411
cpp
p03108
#include <iostream> using namespace std; #ifdef DEBUG #define IFD if (true) #else #define IFD if (false) #endif #include <vector> // 要素個数カウント付き Union Find // 要素の型。int か long あたりを想定 template <typename T_uf_data> class UnionFind { private: std::vector<T_uf_data> par; // 親 (parent) を指す std::vector<T_uf_data> rnk;...
#include <iostream> using namespace std; #ifdef DEBUG #define IFD if (true) #else #define IFD if (false) #endif #include <vector> // 要素個数カウント付き Union Find // 要素の型。int か long あたりを想定 template <typename T_uf_data> class UnionFind { private: std::vector<T_uf_data> par; // 親 (parent) を指す std::vector<T_uf_data> rnk;...
[ "identifier.replace.remove", "literal.replace.add", "call.arguments.change", "expression.operation.binary.change", "expression.operation.binary.remove" ]
920,039
920,040
u711582524
cpp
p03108
#include <algorithm> #include <iostream> #include <math.h> #include <stack> #include <stdio.h> #include <string> #include <utility> #include <vector> class UnionFind { public: std::vector<int> parent; UnionFind(int n) { parent = std::vector<int>(n, -1); } int root(int i) { //自分が親なら if (parent[i] < 0) {...
#include <algorithm> #include <iostream> #include <math.h> #include <stack> #include <stdio.h> #include <string> #include <utility> #include <vector> class UnionFind { public: std::vector<int> parent; UnionFind(int n) { parent = std::vector<int>(n, -1); } int root(int i) { //自分が親なら if (parent[i] < 0) {...
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change" ]
920,041
920,042
u228807040
cpp
p03108
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<ll, ll> P; typedef vector<ll> V; typedef complex<double> Point; #define PI acos(-1.0) #define EPS 1e-10 const ll INF = 1e16; const ll MOD = 1e9 + 7; #define FOR(i, a, b) for (int i = (a); i < (b); i++) #...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<ll, ll> P; typedef vector<ll> V; typedef complex<double> Point; #define PI acos(-1.0) #define EPS 1e-10 const ll INF = 1e16; const ll MOD = 1e9 + 7; #define FOR(i, a, b) for (int i = (a); i < (b); i++) #...
[]
920,089
920,090
u344425917
cpp
p03108
#include <bits/stdc++.h> #define _CRT_SECURE_NO_WARNINGS #define ll long long #define BUF 50 #define INF 1 << 30 using namespace std; ll MOD = 1e9 + 7; ll A, B, C, D, G, H, N, M, L, K, P, Q, R, W, X, Y, Z; string S; ll ans = 0; struct UnionFind { vector<int> rank, parent, num; UnionFind(){}; UnionFind(int size) :...
#include <bits/stdc++.h> #define _CRT_SECURE_NO_WARNINGS #define ll long long #define BUF 50 #define INF 1 << 30 using namespace std; ll MOD = 1e9 + 7; ll A, B, C, D, G, H, N, M, L, K, P, Q, R, W, X, Y, Z; string S; ll ans = 0; struct UnionFind { vector<int> rank, parent, num; UnionFind(){}; UnionFind(int size) :...
[ "assignment.value.change", "assignment.change" ]
920,129
920,130
u030090262
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; char c1, c2; cin >> y >> c1 >> m >> c2 >> d; cout << (m < 4 ? "Heisei" : "TBD") << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; char c1, c2; cin >> y >> c1 >> m >> c2 >> d; cout << (m <= 4 ? "Heisei" : "TBD") << endl; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "io.output.change" ]
920,181
920,182
u418892821
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; char c1, c2; cin >> y >> c1 >> m >> c2 >> d; cout << (m << 4 ? "Heisei" : "TBD") << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; char c1, c2; cin >> y >> c1 >> m >> c2 >> d; cout << (m <= 4 ? "Heisei" : "TBD") << endl; }
[ "control_flow.loop.for.condition.change", "io.output.change" ]
920,183
920,182
u418892821
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main(void) { string s; cin >> s; if (s[5] == '0' && (int)s[6] <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
#include <bits/stdc++.h> using namespace std; int main(void) { string s; cin >> s; if (s[5] == '0' && (int)(s[6] - 48) <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
[ "control_flow.branch.if.condition.change" ]
920,184
920,185
u861231819
cpp
p03109
#include "bits/stdc++.h" using namespace std; // GNU C Compiler // template<class T> inline string toString(T x) { ostringstream sout; sout << // x; return sout.str(); } // type using ll = int_fast64_t; using ull = uint_fast64_t; using LL = long long; using ULL = unsigned long long; using PII = pair<int, int>; // usi...
#include "bits/stdc++.h" using namespace std; // GNU C Compiler // template<class T> inline string toString(T x) { ostringstream sout; sout << // x; return sout.str(); } // type using ll = int_fast64_t; using ull = uint_fast64_t; using LL = long long; using ULL = unsigned long long; using PII = pair<int, int>; // usi...
[ "control_flow.branch.if.condition.change" ]
920,186
920,187
u585586208
cpp
p03109
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) using namespace std; using P = pair<int, int>; using ll = long long; int main() { string s; cin >> s; if (s <= "2019/4/30") { cout << "Heisei" << endl; } else { cout ...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) using namespace std; using P = pair<int, int>; using ll = long long; int main() { string s; cin >> s; if (s <= "2019/04/30") { cout << "Heisei" << endl; } else { cout...
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
920,196
920,197
u534923072
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; string s, t; cin >> y >> s >> m >> t >> d; if (m > 4) cout << "TBD" << endl; else cout << "Heisei" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; char a, b; cin >> y >> a >> m >> b >> d; if (m > 4) cout << "TBD" << endl; else cout << "Heisei" << endl; }
[ "identifier.change", "expression.operation.binary.change" ]
920,227
920,228
u332946309
cpp
p03109
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define rep2(i, a, b) for (int i = (a); i < (b); i++) typedef long long ll; int main() { int y, m, d; char s1, s2; cin >> y >> s1 >> m >> s2 >> d; if (m >= 4) { cout << "Heisei" << endl; } else { cout << "T...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define rep2(i, a, b) for (int i = (a); i < (b); i++) typedef long long ll; int main() { int y, m, d; char s1, s2; cin >> y >> s1 >> m >> s2 >> d; if (m <= 4) { cout << "Heisei" << endl; } else { cout << "T...
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,229
920,230
u010806195
cpp
p03109
#include <bits/stdc++.h> using namespace std; typedef int64_t i64; int main() { string S; cin >> S; if (S == "2019/04/30") { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
#include <bits/stdc++.h> using namespace std; typedef int64_t i64; int main() { string S; cin >> S; if (S <= "2019/04/30") { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,243
920,244
u163064978
cpp
p03109
#pragma GCC optimize("Ofast") #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; using pll = pair<long long, long long>; constexpr char ln = '\n'; constexpr long long MOD = 1000000007LL; constexpr long long INF = 1000000009LL; #define all(x) (x).begin(), (x).end() #define re...
#pragma GCC optimize("Ofast") #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; using pll = pair<long long, long long>; constexpr char ln = '\n'; constexpr long long MOD = 1000000007LL; constexpr long long INF = 1000000009LL; #define all(x) (x).begin(), (x).end() #define re...
[ "literal.number.change", "call.arguments.change" ]
920,262
920,263
u062736195
cpp
p03109
#pragma GCC optimize("Ofast") #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; using pll = pair<long long, long long>; constexpr char ln = '\n'; constexpr long long MOD = 1000000007LL; constexpr long long INF = 1000000009LL; #define all(x) (x).begin(), (x).end() #define re...
#pragma GCC optimize("Ofast") #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; using pll = pair<long long, long long>; constexpr char ln = '\n'; constexpr long long MOD = 1000000007LL; constexpr long long INF = 1000000009LL; #define all(x) (x).begin(), (x).end() #define re...
[ "literal.number.change", "call.arguments.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,264
920,263
u062736195
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; string s1, s2; cin >> y >> s1 >> m >> s2 >> d; if (m <= 4) cout << "Heisei" << endl; else cout << "TBD" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; char s1, s2; cin >> y >> s1 >> m >> s2 >> d; if (m <= 4) cout << "Heisei" << endl; else cout << "TBD" << endl; }
[ "variable_declaration.type.change" ]
920,297
920,298
u864785784
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; char a, b; cin >> y >> a >> m >> b >> d; if (a <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; char a, b; cin >> y >> a >> m >> b >> d; if (m <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
[ "identifier.change", "control_flow.branch.if.condition.change" ]
920,301
920,302
u940079168
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; char a, b; cin >> y >> a >> m >> b >> d; if (b <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; char a, b; cin >> y >> a >> m >> b >> d; if (m <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
[ "identifier.change", "control_flow.branch.if.condition.change" ]
920,303
920,302
u940079168
cpp
p03109
#include <iostream> #include <string> using namespace std; int main() { int a, b, c; scanf("%d/%d/%d", a, b, c); if (b > 4) cout << "TBD" << endl; else cout << "Heisei" << endl; }
#include <iostream> #include <string> using namespace std; int main() { int a, b, c; scanf("%d/%d/%d", &a, &b, &c); if (b > 4) cout << "TBD" << endl; else cout << "Heisei" << endl; }
[ "expression.operation.unary.reference.add" ]
920,306
920,307
u389055093
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int y, m, g; string s, t; cin >> y >> s >> m >> t >> g; if (m <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int y, m, g; char s, t; cin >> y >> s >> m >> t >> g; if (m <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
[ "variable_declaration.type.change" ]
920,311
920,312
u834753207
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; string yea = S.substr(0, 4); int year = stoi(yea); string mont = S.substr(5, 2); int month = stoi(mont); if (month <= 4) { cout << "heisei" << endl; } else { cout << "TBD" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; string yea = S.substr(0, 4); int year = stoi(yea); string mont = S.substr(5, 2); int month = stoi(mont); if (month <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
920,320
920,321
u262451272
cpp
p03109
#include <algorithm> #include <iomanip> #include <iostream> using namespace std; using ll = long long; #define pi 3.1415926 int a[3]; int main() { string s; cin >> s; if (s > "2019/04/30") cout << "TBD"; else cout << "Helsei"; }
#include <algorithm> #include <iomanip> #include <iostream> using namespace std; using ll = long long; #define pi 3.1415926 int a[3]; int main() { string s; cin >> s; if (s > "2019/04/30") cout << "TBD"; else cout << "Heisei"; }
[ "literal.string.change", "io.output.change" ]
920,328
920,329
u746310630
cpp
p03109
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; int main() { int y, m, d; char c1, c2; cin >> y >> c1 >> m >> c2 >> d; if (m <= 4) cout << "Heisei" << endl; else cout << "TED" << endl; return 0; }
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; int main() { int y, m, d; char c1, c2; cin >> y >> c1 >> m >> c2 >> d; if (m <= 4) cout << "Heisei" << endl; else cout << "TBD" << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
920,335
920,336
u186506670
cpp
p03109
#include <bits/stdc++.h> using namespace std; #define fo(x, n) for (int i = x; i <= n; i++) #define all(x) x.begin(), x.end() typedef long long ll; typedef pair<int, int> pii; typedef vector<int> vi; const int MOD = 1e9 + 7; void solve() { string s; cin >> s; if (s >= "2019/04/30") cout << "Heisei"; else ...
#include <bits/stdc++.h> using namespace std; #define fo(x, n) for (int i = x; i <= n; i++) #define all(x) x.begin(), x.end() typedef long long ll; typedef pair<int, int> pii; typedef vector<int> vi; const int MOD = 1e9 + 7; void solve() { string s; cin >> s; if (s <= "2019/04/30") cout << "Heisei"; else ...
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,357
920,358
u024616993
cpp
p03109
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); ++i) #define vvec(m, n) vector<vector<int>>(int(m), vector<int>(n)) #define ALL(a) (a).begin(), (a).end() using ll = long long; int main() { int yyyy, mm, dd; char s1, s2; cin >> yyyy >> s1 >> mm >> s2 >> dd; cout << (mm...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); ++i) #define vvec(m, n) vector<vector<int>>(int(m), vector<int>(n)) #define ALL(a) (a).begin(), (a).end() using ll = long long; int main() { int yyyy, mm, dd; char s1, s2; cin >> yyyy >> s1 >> mm >> s2 >> dd; cout << (mm...
[ "literal.string.change", "io.output.change" ]
920,374
920,375
u842897677
cpp
p03109
#include <algorithm> #include <cmath> #include <iostream> #include <string> #include <vector> typedef long long ll; #define all(x) (x).begin(), (x).end() // sortなどの引数を省略 #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define max3(x, y, z) max(x, max(y, z)) #ifdef _MSC_FULL_VER //デバッグ出力 #define dout cout #define de...
#include <algorithm> #include <cmath> #include <iostream> #include <string> #include <vector> typedef long long ll; #define all(x) (x).begin(), (x).end() // sortなどの引数を省略 #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define max3(x, y, z) max(x, max(y, z)) #ifdef _MSC_FULL_VER //デバッグ出力 #define dout cout #define de...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,378
920,379
u043964516
cpp
p03109
#include <algorithm> #include <cmath> #include <iostream> #include <string> #include <vector> typedef long long ll; #define all(x) (x).begin(), (x).end() // sortなどの引数を省略 #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define max3(x, y, z) max(x, max(y, z)) #ifdef _MSC_FULL_VER //デバッグ出力 #define dout cout #define de...
#include <algorithm> #include <cmath> #include <iostream> #include <string> #include <vector> typedef long long ll; #define all(x) (x).begin(), (x).end() // sortなどの引数を省略 #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define max3(x, y, z) max(x, max(y, z)) #ifdef _MSC_FULL_VER //デバッグ出力 #define dout cout #define de...
[ "literal.number.change", "variable_access.subscript.index.change", "control_flow.branch.if.condition.change", "expression.operator.compare.change" ]
920,380
920,379
u043964516
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { string S, YMD; cin >> S; YMD = "2019/04/30"; if (S <= YMD) { cout << "HEISEI" << endl; } else { cout << "TBD" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { string S, YMD; cin >> S; YMD = "2019/04/30"; if (S <= YMD) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
920,394
920,395
u728095140
cpp
p03109
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { int y, m, d; string s1, s2; cin >> y >> s1 >> m >> s2 >> d; cout << (m <= 4 ? "Heisei" : "TBD") << endl; }
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { int y, m, d; char s1, s2; cin >> y >> s1 >> m >> s2 >> d; cout << (m <= 4 ? "Heisei" : "TBD") << endl; }
[ "variable_declaration.type.change" ]
920,396
920,397
u879294842
cpp
p03109
// include // ------------------------------------------------ #include <algorithm> #include <bits/stdc++.h> #include <math.h> #include <vector> using namespace std; // func // ------------------------------------------------ int CalcSumOfDigit(int n); // 各桁の和を計算する。 string upper(string str); // 英字を大文字に変換する。 string l...
// include // ------------------------------------------------ #include <algorithm> #include <bits/stdc++.h> #include <math.h> #include <vector> using namespace std; // func // ------------------------------------------------ int CalcSumOfDigit(int n); // 各桁の和を計算する。 string upper(string str); // 英字を大文字に変換する。 string l...
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
920,412
920,413
u610897920
cpp
p03109
// include // ------------------------------------------------ #include <algorithm> #include <bits/stdc++.h> #include <math.h> #include <vector> using namespace std; // func // ------------------------------------------------ int CalcSumOfDigit(int n); // 各桁の和を計算する。 string upper(string str); // 英字を大文字に変換する。 string l...
// include // ------------------------------------------------ #include <algorithm> #include <bits/stdc++.h> #include <math.h> #include <vector> using namespace std; // func // ------------------------------------------------ int CalcSumOfDigit(int n); // 各桁の和を計算する。 string upper(string str); // 英字を大文字に変換する。 string l...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "io.output.change" ]
920,414
920,413
u610897920
cpp
p03109
#include <bits/stdc++.h> #define _GLIBCXX_DEBUG using namespace std; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define rep2(i, s, n) for (ll i = s; i < (ll)(n); i++) typedef long long ll; typedef vector<vector<ll>> vvl; typedef vector<ll> vl; typedef vector<vector<char>> vvc; typedef vector<char> vc; typedef p...
#include <bits/stdc++.h> #define _GLIBCXX_DEBUG using namespace std; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define rep2(i, s, n) for (ll i = s; i < (ll)(n); i++) typedef long long ll; typedef vector<vector<ll>> vvl; typedef vector<ll> vl; typedef vector<vector<char>> vvc; typedef vector<char> vc; typedef p...
[ "literal.string.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
920,420
920,421
u425758699
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; char c1, c2; cin >> y >> c1 >> m >> c2 >> d; cout << (m <= 4 ? "Heisei" : "Reiwa") << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int y, m, d; char c1, c2; cin >> y >> c1 >> m >> c2 >> d; cout << (m <= 4 ? "Heisei" : "TBD") << endl; }
[ "literal.string.change", "io.output.change" ]
920,435
920,436
u670898337
cpp
p03109
#include <iostream> using namespace std; int main() { string S; cin >> S; if (S >= "2019/04/30") { cout << "Heisei"; } else cout << "TBD"; return 0; }
#include <iostream> using namespace std; int main() { string S; cin >> S; if (S <= "2019/04/30") { cout << "Heisei"; } else cout << "TBD"; return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,443
920,444
u318329027
cpp
p03109
#include <cmath> #include <iostream> using namespace std; int main() { string S; cin >> S; if (S == "2019/04/30") { cout << "Heisei"; } else cout << "TBD"; return 0; }
#include <iostream> using namespace std; int main() { string S; cin >> S; if (S <= "2019/04/30") { cout << "Heisei"; } else cout << "TBD"; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,445
920,444
u318329027
cpp
p03109
#include <iostream> using namespace std; int main() { string S; cin >> S; if (S == "2019/04/30") { cout << "Heisei"; } else cout << "TBD"; return 0; }
#include <iostream> using namespace std; int main() { string S; cin >> S; if (S <= "2019/04/30") { cout << "Heisei"; } else cout << "TBD"; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,446
920,444
u318329027
cpp
p03109
#include <iostream> #include <string> using namespace std; int main() { string S; cin >> S; if (S > "2019/04/30") { cout << "TBD"; } else { cout << "HEISEI"; } }
#include <iostream> #include <string> using namespace std; int main() { string S; cin >> S; if (S > "2019/04/30") { cout << "TBD"; } else { cout << "Heisei"; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
920,447
920,448
u272628953
cpp
p03109
#include <iostream> #include <string> using namespace std; int main() { string S; cin >> S; if (S > "2019/04/30") { cout << "TBD"; } else { cout << "heisei"; } }
#include <iostream> #include <string> using namespace std; int main() { string S; cin >> S; if (S > "2019/04/30") { cout << "TBD"; } else { cout << "Heisei"; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
920,449
920,448
u272628953
cpp
p03109
#include <bits/stdc++.h> using namespace std; void ans() { string s; cin >> s; if (s <= "2019/04/30") cout << "Heisei" << endl; else cout << "TBT" << endl; } int main() { ans(); }
#include <bits/stdc++.h> using namespace std; void ans() { string s; cin >> s; if (s <= "2019/04/30") cout << "Heisei" << endl; else cout << "TBD" << endl; } int main() { ans(); }
[ "literal.string.change", "io.output.change" ]
920,469
920,470
u305141544
cpp
p03109
#include <bits/stdc++.h> using namespace std; int ans() { string s; cin >> s; if (s <= "2019/04/30") cout << "Heisei" << endl; else cout << "TBT" << endl; } int main() { ans(); }
#include <bits/stdc++.h> using namespace std; void ans() { string s; cin >> s; if (s <= "2019/04/30") cout << "Heisei" << endl; else cout << "TBD" << endl; } int main() { ans(); }
[ "function.return_type.change", "literal.string.change", "io.output.change" ]
920,471
920,470
u305141544
cpp
p03109
#include <iostream> #include <string> using namespace std; int main() { string s; cin >> s; string s1 = s.substr(0, 4); int a = stoi(s1); string s2 = s.substr(6, 2); int b = stoi(s2); if (a < 2019 || a == 2019 && b <= 4) cout << "Heisei"; else cout << "TBD"; cout << endl; }
#include <iostream> #include <string> using namespace std; int main() { string s; cin >> s; string s1 = s.substr(0, 4); int a = stoi(s1); string s2 = s.substr(5, 2); int b = stoi(s2); if (a < 2019 || a == 2019 && b <= 4) cout << "Heisei"; else cout << "TBD"; cout << endl; }
[ "literal.number.change", "call.arguments.change" ]
920,485
920,486
u482982507
cpp
p03109
#include <iostream> #include <cmath> using namespace std; int main() { string s; cin >> s; if (s == "2019/04/30") cout << "Heisei"; else cout << "TBD"; return 0; }
#include <iostream> #include <cmath> using namespace std; int main() { string a; cin >> a; if (a <= "2019/04/30") cout << "Heisei"; else cout << "TBD"; return 0; }
[ "identifier.change", "expression.operation.binary.change" ]
920,487
920,488
u265789933
cpp
p03109
#include <algorithm> #include <array> #include <iostream> #include <string> using namespace std; int main(void) { string a, b, c; int q, w, e; cin >> q >> a >> w >> b >> e; if (w <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } return 0; }
#include <algorithm> #include <array> #include <iostream> #include <string> using namespace std; int main(void) { char a, b, c; int q, w, e; cin >> q >> a >> w >> b >> e; if (w <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } return 0; }
[ "variable_declaration.type.change" ]
920,494
920,495
u840731541
cpp
p03109
#include <algorithm> #include <array> #include <iostream> #include <string> using namespace std; int main(void) { string a, b, c; int q, w, e; cin >> q >> a >> w >> b >> e; if (w > 4) { cout << "TBD" << endl; } else { cout << "Heisei" << endl; } return 0; }
#include <algorithm> #include <array> #include <iostream> #include <string> using namespace std; int main(void) { char a, b, c; int q, w, e; cin >> q >> a >> w >> b >> e; if (w <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } return 0; }
[ "variable_declaration.type.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "io.output.change" ]
920,496
920,495
u840731541
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if (S == "2019/04/30") cout << "Heisei"; else cout << "TBD"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if (S <= "2019/04/30") cout << "Heisei"; else cout << "TBD"; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,497
920,498
u329455552
cpp
p03109
#include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int a, b, c; string m, n; cin >> a >> m >> b >> n >> c; if (b < 05) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } return 0; }
#include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int a, b, c; char m, n; cin >> a >> m >> b >> n >> c; if (b < 05) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } return 0; }
[ "variable_declaration.type.change" ]
920,499
920,500
u356754940
cpp
p03109
#include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int a, b, c; string m, n; cin >> a >> m >> b >> n >> c; if (b < 5) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } return 0; }
#include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int a, b, c; char m, n; cin >> a >> m >> b >> n >> c; if (b < 05) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } return 0; }
[ "variable_declaration.type.change", "literal.number.change", "control_flow.branch.if.condition.change" ]
920,501
920,500
u356754940
cpp
p03109
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long ll; int main() { string s; cin >> s; string t = "2019/04/30"; if (s <= t) cout << "Heisei" << endl; else cout << "TCD" << endl; return 0; }
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long ll; int main() { string s; cin >> s; string t = "2019/04/30"; if (s <= t) cout << "Heisei" << endl; else cout << "TBD" << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
920,504
920,505
u762183504
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; char m, n; cin >> A >> m >> B >> n >> C; if (B > 4) { cout << "TBO" << endl; } else { cout << "Heisei" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; char m, n; cin >> A >> m >> B >> n >> C; if (B > 4) { cout << "TBD" << endl; } else { cout << "Heisei" << endl; } }
[ "literal.string.change", "io.output.change" ]
920,512
920,513
u966045029
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; char m, n; cin >> A >> m >> B >> n >> C; if (A >= 2019 && B > 4) { cout << "TBO" << endl; } else { cout << "Heisei" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; char m, n; cin >> A >> m >> B >> n >> C; if (B > 4) { cout << "TBD" << endl; } else { cout << "Heisei" << endl; } }
[ "expression.operation.binary.remove", "literal.string.change", "io.output.change" ]
920,514
920,513
u966045029
cpp
p03109
#include <cstdio> #include <iostream> using namespace std; int main() { string s; cin >> s; bool ok = true; if (s >= "2019/04/30") ok = false; cout << (ok ? "Heisei" : "TBD") << endl; }
#include <cstdio> #include <iostream> using namespace std; int main() { string s; cin >> s; bool ok = true; if (s > "2019/04/30") ok = false; cout << (ok ? "Heisei" : "TBD") << endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,545
920,546
u899645116
cpp
p03109
#include <cstdio> #include <iostream> using namespace std; int main() { string s; cin >> s; bool ok = true; if (s != "2019/04/30") ok = false; cout << (ok ? "Heisei" : "TBD") << endl; }
#include <cstdio> #include <iostream> using namespace std; int main() { string s; cin >> s; bool ok = true; if (s > "2019/04/30") ok = false; cout << (ok ? "Heisei" : "TBD") << endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,547
920,546
u899645116
cpp
p03109
#include <algorithm> #include <iomanip> #include <iostream> #include <math.h> #include <vector> using namespace std; int main() { string S; cin >> S; if (S.at(5) == 0 && S.at(6) <= '4') cout << "Heisei" << endl; else cout << "TBD" << endl; }
#include <algorithm> #include <iomanip> #include <iostream> #include <math.h> #include <vector> using namespace std; int main() { string S; cin >> S; if (S.at(5) == '0' && S.at(6) <= '4') cout << "Heisei" << endl; else cout << "TBD" << endl; }
[ "control_flow.branch.if.condition.change" ]
920,548
920,549
u683063840
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { string a; cin >> a; if (a.at(5) == '0') { if (a.at(6) < '5') { cout << "TBD" << endl; } else { cout << "Heisei" << endl; } } else { cout << "TBD" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { string a; cin >> a; if (a.at(5) == '0') { if (a.at(6) > '4') { cout << "TBD" << endl; } else { cout << "Heisei" << endl; } } else { cout << "TBD" << endl; } }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change" ]
920,550
920,551
u357752130
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { string s, ss = "2019/04/30"; cin >> s; if (s < ss) { cout << "Heisei" << endl; } else cout << "TBD" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { string s, ss = "2019/04/30"; cin >> s; if (s < ss || s == ss) { cout << "Heisei" << endl; } else cout << "TBD" << endl; }
[ "control_flow.branch.if.condition.change" ]
920,552
920,553
u222613738
cpp
p03109
#include <bits/stdc++.h> #define rep0(i, n) for (int i = 0; i < (n); ++i) #define rep1(i, n) for (int i = 1; i < (n); ++i) #define REP(i, a, b) for (int i = a; i < (b); ++i) #define mREP(i, a, b) for (int i = a; i > (b); --i) #define all(x) (x).begin(), (x).end() const int INF = 1000000007; typedef long long ll; using ...
#include <bits/stdc++.h> #define rep0(i, n) for (int i = 0; i < (n); ++i) #define rep1(i, n) for (int i = 1; i < (n); ++i) #define REP(i, a, b) for (int i = a; i < (b); ++i) #define mREP(i, a, b) for (int i = a; i > (b); --i) #define all(x) (x).begin(), (x).end() const int INF = 1000000007; typedef long long ll; using ...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
920,556
920,557
u820341516
cpp
p03109
#include <iostream> #include <string> using namespace std; int main() { string s; if (s <= "2019/04/30") { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } return 0; }
#include <iostream> #include <string> using namespace std; int main() { string s; cin >> s; if (s <= "2019/04/30") { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } return 0; }
[]
920,572
920,573
u033627628
cpp
p03109
#include <algorithm> //sort(all(変数),greater<型名>()) で降順に #include <cmath> //切り上げceil(値) #include <deque> #include <iomanip> //setprecision(数字) #include <iostream> #include <list> #include <map> #include <numeric> //xとyの最大公約数は__gcd(x,y),xとyの最小公倍数は(x*y)/__gcd #include <queue> //priority_queue<型名> 変数:優先度付きキュー 最大値の探索が早い...
#include <algorithm> //sort(all(変数),greater<型名>()) で降順に #include <cmath> //切り上げceil(値) #include <deque> #include <iomanip> //setprecision(数字) #include <iostream> #include <list> #include <map> #include <numeric> //xとyの最大公約数は__gcd(x,y),xとyの最小公倍数は(x*y)/__gcd #include <queue> //priority_queue<型名> 変数:優先度付きキュー 最大値の探索が早い...
[ "literal.string.change", "io.output.change" ]
920,574
920,575
u667375816
cpp
p03109
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; int main() { int year, month, date; string s, t; cin >> year >> s >> month >> t >> date; if (year > 2019) cout << "TBD"; else if (year == 2019 && month >= 5) cout << "TBD"; else cout << "Heisei"; ret...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; int main() { int year, month, date; char s, t; cin >> year >> s >> month >> t >> date; if (year > 2019) cout << "TBD"; else if (year == 2019 && month >= 5) cout << "TBD"; else cout << "Heisei"; retur...
[ "variable_declaration.type.change" ]
920,585
920,586
u355545160
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int year, month, day; char slash1, slash2; cin >> year >> slash1 >> month >> slash2 >> day; if (year < 2019) { cout << "Heisei" << endl; } else if (year == 2019 && month < 04) { cout << "Heisei" << endl; } else if (year == 2019 && month ...
#include <bits/stdc++.h> using namespace std; int main() { int year, month, day; char slash1, slash2; cin >> year >> slash1 >> month >> slash2 >> day; if (year < 2019) { cout << "Heisei" << endl; } else if (year == 2019 && month < 04) { cout << "Heisei" << endl; } else if (year == 2019 && month ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,589
920,590
u026375009
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int year, month, day; char slash1, slash2; cin >> year >> slash1 >> month >> slash2 >> day; if (year < 2019) { cout << "Heisei" << endl; } else if (year == 2019 || month < 04) { cout << "Heisei" << endl; } else if (year == 2019 || month ...
#include <bits/stdc++.h> using namespace std; int main() { int year, month, day; char slash1, slash2; cin >> year >> slash1 >> month >> slash2 >> day; if (year < 2019) { cout << "Heisei" << endl; } else if (year == 2019 && month < 04) { cout << "Heisei" << endl; } else if (year == 2019 && month ...
[ "misc.opposites", "control_flow.branch.if.condition.change", "expression.operator.compare.change" ]
920,591
920,590
u026375009
cpp
p03109
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int(i) = 0; (i) < (n); ++(i)) #define rrep(i, n) for (int(i) = (n)-1; (i) >= 0; --(i)) // Reversi rep #define nfor(i, a, b) for (int(i) = (a); (i) < (b); ++(i)) // Natural for #define rfor(i, a, b) for (int(i) = (b); (i) >= (a); --(i)) // Reversi ...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int(i) = 0; (i) < (n); ++(i)) #define rrep(i, n) for (int(i) = (n)-1; (i) >= 0; --(i)) // Reversi rep #define nfor(i, a, b) for (int(i) = (a); (i) < (b); ++(i)) // Natural for #define rfor(i, a, b) for (int(i) = (b); (i) >= (a); --(i)) // Reversi ...
[ "control_flow.branch.if.condition.change" ]
920,597
920,598
u801513186
cpp
p03109
#include <algorithm> #include <iostream> #include <vector> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; typedef long long ll; int main() { string s; cin >> s; const int mod = 12; // cout << s[6] - '0' << endl; if (s[5] == '0') { if (s[6] - '0' > 4) puts("TBD"); else ...
#include <algorithm> #include <iostream> #include <vector> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; typedef long long ll; int main() { string s; cin >> s; const int mod = 12; // cout << s[6] - '0' << endl; if (s[5] == '0') { if (s[6] - '0' > 4) puts("TBD"); else ...
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
920,601
920,602
u860463295
cpp
p03109
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long int ll; const ll MOD = 1000000007; int main() { int y, m, d; scanf("%d\%d\%d", &y, &m, &d); if (m > 4) { cout << "TBD" << endl; } else { cout << "Heisei" << endl; } return 0; }
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long int ll; const ll MOD = 1000000007; int main() { int y, m, d; scanf("%d/%d/%d", &y, &m, &d); if (m > 4) { cout << "TBD" << endl; } else { cout << "Heisei" << endl; } return 0; }
[ "literal.string.change", "call.arguments.change" ]
920,605
920,606
u075575942
cpp
p03109
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long int ll; const ll MOD = 1000000007; int main() { int y, m, d; scanf("%d\%d\%d", &y, &m, &d); if (m > 5) { cout << "TBD" << endl; } else { cout << "Heisei" << endl; } return 0; }
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long int ll; const ll MOD = 1000000007; int main() { int y, m, d; scanf("%d/%d/%d", &y, &m, &d); if (m > 4) { cout << "TBD" << endl; } else { cout << "Heisei" << endl; } return 0; }
[ "literal.string.change", "call.arguments.change", "literal.number.change", "control_flow.branch.if.condition.change" ]
920,607
920,606
u075575942
cpp
p03109
// author:luckYrat(twitter:@luckYrat_) //#include <bits/stdc++.h> // def #include <iostream> #include <algorithm> #include <cmath> #include <iomanip> // array #include <climits> #include <map> #include <queue> #include <set> #include <stack> #include <utility> #include <vector> using namespace std; using ll = long...
// author:luckYrat(twitter:@luckYrat_) //#include <bits/stdc++.h> // def #include <iostream> #include <algorithm> #include <cmath> #include <iomanip> // array #include <climits> #include <map> #include <queue> #include <set> #include <stack> #include <utility> #include <vector> using namespace std; using ll = long...
[ "variable_declaration.type.primitive.change" ]
920,612
920,613
u466161487
cpp
p03109
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <set> #include <vector> using namespace std; typedef pair<int, int> Paint; #define rep(i, q) for (int i = 0; (q) > i; i++) int main() { int h, m, s; char t, p; cin >> h >> t >> m >> p >> s; if (m > 4) cout << "TBD" << endl; ...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <set> #include <vector> using namespace std; typedef pair<int, int> Paint; #define rep(i, q) for (int i = 0; (q) > i; i++) int main() { int h, m, s; char t, p; cin >> h >> t >> m >> p >> s; if (m > 4) cout << "TBD" << endl; ...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
920,614
920,615
u466161487
cpp
p03109
#include <iostream> using namespace std; int main() { int a, b, c; char d, e; cin >> a >> d >> b >> e >> c; cout << ((b <= 4) ? "Yes" : "No") << endl; }
#include <iostream> using namespace std; int main() { int a, b, c; char d, e; cin >> a >> d >> b >> e >> c; cout << ((b <= 4) ? "Heisei" : "TBD") << endl; }
[ "literal.string.change", "io.output.change" ]
920,616
920,617
u881116515
cpp
p03109
#include <bits/stdc++.h> using namespace std; using ll = long long; constexpr ll MOD = 1e9 + 7; // constexpr ll MOD = 998244353; // constexpr ll MOD = ; ll mod(ll A, ll M) { return (A % M + M) % M; } constexpr ll INF = 1LL << 60; template <class T> bool chmin(T &a, T b) { if (a > b) { a = b; return true; } ...
#include <bits/stdc++.h> using namespace std; using ll = long long; constexpr ll MOD = 1e9 + 7; // constexpr ll MOD = 998244353; // constexpr ll MOD = ; ll mod(ll A, ll M) { return (A % M + M) % M; } constexpr ll INF = 1LL << 60; template <class T> bool chmin(T &a, T b) { if (a > b) { a = b; return true; } ...
[ "literal.string.change", "control_flow.loop.for.condition.change", "io.output.change" ]
920,620
920,621
u811472478
cpp
p03109
#include <cstdlib> #include <iostream> using namespace std; int main() { string s, k; int y, m, d; cin >> y >> s >> m >> k >> d; cout << (m <= 4 ? "Heisei" : "TBD"); }
#include <iostream> using namespace std; int main() { char s, k; int y, m, d; cin >> y >> s >> m >> k >> d; cout << (m <= 4 ? "Heisei" : "TBD"); }
[ "variable_declaration.type.change" ]
920,627
920,628
u639300218
cpp
p03109
//#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; const int INF = 1e9 + 5; typedef long long ll; int main() { string s; int k = s[9] - '0' + (s[8] - '0') * 10 + (s[6] - '0') * 100 + (s[5] - '0') * 1000 + (s[3] - '0') * 10000 + (s[2] - '0') * 100000 + (s[1] - '0') * 1000000...
//#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; const int INF = 1e9 + 5; typedef long long ll; int main() { string s; cin >> s; int k = s[9] - '0' + (s[8] - '0') * 10 + (s[6] - '0') * 100 + (s[5] - '0') * 1000 + (s[3] - '0') * 10000 + (s[2] - '0') * 100000 + (s[1] - '0...
[]
920,641
920,642
u614128939
cpp
p03109
#include <iostream> #include <string> using namespace std; int main() { string s; cin >> s; if (s < "2019/04/30") cout << "Heisei" << endl; else cout << "TBD" << endl; }
#include <iostream> #include <string> using namespace std; int main() { string s; cin >> s; if (s <= "2019/04/30") cout << "Heisei" << endl; else cout << "TBD" << endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,655
920,656
u801916231
cpp
p03109
/*its_Rashid*/ #include <bits/stdc++.h> using namespace std; typedef double du; typedef string st; typedef long long ll; typedef long double ld; typedef long long int lli; #define vi vector<lli> #define fastio \ ios_base::sync_with_stdio(false); ...
/*its_Rashid*/ #include <bits/stdc++.h> using namespace std; typedef double du; typedef string st; typedef long long ll; typedef long double ld; typedef long long int lli; #define vi vector<lli> #define fastio \ ios_base::sync_with_stdio(false); ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,659
920,660
u911135089
cpp
p03109
#include <bits/stdc++.h> #define rep(i, n) for (int64_t i = 0; i < (int64_t)(n); i++) #define invrep(i, n) for (int64_t i = n - 1; i >= 0L; i--) #define prep(i, n) for (int64_t i = 1; i <= (int64_t)(n); i++) using namespace std; //////全探索したいときに開けよ//////// vector<vector<int>> fspattern; vector<int> fspattern_draft; int...
#include <bits/stdc++.h> #define rep(i, n) for (int64_t i = 0; i < (int64_t)(n); i++) #define invrep(i, n) for (int64_t i = n - 1; i >= 0L; i--) #define prep(i, n) for (int64_t i = 1; i <= (int64_t)(n); i++) using namespace std; //////全探索したいときに開けよ//////// vector<vector<int>> fspattern; vector<int> fspattern_draft; int...
[ "control_flow.break.add" ]
920,667
920,668
u185050799
cpp
p03109
#include <algorithm> #include <cmath> #include <iostream> #include <string> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) typedef long long ll; int main() { string s; cin >> s; int n = s.at(6) - '0'; int m = s.at(5) - '0'; if (m > 0) { cout << "TBD" << endl; } els...
#include <algorithm> #include <cmath> #include <iostream> #include <string> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) typedef long long ll; int main() { string s; cin >> s; int n = s.at(6) - '0'; int m = s.at(5) - '0'; if (m > 0) { cout << "TBD" << endl; } els...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
920,671
920,672
u296160120
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s; cout << (s == "2019/04/30" ? "Heisei" : "TBD") << "\n"; }
#include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s; cout << (s <= "2019/04/30" ? "Heisei" : "TBD") << "\n"; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "io.output.change" ]
920,673
920,674
u168698471
cpp
p03109
#include <bits/stdc++.h> #include <cmath> #include <cstdio> #include <iostream> typedef long long int ll; using namespace std; int main() { ll a, c, e; char b, d; cin >> a >> b >> c >> d >> e; if (c <= 4) { cout << "Heisei" << endl; } else { cout << "TBT" << endl; } }
#include <bits/stdc++.h> #include <cmath> #include <cstdio> #include <iostream> typedef long long int ll; using namespace std; int main() { ll a, c, e; char b, d; cin >> a >> b >> c >> d >> e; if (c <= 4) { cout << "Heisei" << endl; } else { cout << "TBD" << endl; } }
[ "literal.string.change", "io.output.change" ]
920,684
920,685
u473023730
cpp
p03109
#include <algorithm> #include <bitset> #include <cstdio> #include <cstring> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <set> #include <stdlib.h> #include <string> #include <utility> #include <vector> using namespace std; typedef long long int ll; #define MOD 998244353 ll gcd(ll a...
#include <algorithm> #include <bitset> #include <cstdio> #include <cstring> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <set> #include <stdlib.h> #include <string> #include <utility> #include <vector> using namespace std; typedef long long int ll; #define MOD 998244353 ll gcd(ll a...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,686
920,687
u474551232
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if ((S.at(5) == '0') && (S.at(6) <= '4')) { cout << "heisei" << endl; return 0; } cout << "TBD" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if ((S.at(5) == '0') && (S.at(6) <= '4')) { cout << "Heisei" << endl; return 0; } cout << "TBD" << endl; return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
920,690
920,691
u469315559
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if ((S.at(5) == 0) && (S.at(6) <= '4')) { cout << "heisei" << endl; return 0; } cout << "TBD" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if ((S.at(5) == '0') && (S.at(6) <= '4')) { cout << "Heisei" << endl; return 0; } cout << "TBD" << endl; return 0; }
[ "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
920,692
920,691
u469315559
cpp
p03109
// C //#ifndef _GLIBCXX_NO_ASSERT #include <cassert> #include <cctype> #include <cerrno> #include <cfloat> #include <ciso646> #include <climits> #include <clocale> #include <cmath> #include <csetjmp> #include <csignal> #include <cstdarg> #include <cstddef> #include <cstdio> #include <cstdlib> #include <cstring> #includ...
// C //#ifndef _GLIBCXX_NO_ASSERT #include <cassert> #include <cctype> #include <cerrno> #include <cfloat> #include <ciso646> #include <climits> #include <clocale> #include <cmath> #include <csetjmp> #include <csignal> #include <cstdarg> #include <cstddef> #include <cstdio> #include <cstdlib> #include <cstring> #includ...
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
920,695
920,696
u685346012
cpp
p03109
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define all(v) v.begin(), v.end() using llint = long long; using vint = vector<int>; using vvint = vector<vector<int>>; const llint INF = 1e9; const llint llINF = 1e18; int main() { int y, m, d;...
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define all(v) v.begin(), v.end() using llint = long long; using vint = vector<int>; using vvint = vector<vector<int>>; const llint INF = 1e9; const llint llINF = 1e18; int main() { int y, m, d;...
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "io.output.change" ]
920,747
920,748
u932319885
cpp
p03109
#include <algorithm> #include <float.h> #include <iostream> #include <limits> #include <math.h> #include <numeric> #include <string.h> #include <vector> #define rep(i, a, n) for (ll int(i) = (a); (i) < (n); (i)++) #define urep(i, a, n) for (ll int(i) = (a); (i) > (n); (i)--) #define MOD 1000000007 #define ll long long...
#include <algorithm> #include <float.h> #include <iostream> #include <limits> #include <math.h> #include <numeric> #include <string.h> #include <vector> #define rep(i, a, n) for (ll int(i) = (a); (i) < (n); (i)++) #define urep(i, a, n) for (ll int(i) = (a); (i) > (n); (i)--) #define MOD 1000000007 #define ll long long...
[ "control_flow.branch.if.condition.change" ]
920,767
920,768
u319945100
cpp
p03109
#include <iostream> #include <string> #include <vector> using namespace std; vector<string> split(string str, char del) { int first = 0; int last = str.find_first_of(del); vector<std::string> result; while (first < str.size()) { string subStr(str, first, last - first); result.push_back(subStr); ...
#include <iostream> #include <string> #include <vector> using namespace std; vector<string> split(string str, char del) { int first = 0; int last = str.find_first_of(del); vector<std::string> result; while (first < str.size()) { string subStr(str, first, last - first); result.push_back(subStr); ...
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
920,776
920,777
u694725414
cpp
p03109
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define all(x) (x).begin(), (x).end() typedef long long ll; const int MOD = (int)1e9 + 7; int main() { string s; cin >> s; string str = s.substr(5, 2); const char *buf = str.c_str(); int m = atoi(buf); cout <...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define all(x) (x).begin(), (x).end() typedef long long ll; const int MOD = (int)1e9 + 7; int main() { string s; cin >> s; string str = s.substr(5, 2); const char *buf = str.c_str(); int m = atoi(buf); cout <...
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "io.output.change" ]
920,799
920,800
u494379309
cpp
p03109
#include <iostream> #include <math.h> #include <string> #include <vector> using namespace std; int main() { int a, b, c; char s, t; // vector<long long int> v(n); cin >> a >> s >> b >> t >> c; // cout<< a <<s<<b<<t <<c<<endl; if (a < 2019) cout << "Heisei" << endl; else { if (b < 5) cout << ...
#include <iostream> #include <math.h> #include <string> #include <vector> using namespace std; int main() { int a, b, c; char s, t; // vector<long long int> v(n); cin >> a >> s >> b >> t >> c; // cout<< a <<s<<b<<t <<c<<endl; if (a < 2019) cout << "Heisei" << endl; else { if (b > 4) cout << ...
[]
920,807
920,808
u476534289
cpp
p03109
#include <algorithm> #include <cctype> #include <climits> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <map> #include <set> #include <sstream> #include <string> #include <utility> #include <vector> #de...
#include <algorithm> #include <cctype> #include <climits> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <map> #include <set> #include <sstream> #include <string> #include <utility> #include <vector> #de...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,809
920,810
u370867568
cpp
p03109
#include <algorithm> #include <cstdlib> #include <iomanip> //小数点以下を表示させる(setprecision()) #include <iostream> //入出力 #include <list> #include <map> #include <math.h> #include <queue> #include <stack> #include <stdio.h> #include <string> #include <vector> //#include <bits/stdc++.h> using namespace std; typedef long long ...
#include <algorithm> #include <cstdlib> #include <iomanip> //小数点以下を表示させる(setprecision()) #include <iostream> //入出力 #include <list> #include <map> #include <math.h> #include <queue> #include <stack> #include <stdio.h> #include <string> #include <vector> //#include <bits/stdc++.h> using namespace std; typedef long long ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
920,813
920,814
u966508131
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; string s1, s2; cin >> a >> s1 >> b >> s2 >> c; cout << (b <= 4 ? "Heisei" : "TBD") << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; char s1, s2; cin >> a >> s1 >> b >> s2 >> c; cout << (b <= 4 ? "Heisei" : "TBD") << endl; }
[ "variable_declaration.type.change" ]
920,822
920,823
u998082063
cpp
p03109
#include <iostream> using namespace std; int main() { int A, B, C; char F; scanf("%d %c %d %c %d", &A, F, &B, F, &C); if (A > 2019) { cout << "TBD"; } else if (A <= 2018) { cout << "Heisei"; } else if (B < 5) { cout << "Heisei"; } else { cout << "TBD"; } }
#include <iostream> using namespace std; int main() { int A, B, C; char F; scanf("%d %c %d %c %d", &A, &F, &B, &F, &C); if (A > 2019) { cout << "TBD"; } else if (A <= 2018) { cout << "Heisei"; } else if (B < 5) { cout << "Heisei"; } else { cout << "TBD"; } }
[ "expression.operation.unary.reference.add" ]
920,828
920,829
u003516884
cpp
p03109
#include <algorithm> #include <cstdlib> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <stack> #include <stdlib.h> #include <string> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) #include <bits/stdc++.h> using namespace std; ...
#include <algorithm> #include <cstdlib> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <stack> #include <stdlib.h> #include <string> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) #include <bits/stdc++.h> using namespace std; ...
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
920,830
920,831
u851205244
cpp
p03109
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < n; i++) #define REPS(i, x) for (int i = 1; i <= (int)(x); 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 FORS(i, m, n) for (int i = m; i <= n; i++) #define BIT(n) (1LL << (n)) #define INF 2e9 #d...
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < n; i++) #define REPS(i, x) for (int i = 1; i <= (int)(x); 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 FORS(i, m, n) for (int i = m; i <= n; i++) #define BIT(n) (1LL << (n)) #define INF 2e9 #d...
[ "literal.string.change", "io.output.change" ]
920,836
920,837
u468262978
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { string S; if (S <= "2019/04/30") cout << "Heisei" << endl; else cout << "TBD" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if (S <= "2019/04/30") cout << "Heisei" << endl; else cout << "TBD" << endl; }
[]
920,850
920,851
u701589684
cpp
p03109
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; char c1, c2; cin >> a >> c1 >> b >> c2 >> c; if (c > 5) { cout << "TBD" << endl; } else if (c <= 4) { cout << "Heisei" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; char c1, c2; cin >> a >> c1 >> b >> c2 >> c; if (b >= 5) { cout << "TBD" << endl; } else if (b <= 4) { cout << "Heisei" << endl; } }
[ "identifier.change", "control_flow.branch.if.condition.change" ]
920,860
920,859
u910900288
cpp