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
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; vector<char> data = {'a', 'i', 'u', 'e', 'o'}; bool p = true; for (int i = 0; i < 5; i++) { if (c == data.at(i)) { cout << "vouel" << endl; p = false; break; } } if (p) { cout << "consonant" << end...
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; vector<char> data = {'a', 'i', 'u', 'e', 'o'}; bool p = true; for (int i = 0; i < 5; i++) { if (c == data.at(i)) { cout << "vowel" << endl; p = false; break; } } if (p) { cout << "consonant" << end...
[ "literal.string.change", "io.output.change" ]
1,464,301
1,464,302
u176059665
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; vector<char> data = {'a', 'i', 'u', 'e', 'o'}; bool p = true; for (int i = 0; i < 5; i++) { if (c == data.at(i)) { cout << "vouel" << endl; p = false; break; } } if (p) { cout << "consonant" << end...
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; vector<char> data = {'a', 'i', 'u', 'e', 'o'}; bool p = true; for (int i = 0; i < 5; i++) { if (c == data.at(i)) { cout << "vowel" << endl; p = false; break; } } if (p) { cout << "consonant" << end...
[ "literal.string.change", "io.output.change" ]
1,464,303
1,464,302
u176059665
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main(void) { char c; vector<char> v{'a', 'e', 'i', 'o', 'u'}; cin >> c; if (count(v.begin(), v.end(), c)) cout << "consonant"; else cout << "vowel"; }
#include <bits/stdc++.h> using namespace std; int main(void) { char c; vector<char> v{'a', 'e', 'i', 'o', 'u'}; cin >> c; if (count(v.begin(), v.end(), c)) cout << "vowel"; else cout << "consonant"; }
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
1,464,304
1,464,305
u582940224
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e') { cout << "vowel" << endl; } else if (c == 'i' && c == 'o') { cout << "vowel" << endl; } else if (c == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e') { cout << "vowel" << endl; } else if (c == 'i' || c == 'o') { cout << "vowel" << endl; } else if (c == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "misc.opposites", "control_flow.branch.if.condition.change" ]
1,464,306
1,464,307
u237390401
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { //定義一覧 char C; if (C == 'a' or C == 'e' or C == 'i' or C == 'o' or C == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { //定義一覧 char C; cin >> C; if (C == 'a' or C == 'e' or C == 'i' or C == 'o' or C == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[]
1,464,308
1,464,309
u817585121
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { string c; cin >> c; if (c == "a" || c == "i" || c == "u" || c == "e" || c == "o") { cout << "vowel" << endl; } else { cout << "constant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { string c; cin >> c; if (c == "a" || c == "i" || c == "u" || c == "e" || c == "o") { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,310
1,464,311
u306225652
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') { cout << 'vowel' << endl; } else { cout << 'consonant' << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } return 0; }
[ "io.output.change", "literal.string.change" ]
1,464,312
1,464,313
u499337757
cpp
p03852
#include <bits/stdc++.h> using namespace std; using ll = long long; int main(void) { char c; cin >> c; string s = "aiueo"; bool ok = false; for (int i = 0; i < 5; i++) if (c == s[i]) ok = true; if (ok) cout << "vowel" << endl; else cout << "constant" << endl; }
#include <bits/stdc++.h> using namespace std; using ll = long long; int main(void) { char c; cin >> c; string s = "aiueo"; bool ok = false; for (int i = 0; i < 5; i++) if (c == s[i]) ok = true; if (ok) cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "literal.string.change", "io.output.change" ]
1,464,316
1,464,317
u180257813
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { string c; cin >> c; if (c == "a" || c == "i" || c == "u" || c == "e" || c == "o") { cout << "vowel" << endl; } else { cout << "consonent" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { string c; cin >> c; if (c == "a" || c == "i" || c == "u" || c == "e" || c == "o") { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,320
1,464,321
u279848598
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || 'e') { cout << "vowel" << endl; } else if (c == 'i' || 'o') { cout << "vowel" << endl; } else if (c == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e') { cout << "vowel" << endl; } else if (c == 'i' || c == 'o') { cout << "vowel" << endl; } else if (c == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "control_flow.branch.if.condition.change" ]
1,464,326
1,464,327
u839610178
cpp
p03852
#include <iostream> using namespace std; int main() { string s; cin >> s; if (s[0] == 'a' || s[0] == 'i' || s[0] == 'u' || s[0] == 'e' || s[0] == '0') { cout << "vowel"; return 0; } cout << "consonant"; return 0; }
#include <iostream> using namespace std; int main() { string s; cin >> s; if (s[0] == 'a' || s[0] == 'i' || s[0] == 'u' || s[0] == 'e' || s[0] == 'o') { cout << "vowel"; return 0; } cout << "consonant"; return 0; }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
1,464,328
1,464,329
u884776614
cpp
p03852
#include <iostream> using namespace std; int main() { string s; cin >> s; if (s[0] == 'a' || s[0] == 'i' || s[0] == 'u' || s[0] == 'e' || s[0] == '0') { cout << "vowel"; } cout << "consonant"; return 0; }
#include <iostream> using namespace std; int main() { string s; cin >> s; if (s[0] == 'a' || s[0] == 'i' || s[0] == 'u' || s[0] == 'e' || s[0] == 'o') { cout << "vowel"; return 0; } cout << "consonant"; return 0; }
[ "literal.string.change", "control_flow.branch.if.condition.change", "control_flow.return.add", "control_flow.return.0.add" ]
1,464,330
1,464,329
u884776614
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c = 'a') { cout << "vowel" << endl; } else if (c = 'i') { cout << "vowel" << endl; } else if (c = 'u') { cout << "vowel" << endl; } else if (c = 'e') { cout << "vowel" << endl; } else if (c = 'o') { cout ...
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a') { cout << "vowel" << endl; } else if (c == 'i') { cout << "vowel" << endl; } else if (c == 'u') { cout << "vowel" << endl; } else if (c == 'e') { cout << "vowel" << endl; } else if (c == 'o') { ...
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
1,464,335
1,464,336
u079532978
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c = 'a') { cout << "vowel" << endl; } else if (c = 'i') { cout << "vowel" << endl; } else if (c = 'u') { cout << "vowel" << endl; } else if (c = 'e') { cout << "vowel" << endl; } else if (c = 'o') { cout ...
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a') { cout << "vowel" << endl; } else if (c == 'i') { cout << "vowel" << endl; } else if (c == 'u') { cout << "vowel" << endl; } else if (c == 'e') { cout << "vowel" << endl; } else if (c == 'o') { ...
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo", "literal.string.change", "io.output.change" ]
1,464,337
1,464,336
u079532978
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') cout << "voewl"; else cout << "consonant"; cout << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') cout << "vowel"; else cout << "consonant"; cout << endl; }
[ "literal.string.change", "io.output.change" ]
1,464,338
1,464,339
u211109468
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') cout << "voewl" << endl; else cout << "consonant" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "literal.string.change", "io.output.change" ]
1,464,340
1,464,341
u211109468
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') cout << "vowel" << endl; else cout << "consonatnt" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "literal.string.change", "io.output.change" ]
1,464,348
1,464,349
u032984294
cpp
p03852
#include <iomanip> #include <iostream> typedef long long ll; using namespace std; const ll INF = 1e9; const ll MOD = 1e9 + 7; #define repi(i, n, init) for (ll i = init; i < (n); i++) int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { puts("vowel"); } else { p...
#include <iomanip> #include <iostream> typedef long long ll; using namespace std; const ll INF = 1e9; const ll MOD = 1e9 + 7; #define repi(i, n, init) for (ll i = init; i < (n); i++) int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { puts("vowel"); } else { p...
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,464,350
1,464,351
u187013893
cpp
p03850
// Crt. 2020-01-07 16:43:40 #include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #define N 200005 using namespace std; typedef long long ll; int n, a[N]; ll sum[N], asum[N]; inline int Abs(int x) { return x < 0 ? -x : x; } int main() { #ifdef LOCAL_JUDGE freopen("work.in", "r", stdin); ...
// Crt. 2020-01-07 16:43:40 #include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #define N 200005 using namespace std; typedef long long ll; int n, a[N]; ll sum[N], asum[N]; inline int Abs(int x) { return x < 0 ? -x : x; } int main() { #ifdef LOCAL_JUDGE freopen("work.in", "r", stdin); ...
[ "identifier.change", "variable_access.subscript.index.change" ]
1,464,357
1,464,358
u071613271
cpp
p03850
#include <bits/stdc++.h> using namespace std; const int N = 100005; #define ll long long ll f[N][3], x; char s; int main() { int n; cin >> n; cin >> f[0][0]; f[0][1] = f[0][2] = -1ll << 60; for (int i = 1; i < n; i++) { cin >> s >> x; if (s == '+') { f[i][0] = max(max(f[i - 1][0], f[i - 1][1]), ...
#include <bits/stdc++.h> using namespace std; const int N = 100005; #define ll long long ll f[N][3], x; char s; int main() { int n; cin >> n; cin >> f[0][0]; f[0][1] = f[0][2] = -1ll << 60; for (int i = 1; i < n; i++) { cin >> s >> x; if (s == '+') { f[i][0] = max(max(f[i - 1][0], f[i - 1][1]), ...
[ "misc.opposites", "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
1,464,372
1,464,373
u389411299
cpp
p03850
#include <bits/stdc++.h> using namespace std; using int64 = long long; int main() { int N, A[100000]; char op[100000]; cin >> N; cin >> A[0]; for (int i = 1; i < N; i++) { cin >> op[i] >> A[i]; } int64 all = A[0]; for (int i = 1; i < N; i++) { if (op[i] == '+') all += A[i]; else ...
#include <bits/stdc++.h> using namespace std; using int64 = long long; int main() { int N, A[100000]; char op[100000]; cin >> N; cin >> A[0]; for (int i = 1; i < N; i++) { cin >> op[i] >> A[i]; } int64 all = A[0]; for (int i = 1; i < N; i++) { if (op[i] == '+') all += A[i]; else ...
[ "assignment.value.change", "identifier.change", "call.arguments.change", "expression.operation.binary.change" ]
1,464,378
1,464,379
u524343822
cpp
p03850
#include <algorithm> #include <cstdio> #include <cstring> using namespace std; typedef long long ll; const int N = 1e5 + 5; const ll inf = 1e15; int n; ll a[N], dp[N][3]; char s[N][2]; int main() { scanf("%d", &n); for (int i = 1; i < n; ++i) { scanf("%lld%s", &a[i], s[i]); } scanf("%lld", &a[n]); dp[1][0...
#include <algorithm> #include <cstdio> #include <cstring> using namespace std; typedef long long ll; const int N = 1e5 + 5; const ll inf = 1e15; int n; ll a[N], dp[N][3]; char s[N][2]; int main() { scanf("%d", &n); for (int i = 1; i < n; ++i) { scanf("%lld%s", &a[i], s[i]); } scanf("%lld", &a[n]); dp[1][0...
[ "misc.opposites", "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
1,464,407
1,464,408
u321555339
cpp
p03850
#include <algorithm> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <functional> #include <utility> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<int, int> pii; typedef pair<ll, ll> pll; void sort(int &a, int &b) { if (a > b...
#include <algorithm> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <functional> #include <utility> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<int, int> pii; typedef pair<ll, ll> pll; void sort(int &a, int &b) { if (a > b...
[ "variable_declaration.type.change", "misc.opposites", "expression.operator.arithmetic.change", "call.arguments.change", "expression.operation.binary.change", "literal.string.change", "io.output.change" ]
1,464,421
1,464,420
u544376658
cpp
p03850
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 1e5 + 10; int n, a[N], sig[N]; ll dp[N][10]; int main() { scanf("%d%d", &n, &a[1]); for (int i = 2; i <= n; i++) { char ch; do ch = getchar(); while (ch != '-' && ch != '+'); if (ch == '-') sig[i] = 1; ...
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 1e5 + 10; int n, a[N], sig[N]; ll dp[N][10]; int main() { scanf("%d%d", &n, &a[1]); for (int i = 2; i <= n; i++) { char ch; do ch = getchar(); while (ch != '-' && ch != '+'); if (ch == '-') sig[i] = 1; ...
[ "identifier.replace.remove", "literal.replace.add", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
1,464,426
1,464,427
u719378199
cpp
p03850
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define fi first #define se second #define mp make_pair #define pb push_back #define fbo find_by_order #define ook order_of_key typedef long long ll; typedef pair<in...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define fi first #define se second #define mp make_pair #define pb push_back #define fbo find_by_order #define ook order_of_key typedef long long ll; typedef pair<in...
[ "assignment.change" ]
1,464,437
1,464,438
u955723966
cpp
p03850
// think twice code once // Start: // End : #include <bits/stdc++.h> using namespace std; #define rep(i, x, y) for (int i = (x), _ = (y); i <= _; ++i) #define per(i, x, y) for (int i = (x), _ = (y); i >= _; --i) #define dprintf(...) fprintf(stderr, __VA_ARGS__) #define disp(x) cout << #x << " = " << x << "; " typede...
// think twice code once // Start: // End : #include <bits/stdc++.h> using namespace std; #define rep(i, x, y) for (int i = (x), _ = (y); i <= _; ++i) #define per(i, x, y) for (int i = (x), _ = (y); i >= _; --i) #define dprintf(...) fprintf(stderr, __VA_ARGS__) #define disp(x) cout << #x << " = " << x << "; " typede...
[ "variable_declaration.type.change" ]
1,464,465
1,464,466
u224477171
cpp
p03851
#include <algorithm> #include <bits/stdc++.h> #include <deque> #include <iostream> using namespace std; #define ll long long const int maxn = 3e5 + 5; int n, m; ll t[maxn], p[maxn], f[maxn], g[maxn], F[maxn], G[maxn], h[maxn]; pair<int, ll> drink[maxn]; struct node { ll x, y; }; double k(const node &a, const node &b...
#include <algorithm> #include <bits/stdc++.h> #include <deque> #include <iostream> using namespace std; #define ll long long const int maxn = 3e5 + 5; int n, m; ll t[maxn], p[maxn], f[maxn], g[maxn], F[maxn], G[maxn], h[maxn]; pair<int, ll> drink[maxn]; struct node { ll x, y; }; double k(const node &a, const node &b...
[ "call.function.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change" ]
1,464,481
1,464,482
u806967538
cpp
p03851
#include <bits/stdc++.h> #define reg register typedef long long ll; using namespace std; const int MN = 3e5 + 5; int n, m, a[MN]; ll s[MN], f[MN], g[MN]; inline ll Y1(int i) { return f[i] + s[i] + 1ll * i * (i + 1) / 2; } inline ll Y2(int i) { return g[i] + s[i] + 1ll * i * (i + 1) / 2; } inline ll Y3(int i) { return f...
#include <bits/stdc++.h> #define reg register typedef long long ll; using namespace std; const int MN = 3e5 + 5; int n, m, a[MN]; ll s[MN], f[MN], g[MN]; inline ll Y1(int i) { return f[i] + s[i] + 1ll * i * (i + 1) / 2; } inline ll Y2(int i) { return g[i] + s[i] + 1ll * i * (i + 1) / 2; } inline ll Y3(int i) { return f...
[ "control_flow.loop.for.condition.change", "expression.operation.binary.remove", "misc.off_by_one" ]
1,464,483
1,464,484
u969675036
cpp
p03851
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef double ld; const int N = 300100; ll x[N], y[N], f[N], g[N], h[N], p[N], q[N], tmp[N]; int a[N], n, m, Q[N]; ld K(int i, int j) { return (ld)(y[i] - y[j]) / (x[i] - x[j]); } void calc(int *a, ll *f) { ll sum = f[0] = 0; int t = 0, w = 0; ...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef double ld; const int N = 300100; ll x[N], y[N], f[N], g[N], h[N], p[N], q[N], tmp[N]; int a[N], n, m, Q[N]; ld K(int i, int j) { return (ld)(y[i] - y[j]) / (x[i] - x[j]); } void calc(int *a, ll *f) { ll sum = f[0] = 0; int t = 0, w = 0; ...
[ "misc.opposites", "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
1,464,485
1,464,486
u922461964
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; if (s == 'a' || s == 'i') { cout << "Vowel" << endl; } else if (s == 'u' || s == 'e') { cout << "Vowel" << endl; } else if (s == 'o') { cout << "Vowel" << endl; } else { cout << "consonant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; if (s == 'a' || s == 'i') { cout << "vowel" << endl; } else if (s == 'u' || s == 'e') { cout << "vowel" << endl; } else if (s == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,464,489
1,464,490
u028554976
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if ((c == 'a') || (c == 'i') || (c == 'u') || (c == 'e') || (c == 'o')) { cout << "vowel" << endl; } else { cout << "consonent" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if ((c == 'a') || (c == 'i') || (c == 'u') || (c == 'e') || (c == 'o')) { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,494
1,464,495
u988606100
cpp
p03852
#include <bits/stdc++.h> #define ALL(obj) begin(obj), end(obj) #define debug(x) cerr << #x << ": " << x << '\n' using namespace std; template <class T> vector<T> make_vec(size_t a) { return vector<T>(a); } template <class T, class... Ts> auto make_vec(size_t a, Ts... ts) { return vector<decltype(make_vec<T>(ts...))>(...
#include <bits/stdc++.h> #define ALL(obj) begin(obj), end(obj) #define debug(x) cerr << #x << ": " << x << '\n' using namespace std; template <class T> vector<T> make_vec(size_t a) { return vector<T>(a); } template <class T, class... Ts> auto make_vec(size_t a, Ts... ts) { return vector<decltype(make_vec<T>(ts...))>(...
[ "literal.string.change", "io.output.change" ]
1,464,503
1,464,504
u571173211
cpp
p03852
#include <iostream> #include <string> using namespace std; int main() { string c; cin >> c; if ((c == "a") || (c == "i") || (c == "y") || (c == "u") || (c == "o")) cout << "vowel"; else cout << "consonant"; return 0; }
#include <iostream> #include <string> using namespace std; int main() { string c; cin >> c; if ((c == "a") || (c == "i") || (c == "e") || (c == "u") || (c == "o")) cout << "vowel"; else cout << "consonant"; return 0; }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
1,464,505
1,464,506
u235031662
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { string c; cin >> c; cout << (c.at(0) == 'a' || c.at(0) == 'i' || c.at(0) == 'u' || c.at(0) == 'e' || c.at(0) == 'o' ? "vowel" : "consontant") << endl; }
#include <bits/stdc++.h> using namespace std; int main() { string c; cin >> c; cout << (c.at(0) == 'a' || c.at(0) == 'i' || c.at(0) == 'u' || c.at(0) == 'e' || c.at(0) == 'o' ? "vowel" : "consonant") << endl; }
[ "literal.string.change", "io.output.change" ]
1,464,507
1,464,508
u115299452
cpp
p03852
#include <iostream> using namespace std; int main() { char ch; cin >> ch; if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u') { cout << "vowel"; } else { cout << "consonent"; } return 0; }
#include <iostream> using namespace std; int main() { char ch; cin >> ch; if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u') { cout << "vowel"; } else { cout << "consonant"; } return 0; }
[ "literal.string.change", "io.output.change" ]
1,464,512
1,464,513
u668395681
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c = 'a'; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel" << endl; } else { cout << "constant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char c = 'a'; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,514
1,464,515
u163826052
cpp
p03852
#include <bits/stdc++.h> using namespace std; #define F first #define S second #define modulo ll(1e9 + 7) typedef long long ll; typedef pair<int, int> pii; void init() { cin.tie(0); cin.sync_with_stdio(0); } const int N = 55, M = 3e3, OO = 0x3f3f3f3f; const ll llOO = 0x3f3f3f3f3f3f3f3f; int main() { init();...
#include <bits/stdc++.h> using namespace std; #define F first #define S second #define modulo ll(1e9 + 7) typedef long long ll; typedef pair<int, int> pii; void init() { cin.tie(0); cin.sync_with_stdio(0); } const int N = 55, M = 3e3, OO = 0x3f3f3f3f; const ll llOO = 0x3f3f3f3f3f3f3f3f; int main() { init();...
[ "literal.string.change", "io.output.change" ]
1,464,516
1,464,517
u963606569
cpp
p03852
#include <algorithm> #include <iomanip> #include <iostream> #include <vector> #define PI 3.141592653589793238 #define INF 1050000000 using namespace std; // cout << fixed << setprecision(15) << << endl; // cout << << endl; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c...
#include <algorithm> #include <iomanip> #include <iostream> #include <vector> #define PI 3.141592653589793238 #define INF 1050000000 using namespace std; // cout << fixed << setprecision(15) << << endl; // cout << << endl; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c...
[ "literal.string.change", "io.output.change" ]
1,464,526
1,464,527
u220428866
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "consonant" << endl; } else { cout << "vowel" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,528
1,464,529
u893072159
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (a == 'a' || a == 'e' || a == 'i' || a == 'o' || a == 'u') cout << "vovel" << endl; else cout << "consonant" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (a == 'a' || a == 'e' || a == 'i' || a == 'o' || a == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
1,464,530
1,464,531
u247366051
cpp
p03852
#include <algorithm> #include <cstdio> #include <iostream> #include <string> using namespace std; char ch; int main() { cin >> ch; if (ch - 97 == 1 || ch - 97 == 5 || ch - 97 == 9 || ch - 97 == 15 || ch - 97 == 21) cout << "vowel"; else cout << "consonant"; cout << endl; return 0; }
#include <algorithm> #include <cstdio> #include <iostream> #include <string> using namespace std; char ch; int main() { cin >> ch; if (ch - 96 == 1 || ch - 96 == 5 || ch - 96 == 9 || ch - 96 == 15 || ch - 96 == 21) cout << "vowel"; else cout << "consonant"; cout << endl; return 0; }
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
1,464,532
1,464,533
u247366051
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; if (s == 'a' || s == 'i' || s == 'e' || s == 'u' || s == 'o') cout << "vowel" << endl; else cout << "constant" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; if (s == 'a' || s == 'i' || s == 'e' || s == 'u' || s == 'o') cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "literal.string.change", "io.output.change" ]
1,464,536
1,464,537
u871279129
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char a; string b = "consonaut"; cin >> a; if (a == 'a' or a == 'i' or a == 'u' or a == 'e' or a == 'o') { b = "vowel"; } cout << b << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char a; string b = "consonant"; cin >> a; if (a == 'a' or a == 'i' or a == 'u' or a == 'e' or a == 'o') { b = "vowel"; } cout << b << endl; }
[ "literal.string.change", "variable_declaration.value.change" ]
1,464,538
1,464,539
u374802266
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char a; string b = "vowel"; cin >> a; if (a == 'a' or a == 'i' or a == 'u' or a == 'e' or a == 'o') { b = "consonaut"; } cout << b << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char a; string b = "consonant"; cin >> a; if (a == 'a' or a == 'i' or a == 'u' or a == 'e' or a == 'o') { b = "vowel"; } cout << b << endl; }
[ "literal.string.change", "variable_declaration.value.change", "assignment.value.change" ]
1,464,540
1,464,539
u374802266
cpp
p03852
#include <bits/stdc++.h> using namespace std; #define rep(i, n) \ ; \ for (int i = 0; i < n; ++i) using ll = long long; using P = pair<int, int>; int main() { string s; cin >>...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) \ ; \ for (int i = 0; i < n; ++i) using ll = long long; using P = pair<int, int>; int main() { string s; cin >>...
[ "expression.operation.unary.add", "control_flow.branch.if.condition.change" ]
1,464,541
1,464,542
u375398641
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c = 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') cout << "vowel" << endl; else cout << "consonant" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
1,464,545
1,464,546
u016142614
cpp
p03852
#include <bits/stdc++.h> using namespace std; namespace FAST_IO { template <typename T> void read(T &a) { a = 0; int f = 1; char c = getchar(); while (!isdigit(c)) { if (c == '-') { f = -1; } c = getchar(); } while (isdigit(c)) { a = a * 10 + c - '0'; c = getchar(); } a = a * f...
#include <bits/stdc++.h> using namespace std; namespace FAST_IO { template <typename T> void read(T &a) { a = 0; int f = 1; char c = getchar(); while (!isdigit(c)) { if (c == '-') { f = -1; } c = getchar(); } while (isdigit(c)) { a = a * 10 + c - '0'; c = getchar(); } a = a * f...
[]
1,464,547
1,464,548
u207310767
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; if (c == 'a' || c == 'i' || c == 'e' || c == 'o' || c == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'e' || c == 'o' || c == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[]
1,464,557
1,464,558
u753508285
cpp
p03852
#include <bits/stdc++.h> using namespace std; char a[5] = {'a', 'e', 'i', 'o', 'u'}; char c; int main() { c = getchar(); for (int i = 1; i <= 5; i++) { if (c == a[i]) { cout << "vowel" << endl; return 0; } } cout << "consonant" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; char a[10] = {'g', 'a', 'e', 'i', 'o', 'u'}; char c; int main() { c = getchar(); for (int i = 1; i <= 5; i++) { if (c == a[i]) { cout << "vowel" << endl; return 0; } } cout << "consonant" << endl; return 0; }
[ "literal.number.change", "variable_declaration.array_dimensions.change" ]
1,464,577
1,464,578
u426964396
cpp
p03852
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel" << endl; } else { cout << "constant" << endl; } }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,581
1,464,582
u464244643
cpp
p03852
#include <iostream> using namespace std; int main(void) { char c; cin >> c; string s = "aiueo"; cout << (s.find(c) != string::npos ? "voewl" : "consonant") << endl; }
#include <iostream> using namespace std; int main(void) { char c; cin >> c; string s = "aiueo"; cout << (s.find(c) != string::npos ? "vowel" : "consonant") << endl; }
[ "literal.string.change", "io.output.change" ]
1,464,585
1,464,586
u867320886
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' && c == 'e' && c == 'i' && c == 'o' && c == 'u') cout << "vowel" << endl; else cout << "consonant" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "misc.opposites", "control_flow.branch.if.condition.change" ]
1,464,587
1,464,588
u441727546
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') cout << "bowel" << endl; else cout << "consonant" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "literal.string.change", "io.output.change" ]
1,464,591
1,464,592
u553038000
cpp
p03852
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { char s; cin >> s; if (s == 'a' || s == 'i' || s == 'o' || s == 'u' || s == 'e') { cout << 'vowel' << endl; } else { cout << 'consonant' << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { char s; cin >> s; if (s == 'a' || s == 'i' || s == 'o' || s == 'u' || s == 'e') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } return 0; }
[ "io.output.change", "literal.string.change" ]
1,464,593
1,464,594
u960080897
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; // ここにプログラムを追記 if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') cout << 'vowel'; else cout << 'consonant'; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; // ここにプログラムを追記 if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') cout << "vowel"; else cout << "consonant"; }
[ "io.output.change" ]
1,464,597
1,464,598
u875187973
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char ch; cin >> ch; if (ch == 'a' && ch == 'e' && ch == 'i' && ch == 'o' && ch == 'u') printf("vowel"); else printf("consonant"); }
#include <bits/stdc++.h> using namespace std; int main() { char ch; cin >> ch; if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u') printf("vowel"); else printf("consonant"); }
[ "misc.opposites", "control_flow.branch.if.condition.change" ]
1,464,599
1,464,600
u033208015
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if ((c == 'a') || (c == 'o') || (c == 'i') || (c == 'u') || (c == 'e') || (c == 'o')) { cout << "vowel" << endl; } else { cout << "consonaut" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if ((c == 'a') || (c == 'o') || (c == 'i') || (c == 'u') || (c == 'e') || (c == 'o')) { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,601
1,464,602
u314917898
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a') { cout << "vowel" << endl; } else if (c == 'i') { cout << "vowel" << endl; } else if (c == 'u') { cout << "vowel" << endl; } else if (c == 'e') { cout << "vowel" << endl; } else if (c == 'o') { ...
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a') { cout << "vowel" << endl; } else if (c == 'i') { cout << "vowel" << endl; } else if (c == 'u') { cout << "vowel" << endl; } else if (c == 'e') { cout << "vowel" << endl; } else if (c == 'o') { ...
[ "literal.string.change", "io.output.change" ]
1,464,603
1,464,604
u453815934
cpp
p03852
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 'a' || x == 'i' || x == 'e' || x == 'o' || x == 'u') cout << "vowel"; else cout << "consonant"; return 0; }
#include <iostream> using namespace std; int main() { char x; cin >> x; if (x == 'a' || x == 'i' || x == 'e' || x == 'o' || x == 'u') cout << "vowel"; else cout << "consonant"; return 0; }
[ "variable_declaration.type.primitive.change" ]
1,464,605
1,464,606
u780809055
cpp
p03852
#include <iostream> using namespace std; int main() { char x; cin >> x; if (x == 'a') { cout << " vowel "; } if (x == 'e') { cout << " vowel "; } if (x == 'i') { cout << " vowel "; } if (x == 'o') { cout << " vowel "; } if (x == 'u') { cout << " vowel "; } else { cout ...
#include <iostream> using namespace std; int main() { char x; cin >> x; if (x == 'a') { cout << " vowel "; } else if (x == 'e') { cout << " vowel "; } else if (x == 'i') { cout << " vowel "; } else if (x == 'o') { cout << " vowel "; } else if (x == 'u') { cout << " vowel "; } else...
[ "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove" ]
1,464,609
1,464,610
u932407959
cpp
p03852
#include <iostream> using namespace std; int main() { char x; cin >> x; if (x == 'a') { cout << " vowel "; } if (x == 'e') { cout << " vowel "; } if (x == 'i') { cout << " vowel "; } if (x == 'o') { cout << " vowel "; } if (x == 'u') { cout << " vowel "; } else { cout ...
#include <iostream> using namespace std; int main() { char x; cin >> x; if (x == 'a') { cout << " vowel "; } else if (x == 'e') { cout << " vowel "; } else if (x == 'i') { cout << " vowel "; } else if (x == 'o') { cout << " vowel "; } else if (x == 'u') { cout << " vowel "; } else...
[ "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove", "literal.string.change", "io.output.change" ]
1,464,611
1,464,610
u932407959
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if (S == "a" || S == "e" || S == "i" || S == "o" || S == "u") { cout << "vowel" << endl; } else { cout << "consonnant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if (S == "a" || S == "e" || S == "i" || S == "o" || S == "u") { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,614
1,464,615
u627019679
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if (S == "a" || S == "e" || S == "i" || S == "o" || S == "u") { cout << "vowel" << endl; } else { cout << "constant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if (S == "a" || S == "e" || S == "i" || S == "o" || S == "u") { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,616
1,464,615
u627019679
cpp
p03852
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; ++i) #define rep2(i, s, n) for (int i = s; i < n; ++i) #define all(a) a.begin(), a.end() using namespace std; int main() { char c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') cout << "vowel" << endl; else cout << "consona...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; ++i) #define rep2(i, s, n) for (int i = s; i < n; ++i) #define all(a) a.begin(), a.end() using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') cout << "vowel" << endl; else cout...
[]
1,464,620
1,464,621
u853721692
cpp
p03852
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define rep2(i, a, n) for (ll i = a; i < (ll)(n); i++) #define memi cout << endl #define kono(n) cout << fixed << setprecision(n) #define all(c) (c).begin(), (c).end() #define pb push_back #define hina...
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define rep2(i, a, n) for (ll i = a; i < (ll)(n); i++) #define memi cout << endl #define kono(n) cout << fixed << setprecision(n) #define all(c) (c).begin(), (c).end() #define pb push_back #define hina...
[ "literal.string.change", "call.arguments.change" ]
1,464,624
1,464,625
u917049698
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char k; cin >> k; if (k == 'a' || k == 'e' || k == 'u' || k == 'e' || k == 'o') cout << "vowel" << endl; else cout << "consonant" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char k; cin >> k; if (k == 'a' || k == 'i' || k == 'u' || k == 'e' || k == 'o') cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
1,464,642
1,464,643
u949378311
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char input; cin >> input; if (input == 'a' || input == 'e' || input == 'u' || input == 'e' || input == 'o') { cout << "vowel" << endl; } else cout << "consonant" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char input; cin >> input; if (input == 'a' || input == 'i' || input == 'u' || input == 'e' || input == 'o') { cout << "vowel" << endl; } else cout << "consonant" << endl; }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
1,464,644
1,464,645
u949378311
cpp
p03852
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <random> #include <set> #include <stack> #include <string> #include <utility> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < n; ++i) const int INF = 100100100; const int M...
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <random> #include <set> #include <stack> #include <string> #include <utility> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < n; ++i) const int INF = 100100100; const int M...
[ "literal.string.change", "control_flow.loop.for.condition.change", "io.output.change" ]
1,464,646
1,464,647
u190761897
cpp
p03852
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') cout << "vowel" << endl; else cout << "constant" << endl; }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "literal.string.change", "io.output.change" ]
1,464,648
1,464,649
u682191329
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char i; cin >> i; if (i == 'a' || i == 'i' || i == 'u' || i == 'e' || i == 'o') { cout << "vowel" << endl; } else { cout << "consonantt" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char i; cin >> i; if (i == 'a' || i == 'i' || i == 'u' || i == 'e' || i == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,654
1,464,655
u695653147
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') cout << 'vowel' << endl; else cout << 'consonant' << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "io.output.change", "literal.string.change" ]
1,464,663
1,464,664
u981759938
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c = 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel"; } else { cout << "consonant"; } }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel"; } else { cout << "consonant"; } }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
1,464,665
1,464,666
u955282280
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c = 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel"; } else { cout << "constant"; } }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel"; } else { cout << "consonant"; } }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo", "literal.string.change", "io.output.change" ]
1,464,667
1,464,666
u955282280
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char x; cin >> x; if (x == 'a' || x == 'e' || x == 'i' || x == 'o' || x == 'u') { cout << "vowel" << endl; } else { cout << "constant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char x; cin >> x; if (x == 'a' || x == 'e' || x == 'i' || x == 'o' || x == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,679
1,464,680
u625428807
cpp
p03852
#include <algorithm> #include <cmath> #include <cstdlib> #include <iomanip> #include <iostream> #include <map> #include <string> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep1(i, n) for (int i = 1; i < (int)(n) + 1; i++) #define all(vecto) vecto.begin(), vecto.e...
#include <algorithm> #include <cmath> #include <cstdlib> #include <iomanip> #include <iostream> #include <map> #include <string> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep1(i, n) for (int i = 1; i < (int)(n) + 1; i++) #define all(vecto) vecto.begin(), vecto.e...
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
1,464,683
1,464,684
u296160120
cpp
p03851
#include <algorithm> #include <cstdio> #include <cstring> #define inf 0x3f3f3f3f3f3f3f3fLL using namespace std; typedef long long ll; struct Point { ll x, y; Point() {} Point(ll a, ll b) : x(a), y(b) {} Point operator-(Point b) { return Point(x - b.x, y - b.y); } }; ll cross(Point x, Point y) { return x.x *...
#include <algorithm> #include <cstdio> #include <cstring> #define inf 0x3f3f3f3f3f3f3f3fLL using namespace std; typedef long long ll; struct Point { ll x, y; Point() {} Point(ll a, ll b) : x(a), y(b) {} Point operator-(Point b) { return Point(x - b.x, y - b.y); } }; ll cross(Point x, Point y) { return x.x *...
[ "control_flow.loop.condition.change", "control_flow.loop.for.condition.change", "misc.off_by_one" ]
1,464,696
1,464,697
u966630585
cpp
p03851
#include <algorithm> #include <cstdio> #include <cstring> #define inf 0x3f3f3f3f3f3f3f3fLL using namespace std; typedef long long ll; struct Point { ll x, y; Point() {} Point(ll a, ll b) : x(a), y(b) {} Point operator-(Point b) { return Point(x - b.x, y - b.y); } }; ll cross(Point x, Point y) { return x.x *...
#include <algorithm> #include <cstdio> #include <cstring> #define inf 0x3f3f3f3f3f3f3f3fLL using namespace std; typedef long long ll; struct Point { ll x, y; Point() {} Point(ll a, ll b) : x(a), y(b) {} Point operator-(Point b) { return Point(x - b.x, y - b.y); } }; ll cross(Point x, Point y) { return x.x *...
[ "literal.number.change", "variable_declaration.array_dimensions.change", "control_flow.loop.condition.change", "control_flow.loop.for.condition.change", "misc.off_by_one" ]
1,464,698
1,464,697
u966630585
cpp
p03851
#include <algorithm> #include <cstdio> #include <cstring> typedef long long ll; ll arr[300005], sum[300005], dp_l[300005], dp_r[300005], dp[300005], tmp[300005], ans[300005]; int que[300005]; inline void rev(int n) { std::reverse(arr + 1, arr + n + 1); for (int i = 1; i <= n; i++) sum[i] = sum[i - 1] - arr[...
#include <algorithm> #include <cstdio> #include <cstring> typedef long long ll; ll arr[300005], sum[300005], dp_l[300005], dp_r[300005], dp[300005], tmp[300005], ans[300005]; int que[300005]; inline void rev(int n) { std::reverse(arr + 1, arr + n + 1); for (int i = 1; i <= n; i++) sum[i] = sum[i - 1] - arr[...
[ "identifier.change", "variable_access.subscript.index.change" ]
1,464,701
1,464,702
u566211189
cpp
p03851
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #define ri register int using namespace std; typedef long long LL; const int N = 3e5 + 5; int a[N], n, id[N]; LL L[N], R[N], A[N], B[N], g[N], sum[N], suf[N]; inline void DivideAndConquer(int l, int r, LL *L, LL *R, LL *dp) { if (l == r)...
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #define ri register int using namespace std; typedef long long LL; const int N = 3e5 + 5; int a[N], n, id[N]; LL L[N], R[N], A[N], B[N], g[N], sum[N], suf[N]; inline void DivideAndConquer(int l, int r, LL *L, LL *R, LL *dp) { if (l == r)...
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change", "control_flow.loop.for.initializer.change", "expression.operation.binary.remove" ]
1,464,709
1,464,710
u495269935
cpp
p03851
#include <algorithm> #include <bitset> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <map> #include <set> #include <string> #include <vector> #define ls (t << 1) #define rs ((t << 1) + 1) #define fi first #define se second #define mk make_pair #define pb push_back #define N 300005...
#include <algorithm> #include <bitset> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <map> #include <set> #include <string> #include <vector> #define ls (t << 1) #define rs ((t << 1) + 1) #define fi first #define se second #define mk make_pair #define pb push_back #define N 300005...
[ "identifier.change", "variable_access.subscript.index.change", "control_flow.loop.condition.change" ]
1,464,721
1,464,722
u332619970
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { string c; cin >> c; if (c.at(0) == 'a' || c.at(0) == 'i' || c.at(0) == 'u' || c.at(0) == 'e' || c.at(0) == 'o') { cout << 'vowel' << endl; } else { cout << 'consonant' << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { string c; cin >> c; if (c.at(0) == 'a' || c.at(0) == 'i' || c.at(0) == 'u' || c.at(0) == 'e' || c.at(0) == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "io.output.change", "literal.string.change" ]
1,464,729
1,464,730
u336510730
cpp
p03852
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); i++) using ll = long long int; using namespace std; template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; return 1; } return 0; } template <class T> inline bool chmin(T &a, T b) { if (a > b) { a = b; return 1; ...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); i++) using ll = long long int; using namespace std; template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; return 1; } return 0; } template <class T> inline bool chmin(T &a, T b) { if (a > b) { a = b; return 1; ...
[ "literal.string.change", "io.output.change" ]
1,464,741
1,464,742
u167245594
cpp
p03852
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') { cout << "vowe1" << endl; } else { cout << "consonant" << endl; } }
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,749
1,464,750
u588317865
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel" << endl; } else { cout << "constant" << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
1,464,755
1,464,756
u508818943
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a', c == 'i', c == 'u', c == 'e', c == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } // ここにプログラムを追記 }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' or c == 'i' or c == 'u' or c == 'e' or c == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } // ここにプログラムを追記 }
[ "control_flow.branch.if.condition.change" ]
1,464,757
1,464,758
u285134666
cpp
p03852
#include <iostream> #include <string> #include <vector> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowe1" << endl; } else { cout << "consonant" << endl; } }
#include <iostream> #include <string> #include <vector> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,759
1,464,760
u011251290
cpp
p03852
#include <bits/stdc++.h> using namespace std; #define ll long long template <typename T> void drop(const T &x) { cout << x << '\n'; exit(0); } void solve() { string a; cin >> a; if (a == "a") drop("vowel"); if (a == "e") drop("vowel"); if (a == "i") drop("vowel"); if (a == "o") drop("...
#include <bits/stdc++.h> using namespace std; #define ll long long template <typename T> void drop(const T &x) { cout << x << '\n'; exit(0); } void solve() { string a; cin >> a; if (a == "a") drop("vowel"); if (a == "e") drop("vowel"); if (a == "i") drop("vowel"); if (a == "o") drop("...
[ "literal.string.change", "io.output.change" ]
1,464,761
1,464,762
u127727773
cpp
p03852
#include <bits/stdc++.h> using namespace std; #define ll long long signed main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << 'vowel' << endl; } else { cout << 'consonant' << endl; } }
#include <bits/stdc++.h> using namespace std; #define ll long long signed main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "io.output.change", "literal.string.change" ]
1,464,763
1,464,764
u802696783
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; scanf("%c", &c); const string vowel = "aeiou"; printf("%s", vowel.find(c) == string::npos ? "vowel" : "consonant"); return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char c; scanf("%c", &c); const string vowel = "aeiou"; printf("%s", vowel.find(c) != string::npos ? "vowel" : "consonant"); return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.loop.for.condition.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
1,464,777
1,464,778
u553129408
cpp
p03852
#include <iostream> #include <string> using namespace std; int main() { char c; cin >> c; string ans = "consonant"; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { ans == "vowel"; } cout << ans << endl; }
#include <iostream> #include <string> using namespace std; int main() { char c; cin >> c; string ans = "consonant"; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { ans = "vowel"; } cout << ans << endl; }
[ "expression.operation.compare.replace.remove", "assignment.replace.add", "misc.typo" ]
1,464,782
1,464,783
u343242669
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char sth; cin >> sth; if (sth != 'a' && sth != 'i' && sth != 'u' && sth != 'e' && sth != 'o') cout << "consonant" << endl; else ; cout << "vowel" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char sth; cin >> sth; if (sth != 'a' && sth != 'i' && sth != 'u' && sth != 'e' && sth != 'o') { cout << "consonant" << endl; } else { cout << "vowel" << endl; } }
[]
1,464,790
1,464,791
u449294050
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if (S == "a") { cout << "vowel" << endl; } else if (S == "b") { cout << "vowel" << endl; } else if (S == "u") { cout << "vowel" << endl; } else if (S == "e") { cout << "vowel" << endl; } else if (S == "o") { ...
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if (S == "a") { cout << "vowel" << endl; } else if (S == "i") { cout << "vowel" << endl; } else if (S == "u") { cout << "vowel" << endl; } else if (S == "e") { cout << "vowel" << endl; } else if (S == "o") { ...
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
1,464,796
1,464,797
u275212209
cpp
p03852
#include <algorithm> #include <cstdio> #include <iostream> #include <set> using namespace std; int main() { // 引数の受け取り char A[100]; scanf("%s", A); if (A[0] == 'a' || A[0] == 'i' || A[0] == 'u' || A[0] == 'e' || A[0] == 'o') { printf("vowel"); } else { scanf("consonant"); }; return 0; }
#include <algorithm> #include <cstdio> #include <iostream> #include <set> using namespace std; int main() { // 引数の受け取り char A[100]; scanf("%s", A); if (A[0] == 'a' || A[0] == 'i' || A[0] == 'u' || A[0] == 'e' || A[0] == 'o') { printf("vowel"); } else { printf("consonant"); }; return 0; }
[ "identifier.change", "call.function.change" ]
1,464,806
1,464,807
u641145334
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { int c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "variable_declaration.type.primitive.change" ]
1,464,808
1,464,809
u922999444
cpp
p03852
#include <iostream> using namespace std; #include <string> #include <vector> int main() { string s = "aioeu"; string c; cin >> c; if (s.find(c) != string::npos) { cout << "consonant" << endl; } else { cout << "vowel" << endl; } }
#include <iostream> using namespace std; #include <string> #include <vector> int main() { string s = "aioeu"; string c; cin >> c; if (s.find(c) != string::npos) { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,810
1,464,811
u553183019
cpp
p03852
#include <iostream> using namespace std; int main(void) { // Your code here! char c; if (c == 'a' || c == 'e' || c == 'i' || c == 'u' || c == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
#include <iostream> using namespace std; int main(void) { // Your code here! char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'u' || c == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[]
1,464,827
1,464,828
u361036928
cpp
p03852
#include <bits/stdc++.h> #define rep(i, n) for (long long i = 0, max_i = (n); i < max_i; i++) #define repi(i, a, b) for (long long i = (a), max_i = (b); i < max_i; i++) using namespace std; typedef long long ll; bool isVowel(char c) { string S = "abcde"; bool b = false; rep(i, S.size()) if (c == S[i]) b = true; ...
#include <bits/stdc++.h> #define rep(i, n) for (long long i = 0, max_i = (n); i < max_i; i++) #define repi(i, a, b) for (long long i = (a), max_i = (b); i < max_i; i++) using namespace std; typedef long long ll; bool isVowel(char c) { string S = "aeiou"; bool b = false; rep(i, S.size()) if (c == S[i]) b = true; ...
[ "literal.string.change", "variable_declaration.value.change" ]
1,464,833
1,464,834
u162080911
cpp
p03852
#include <algorithm> #include <cmath> #include <iostream> #include <iterator> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; #define MOD 1000000007 #define INF 1 << 30 #define LINF (ll)1 << 62 #define MAX 510000 #define rep(i, n) for (ll i = 0; i...
#include <algorithm> #include <cmath> #include <iostream> #include <iterator> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; #define MOD 1000000007 #define INF 1 << 30 #define LINF (ll)1 << 62 #define MAX 510000 #define rep(i, n) for (ll i = 0; i...
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
1,464,839
1,464,840
u242679311
cpp
p03852
#include <bits/stdc++.h> using namespace std; #define INF 210000000 #define int long long int gcd(int a, int b) { int amari = a % b; int c = b; if (amari == 0) { return b; } else { return gcd(b, amari); } } int lcm(int a, int b) { return a * b / gcd(a, b); } signed main() { char a; if (a == '...
#include <bits/stdc++.h> using namespace std; #define INF 210000000 #define int long long int gcd(int a, int b) { int amari = a % b; int c = b; if (amari == 0) { return b; } else { return gcd(b, amari); } } int lcm(int a, int b) { return a * b / gcd(a, b); } signed main() { char a; cin >> a; ...
[]
1,464,841
1,464,842
u005570675
cpp
p03852
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; ++i) #define rep1(i, n) for (int i = 1; i <= n; ++i) #define ALL(v) v.begin(), v.end() #define RALL(v) v.rbegin(), v.rend() #define EPS (1e-7) #define INF (1e9) #define PI (acos(-1)) using namespace std; typedef long long ll; constexpr ll MOD = (1e9 + 7)...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; ++i) #define rep1(i, n) for (int i = 1; i <= n; ++i) #define ALL(v) v.begin(), v.end() #define RALL(v) v.rbegin(), v.rend() #define EPS (1e-7) #define INF (1e9) #define PI (acos(-1)) using namespace std; typedef long long ll; constexpr ll MOD = (1e9 + 7)...
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,464,845
1,464,846
u963903527
cpp