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
p03842
#include <algorithm> #include <cstdio> #include <vector> const int MOD = 1000000007; int N, a[100001], v[100001], bel[100001], dep[100001], pure[100001], O = 1; std::vector<int> V[100001]; std::vector<std::vector<int>> cirs; int main() { scanf("%d", &N); for (int i = 1; i <= N; i++) scanf("%d", a + i); for (i...
#include <algorithm> #include <cstdio> #include <vector> const int MOD = 1000000007; int N, a[100001], v[100001], bel[100001], dep[100001], pure[100001], O = 1; std::vector<int> V[100001]; std::vector<std::vector<int>> cirs; int main() { scanf("%d", &N); for (int i = 1; i <= N; i++) scanf("%d", a + i); for (i...
[ "assignment.change" ]
1,463,847
1,463,848
u804977105
cpp
p03842
//============================================================================ // Author : Sun YaoFeng //============================================================================ //#pragma comment(linker, "/STACK:100240000,100240000") //#include <cstdio> //#include <cstdlib> //#include <cstring> //#include <...
//============================================================================ // Author : Sun YaoFeng //============================================================================ //#pragma comment(linker, "/STACK:100240000,100240000") //#include <cstdio> //#include <cstdlib> //#include <cstring> //#include <...
[ "control_flow.branch.if.condition.change" ]
1,463,857
1,463,858
u731493876
cpp
p03842
#include <algorithm> #include <cstdio> #include <queue> #include <vector> using namespace std; #define N 100100 #define fi first #define se second #define pb push_back #define mp make_pair #define mod 1000000007 #define rep(x, a, b) for (int x = a; x <= b; x++) #define drp(x, a, b) for (int x = a; x >= b; x--) int st[N...
#include <algorithm> #include <cstdio> #include <queue> #include <vector> using namespace std; #define N 100100 #define fi first #define se second #define pb push_back #define mp make_pair #define mod 1000000007 #define rep(x, a, b) for (int x = a; x <= b; x++) #define drp(x, a, b) for (int x = a; x >= b; x--) int st[N...
[ "identifier.change", "control_flow.branch.if.condition.change" ]
1,463,859
1,463,860
u682232943
cpp
p03842
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define pii pair<int, int> #define pll pair<ll, ll> #define pdd pair<double, double> #define X first #define Y second #define REP(i, a) for (int i = 0; i < a; ++i) #define REPP(i, a, b) for (int i = a; i < b; ++i) #define FILL(a, x) memset(a, x, sizeof...
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define pii pair<int, int> #define pll pair<ll, ll> #define pdd pair<double, double> #define X first #define Y second #define REP(i, a) for (int i = 0; i < a; ++i) #define REPP(i, a, b) for (int i = a; i < b; ++i) #define FILL(a, x) memset(a, x, sizeof...
[ "assignment.value.change", "identifier.change", "expression.operation.binary.change" ]
1,463,861
1,463,862
u650337189
cpp
p03842
#include <bits/stdc++.h> using namespace std; const int N = 1e5 + 5, MOD = 1e9 + 7; int a[N], vis[N], chain[N], in[N], len[N]; bool in_circle[N]; int main() { int n; scanf("%d", &n); bool flag = 0; for (int i = 1; i <= n; ++i) { scanf("%d", &a[i]); in[a[i]]++; if (in[a[i]] >= 3) flag = 1; } ...
#include <bits/stdc++.h> using namespace std; const int N = 1e5 + 5, MOD = 1e9 + 7; int a[N], vis[N], chain[N], in[N], len[N]; bool in_circle[N]; int main() { int n; scanf("%d", &n); bool flag = 0; for (int i = 1; i <= n; ++i) { scanf("%d", &a[i]); in[a[i]]++; if (in[a[i]] >= 3) flag = 1; } ...
[]
1,463,863
1,463,864
u945409169
cpp
p03842
#include <bits/stdc++.h> using namespace std; const int N = 1e5 + 5, MOD = 1e9 + 7; int a[N], vis[N], chain[N], in[N], len[N]; bool in_circle[N]; int main() { int n; scanf("%d", &n); bool flag = 0; for (int i = 1; i <= n; ++i) { scanf("%d", &a[i]); in[a[i]]++; if (in[a[i]] >= 3) flag = 1; } ...
#include <bits/stdc++.h> using namespace std; const int N = 1e5 + 5, MOD = 1e9 + 7; int a[N], vis[N], chain[N], in[N], len[N]; bool in_circle[N]; int main() { int n; scanf("%d", &n); bool flag = 0; for (int i = 1; i <= n; ++i) { scanf("%d", &a[i]); in[a[i]]++; if (in[a[i]] >= 3) flag = 1; } ...
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
1,463,865
1,463,864
u945409169
cpp
p03842
#include <algorithm> #include <stdio.h> #include <vector> using namespace std; int w[101000], Deg[101000], n, chk[101000], Q[101000], tail, head, C[101000]; bool v[101000]; long long Res = 1, D[101000], Mod = 1000000007; vector<int> E[101000]; int main() { int i, x, y, j; scanf("%d", &n); for (i = 1; i <= n; i++)...
#include <algorithm> #include <stdio.h> #include <vector> using namespace std; int w[101000], Deg[101000], n, chk[101000], Q[101000], tail, head, C[101000]; bool v[101000]; long long Res = 1, D[101000], Mod = 1000000007; vector<int> E[101000]; int main() { int i, x, y, j; scanf("%d", &n); for (i = 1; i <= n; i++)...
[ "literal.number.change", "assignment.value.change", "variable_access.subscript.index.change" ]
1,463,866
1,463,867
u899710951
cpp
p03842
#include <bits/stdc++.h> #define SZ(X) ((int)(X).size()) #define ALL(X) (X).begin(), (X).end() #define REP(I, N) for (int I = 0; I < (N); ++I) #define REPP(I, A, B) for (int I = (A); I < (B); ++I) #define RI(X) scanf("%d", &(X)) #define RII(X, Y) scanf("%d%d", &(X), &(Y)) #define RIII(X, Y, Z) scanf("%d%d%d", &(X), &(Y...
#include <bits/stdc++.h> #define SZ(X) ((int)(X).size()) #define ALL(X) (X).begin(), (X).end() #define REP(I, N) for (int I = 0; I < (N); ++I) #define REPP(I, A, B) for (int I = (A); I < (B); ++I) #define RI(X) scanf("%d", &(X)) #define RII(X, Y) scanf("%d%d", &(X), &(Y)) #define RIII(X, Y, Z) scanf("%d%d%d", &(X), &(Y...
[ "control_flow.branch.if.condition.change" ]
1,463,873
1,463,874
u284124505
cpp
p03843
#include <bits/stdc++.h> typedef long long ll; const int N = 200054, M = N * 2; int n, E = 0; int to[M], first[N], next[M]; int p[N], size[N]; int f[N], g[N], inf[N]; char s[N]; ll ans = 1; inline void up(int &x, const int y) { x < y ? x = y : 0; } inline void down(int &x, const int y) { x > y ? x = y : 0; } inline ...
#include <bits/stdc++.h> typedef long long ll; const int N = 200054, M = N * 2; int n, E = 0; int to[M], first[N], next[M]; int p[N], size[N]; int f[N], g[N], inf[N]; char s[N]; ll ans = 1; inline void up(int &x, const int y) { x < y ? x = y : 0; } inline void down(int &x, const int y) { x > y ? x = y : 0; } inline ...
[ "literal.number.change" ]
1,463,880
1,463,881
u357974633
cpp
p03843
#include <bits/stdc++.h> typedef long long ll; const int N = 200054, M = N * 2; int n, E = 0; int to[M], first[N], next[M]; int p[N], size[N]; int f[N], g[N], inf[N]; char s[N]; ll ans = 1; inline void up(int &x, const int y) { x < y ? x = y : 0; } inline void down(int &x, const int y) { x > y ? x = y : 0; } inline ...
#include <bits/stdc++.h> typedef long long ll; const int N = 200054, M = N * 2; int n, E = 0; int to[M], first[N], next[M]; int p[N], size[N]; int f[N], g[N], inf[N]; char s[N]; ll ans = 1; inline void up(int &x, const int y) { x < y ? x = y : 0; } inline void down(int &x, const int y) { x > y ? x = y : 0; } inline ...
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
1,463,882
1,463,881
u357974633
cpp
p03843
#include <bits/stdc++.h> typedef long long LL; const int MAXN = 200010; int head[MAXN], nxt[MAXN << 1], to[MAXN << 1], tot; void addedge(int b, int e) { nxt[++tot] = head[b]; to[head[b] = tot] = e; nxt[++tot] = head[e]; to[head[e] = tot] = b; } int n; char buf[MAXN]; bool hav[MAXN]; int L[MAXN]; struct node { ...
#include <bits/stdc++.h> typedef long long LL; const int MAXN = 200010; int head[MAXN], nxt[MAXN << 1], to[MAXN << 1], tot; void addedge(int b, int e) { nxt[++tot] = head[b]; to[head[b] = tot] = e; nxt[++tot] = head[e]; to[head[e] = tot] = b; } int n; char buf[MAXN]; int hav[MAXN]; int L[MAXN]; struct node { ...
[ "variable_declaration.type.primitive.change" ]
1,463,884
1,463,885
u827712003
cpp
p03843
#include <bits/stdc++.h> using namespace std; const int maxn = 200001; vector<int> e[maxn]; void rm(int x, int p) { for (int i = 0; i < e[x].size(); i++) if (e[x][i] == p) { swap(e[x][i], e[x].back()); e[x].pop_back(); } for (int it : e[x]) rm(it, x); } int dep[maxn], pass[maxn], cnt[max...
#include <bits/stdc++.h> using namespace std; const int maxn = 200001; vector<int> e[maxn]; void rm(int x, int p) { for (int i = 0; i < e[x].size(); i++) if (e[x][i] == p) { swap(e[x][i], e[x].back()); e[x].pop_back(); } for (int it : e[x]) rm(it, x); } int dep[maxn], pass[maxn], cnt[max...
[ "assignment.value.change", "identifier.change", "call.arguments.change", "expression.operation.binary.change" ]
1,463,890
1,463,891
u272015756
cpp
p03843
// minamoto #include <bits/stdc++.h> #define R register #define fp(i, a, b) for (R int i = (a), I = (b) + 1; i < I; ++i) #define fd(i, a, b) for (R int i = (a), I = (b)-1; i > I; --i) #define go(u) for (int i = head[u], v = e[i].v; i; i = e[i].nx, v = e[i].v) template <class T> inline bool cmax(T &a, const T &b) { re...
// minamoto #include <bits/stdc++.h> #define R register #define fp(i, a, b) for (R int i = (a), I = (b) + 1; i < I; ++i) #define fd(i, a, b) for (R int i = (a), I = (b)-1; i > I; --i) #define go(u) for (int i = head[u], v = e[i].v; i; i = e[i].nx, v = e[i].v) template <class T> inline bool cmax(T &a, const T &b) { re...
[]
1,463,897
1,463,898
u561765782
cpp
p03843
#include <bits/stdc++.h> using namespace std; const int N = 234567; int n, maxd[N], smaxd[N], sum[N]; long long answer; vector<int> adj[N]; string s; void dfs(int x, int f) { sum[x] = s[x - 1] == '1'; for (auto y : adj[x]) { if (y != f) { dfs(y, x); sum[x] += sum[y]; int d = maxd[y] + 1; ...
#include <bits/stdc++.h> using namespace std; const int N = 234567; int n, maxd[N], smaxd[N], sum[N]; long long answer; vector<int> adj[N]; string s; void dfs(int x, int f) { sum[x] = s[x - 1] == '1'; for (auto y : adj[x]) { if (y != f) { dfs(y, x); sum[x] += sum[y]; int d = maxd[y] + 1; ...
[ "call.add", "call.arguments.add" ]
1,463,904
1,463,905
u303142406
cpp
p03843
// waz #include <bits/stdc++.h> using namespace std; #define mp make_pair #define pb push_back #define fi first #define se second #define ALL(x) (x).begin(), (x).end() #define SZ(x) ((int)((x).size())) typedef pair<int, int> PII; typedef vector<int> VI; typedef long long int64; typedef unsigned int uint; typedef uns...
// waz #include <bits/stdc++.h> using namespace std; #define mp make_pair #define pb push_back #define fi first #define se second #define ALL(x) (x).begin(), (x).end() #define SZ(x) ((int)((x).size())) typedef pair<int, int> PII; typedef vector<int> VI; typedef long long int64; typedef unsigned int uint; typedef uns...
[ "assignment.value.change", "identifier.change", "variable_access.subscript.index.change", "call.arguments.change", "assignment.change", "expression.operation.binary.change", "misc.opposites", "expression.operator.arithmetic.change" ]
1,463,908
1,463,909
u023010491
cpp
p03843
// waz #include <bits/stdc++.h> using namespace std; #define mp make_pair #define pb push_back #define fi first #define se second #define ALL(x) (x).begin(), (x).end() #define SZ(x) ((int)((x).size())) typedef pair<int, int> PII; typedef vector<int> VI; typedef long long int64; typedef unsigned int uint; typedef uns...
// waz #include <bits/stdc++.h> using namespace std; #define mp make_pair #define pb push_back #define fi first #define se second #define ALL(x) (x).begin(), (x).end() #define SZ(x) ((int)((x).size())) typedef pair<int, int> PII; typedef vector<int> VI; typedef long long int64; typedef unsigned int uint; typedef uns...
[ "assignment.value.change", "identifier.change", "variable_access.subscript.index.change", "call.arguments.change", "expression.operation.binary.change", "misc.opposites", "expression.operator.arithmetic.change" ]
1,463,910
1,463,909
u023010491
cpp
p03843
#include <algorithm> #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #define rep(i, a, b) for (int i = (a), _ = (b); i <= _; ++i) #define per(i, a, b) for (int i = (a), _ = (b); i >= _; --i) #define For(i, a, b) for (int i = (a), _ = (b); i < _; ++i) #define fore(e, u, v) for ...
#include <algorithm> #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #define rep(i, a, b) for (int i = (a), _ = (b); i <= _; ++i) #define per(i, a, b) for (int i = (a), _ = (b); i >= _; --i) #define For(i, a, b) for (int i = (a), _ = (b); i < _; ++i) #define fore(e, u, v) for ...
[]
1,463,919
1,463,920
u790210499
cpp
p03843
#include <bits/stdc++.h> void mins(int &a, int b) { if (a > b) a = b; } int min(int a, int b) { return a < b ? a : b; } int max(int a, int b) { return a > b ? a : b; } void upd(int &a, int &b, int c) { if (c >= a) b = a, a = c; else if (c > b) b = c; } const int N = 2e5 + 7; long long ans = 1; int n; ...
#include <bits/stdc++.h> void mins(int &a, int b) { if (a > b) a = b; } int min(int a, int b) { return a < b ? a : b; } int max(int a, int b) { return a > b ? a : b; } void upd(int &a, int &b, int c) { if (c >= a) b = a, a = c; else if (c > b) b = c; } const int N = 2e5 + 7; long long ans = 1; int n; ...
[ "identifier.change", "control_flow.loop.for.condition.change", "call.arguments.change", "expression.operation.binary.change", "variable_access.subscript.index.change" ]
1,463,933
1,463,934
u177252207
cpp
p03843
#include <cstdio> #include <cstring> #include <iostream> #define x first #define y second template <typename T> inline void read(T &x) { char c = x = 0; for (c = getchar(); !isdigit(c); c = getchar()) ; for (; isdigit(c); c = getchar()) x = (x << 3) + (x << 1) + (c ^ 48); } namespace gg { template <type...
#include <cstdio> #include <cstring> #include <iostream> #define x first #define y second template <typename T> inline void read(T &x) { char c = x = 0; for (c = getchar(); !isdigit(c); c = getchar()) ; for (; isdigit(c); c = getchar()) x = (x << 3) + (x << 1) + (c ^ 48); } namespace gg { template <type...
[ "expression.operation.binary.remove" ]
1,463,935
1,463,936
u156352356
cpp
p03843
#include <cstdio> #include <cstring> #include <iostream> #define x first #define y second template <typename T> inline void read(T &x) { char c = x = 0; for (c = getchar(); !isdigit(c); c = getchar()) ; for (; isdigit(c); c = getchar()) x = (x << 3) + (x << 1) + (c ^ 48); } namespace gg { template <type...
#include <cstdio> #include <cstring> #include <iostream> #define x first #define y second template <typename T> inline void read(T &x) { char c = x = 0; for (c = getchar(); !isdigit(c); c = getchar()) ; for (; isdigit(c); c = getchar()) x = (x << 3) + (x << 1) + (c ^ 48); } namespace gg { template <type...
[ "identifier.change", "variable_access.subscript.index.change", "control_flow.branch.if.condition.change", "expression.operation.binary.remove" ]
1,463,937
1,463,936
u156352356
cpp
p03844
#include <bits/stdc++.h> using namespace std; int main() { string op; int A, B; cin >> op >> A >> B; if (op == "+") { cout << A + B << endl; } else if (op == "-") { cout << A - B << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { string op; int A, B; cin >> A >> op >> B; if (op == "+") { cout << A + B << endl; } else if (op == "-") { cout << A - B << endl; } }
[ "expression.operation.binary.remove" ]
1,463,952
1,463,953
u049971605
cpp
p03844
#include <bits/stdc++.h> using namespace std; int main() { int a, b; string p; cin >> a, p, b; if (p == "+") { cout << a + b << endl; } else if (p == "-") { cout << a - b << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int a, b; string p; cin >> a >> p >> b; if (p == "+") { cout << a + b << endl; } else if (p == "-") { cout << a - b << endl; } }
[]
1,463,954
1,463,955
u117105928
cpp
p03844
#include <iostream> using namespace std; int main() { int A, B; char op; cin >> A >> op >> B; if (op == '+') cout << A + B; else if (op == '+') cout << A - B; return 0; }
#include <iostream> using namespace std; int main() { int A, B; char op; cin >> A >> op >> B; if (op == '+') cout << A + B; else if (op == '-') cout << A - B; return 0; }
[ "misc.opposites", "literal.string.change", "expression.operator.arithmetic.change", "control_flow.branch.if.condition.change" ]
1,463,968
1,463,969
u353919145
cpp
p03844
#include <bits/stdc++.h> using namespace std; int main() { int a = 0, b = 0, ans = 0; char op; scanf("%d%d %c", &a, &b, &op); if (op == '+') { ans = a + b; printf("%d", ans); } if (op == '-') { ans = a - b; printf("%d", ans); } }
#include <bits/stdc++.h> using namespace std; int main() { int a = 0, b = 0, ans = 0; char op; scanf("%d %c%d", &a, &op, &b); if (op == '+') { ans = a + b; printf("%d", ans); } if (op == '-') { ans = a - b; printf("%d", ans); } }
[ "literal.string.change", "call.arguments.change", "identifier.change" ]
1,463,970
1,463,971
u353919145
cpp
p03844
#include <stdio.h> int main() { int A, B; char c; scanf("%d%c%d", &A, &c, &B); if (c == '+') { printf("%d", (A + B)); } else { printf("%d", (A - B)); } }
#include <stdio.h> int main() { int A, B; char c; scanf("%d %c %d", &A, &c, &B); if (c == '+') { printf("%d\n", (A + B)); } else { printf("%d\n", (A - B)); } }
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add" ]
1,463,972
1,463,973
u353919145
cpp
p03844
#include <bits/stdc++.h> using namespace std; int main() { long long a, b; char op; cin >> a >> op >> b; if (op = '+') cout << a + b; else cout << a - b; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { long long a, b; char op; cin >> a >> op >> b; if (op == '+') cout << a + b; else cout << a - b; return 0; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
1,463,974
1,463,975
u863370423
cpp
p03844
#include <stdio.h> int main() { long long a, b; char c; long long op(long long a, long long b, char c); scanf("%d %c %d", &a, &b, &c); op(a, b, c); printf("%lld\n", op(a, b, c)); return 0; } long long op(long long a, long long b, char c) { long long sum = 0; if (c == '+') sum = a + b; if (c == '...
#include <stdio.h> int main() { long long a, b; char c; long long op(long long a, long long b, char c); scanf("%lld %c %lld", &a, &c, &b); op(a, b, c); printf("%lld\n", op(a, b, c)); return 0; } long long op(long long a, long long b, char c) { long long sum = 0; if (c == '+') sum = a + b; if (c ...
[ "literal.string.change", "call.arguments.change", "identifier.change" ]
1,463,976
1,463,977
u863370423
cpp
p03844
#include <bits/stdc++.h> using namespace std; int main() { long long a, b; char c; scanf("%lld%c%lld", &a, &c, &b); if (c == '+') { printf("%lld\n", a + b); } else { printf("%lld\n", a - b); } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { long long a, b; char c; scanf("%lld %c %lld", &a, &c, &b); if (c == '+') { printf("%lld\n", a + b); } else { printf("%lld\n", a - b); } return 0; }
[ "literal.string.change", "call.arguments.change" ]
1,463,978
1,463,979
u816631826
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; // ここにプログラムを追記 if (s = 'a') { cout << "vowel" << endl; } else if (s = 'e') { cout << "vowel" << endl; } else if (s = 'i') { cout << "vowel" << endl; } else if (s = 'o') { cout << "vowel" << endl; } else if (s ...
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; // ここにプログラムを追記 if (s == 'a') { cout << "vowel" << endl; } else if (s == 'e') { cout << "vowel" << endl; } else if (s == 'i') { cout << "vowel" << endl; } else if (s == 'o') { cout << "vowel" << endl; } else if...
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
1,463,985
1,463,986
u444845268
cpp
p03852
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; int main() { char in; string s = "aiueo"; cin >> in; if (s.find(in) == 0) { cout << "vowel" << endl; } else { cout << "consonant" << endl; } return 0; }
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; int main() { char in; string s = "aiueo"; cin >> in; if (s.find(in) != string::npos) { cout << "vowel" << endl; } else { cout << "consonant" << endl; } return 0; }
[ "control_flow.branch.if.condition.change" ]
1,463,991
1,463,992
u987155832
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char X; cin >> X; if (X == 'a') cout << "vowel" << endl; else if (X == 'e') cout << "vowel" << endl; else if (X == 'i') cout << "vowel" << endl; else if (X == 'o') cout << "vowel" << endl; else if (X == 'u') cout << "vowe...
#include <bits/stdc++.h> using namespace std; int main() { char X; cin >> X; if (X == 'a') cout << "vowel" << endl; else if (X == 'e') cout << "vowel" << endl; else if (X == 'i') cout << "vowel" << endl; else if (X == 'o') cout << "vowel" << endl; else if (X == 'u') cout << "vowe...
[ "literal.string.change", "io.output.change" ]
1,463,993
1,463,994
u467935100
cpp
p03852
#include <algorithm> #include <cassert> #include <climits> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <random> #include <set> #include <vector> using namespace std; #define ll long long int #define ld long double const ll Mod = 1000000007; ll CaseN = 1; const ld P...
#include <algorithm> #include <cassert> #include <climits> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <random> #include <set> #include <vector> using namespace std; #define ll long long int #define ld long double const ll Mod = 1000000007; ll CaseN = 1; const ld P...
[ "literal.string.change", "io.output.change" ]
1,464,001
1,464,002
u898973927
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; bool b = s == 'a' || s == 'i' || s == 'u' || s == 'e' || s == 'o'; if (b) cout << "vowel" << endl; else "consonant"; }
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; bool b = s == 'a' || s == 'i' || s == 'u' || s == 'e' || s == 'o'; if (b) cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "io.output.change", "io.output.newline.add" ]
1,464,003
1,464,004
u683240195
cpp
p03852
#include <iostream> 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') { cou...
#include <iostream> 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') { cou...
[ "literal.string.change", "io.output.change" ]
1,464,005
1,464,006
u495349793
cpp
p03852
#include <cmath> #include <iostream> 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 ...
#include <iostream> 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') { cou...
[ "literal.string.change", "io.output.change" ]
1,464,007
1,464,006
u495349793
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { string C; cin >> C; if (C == "a") { cout << "vowel" << endl; } else if (C == "i") { cout << "vowal" << endl; } else if (C == "u") { cout << "vowal" << endl; } else if (C == "e") { cout << "vowal" << endl; } else if (C == "o") { ...
#include <bits/stdc++.h> using namespace std; int main() { string 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,010
1,464,011
u740002394
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 << "cConsonant" << 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; } }
[ "literal.string.change", "io.output.change" ]
1,464,016
1,464,017
u708197048
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; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,464,018
1,464,017
u708197048
cpp
p03852
#include <bits/stdc++.h> using namespace std; #define all(x) (x).begin(), (x).end() #define ll long long #define vi vector<int> #define pii pair<int, int> #define F first #define S second #define pb push_back #define forn(b) for (int i = 0; i < b; i++) #define rforn(b) for (int i = b - 1; i >= 0; i--) #define It(m) for...
#include <bits/stdc++.h> using namespace std; #define all(x) (x).begin(), (x).end() #define ll long long #define vi vector<int> #define pii pair<int, int> #define F first #define S second #define pb push_back #define forn(b) for (int i = 0; i < b; i++) #define rforn(b) for (int i = b - 1; i >= 0; i--) #define It(m) for...
[ "literal.string.change", "io.output.change" ]
1,464,023
1,464,024
u164291877
cpp
p03852
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); ++i) #define ll long long int main(void) { char c; cin >> c; string v = "aeiou"; if (v.find(c)) cout << "vowel" << endl; else cout << "consonant" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); ++i) #define ll long long int main(void) { char c; cin >> c; string v = "aeiou"; if (v.find(c) != string::npos) cout << "vowel" << endl; else cout << "consonant" << endl; return 0; }
[ "control_flow.branch.if.condition.change" ]
1,464,025
1,464,026
u025469035
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,031
1,464,032
u301665419
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; bool vowel = false; for (int i = 0; i < 5; i++) { if ("aiueo"s.at(i) == c) { cout << "vowel" << endl; vowel = true; } } if (vowel == false) { cout << "constant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; bool vowel = false; for (int i = 0; i < 5; i++) { if ("aiueo"s.at(i) == c) { cout << "vowel" << endl; vowel = true; } } if (vowel == false) { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,033
1,464,034
u273326224
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { string 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() { string c; cin >> c; if ((c == "a") || (c == "i") || (c == "u") || (c == "e") || (c == "o")) { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[]
1,464,035
1,464,036
u334439085
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c = 0; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') { cout << "vawel" << endl; } else { cout << "consonant" << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char c = 0; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
1,464,039
1,464,040
u876136185
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main(int argc, char const *argv[]) { int c; std::cin >> c; if (c == 'a' || c == 'e' || c == 'u' || c == 'i' || c == 'o') { std::cout << "vowel" << '\n'; } else { std::cout << "consonant" << '\n'; } return 0; }
#include <bits/stdc++.h> using namespace std; int main(int argc, char const *argv[]) { char c; std::cin >> c; if (c == 'a' || c == 'e' || c == 'u' || c == 'i' || c == 'o') { std::cout << "vowel" << '\n'; } else { std::cout << "consonant" << '\n'; } return 0; }
[ "variable_declaration.type.primitive.change" ]
1,464,041
1,464,042
u055538243
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'; else { cout << 'consonant'; } }
#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"; else { cout << "consonant"; } }
[ "io.output.change" ]
1,464,048
1,464,049
u826608257
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char S; cin >> S; if (S == 'a' || S == 'e' || S == 'u' || S == 'i' || 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 == 'e' || S == 'u' || S == 'i' || S == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "io.output.change", "literal.string.change" ]
1,464,052
1,464,053
u103178403
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 == '0') { 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; }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
1,464,054
1,464,055
u676541587
cpp
p03852
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; 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> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; 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,056
1,464,057
u922449177
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char p; cin >> p; if (p == 'a' || p == 'i' || p == 'u' || p == 'e' || p == 'o') { cout << "vowel" << endl; } else { cout << "constant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char p; cin >> p; if (p == 'a' || p == 'i' || p == 'u' || p == 'e' || p == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,060
1,464,061
u133719418
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 << "vomel" << 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; }
[ "literal.string.change", "io.output.change" ]
1,464,064
1,464,065
u306482197
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { string c; cin >> c; if (c == "a") cout << "vowel" << endl; if (c == "i") cout << "vowel" << endl; if (c == "u") cout << "vowel" << endl; if (c == "e") cout << "vowel" << endl; if (c == "o") cout << "vowel" << endl; else { ...
#include <bits/stdc++.h> using namespace std; int main() { string 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 << "vowel"...
[ "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove" ]
1,464,080
1,464,081
u227076210
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { string c; cin >> c; if (c == "a") cout << "vowel" << endl; if (c == "i") cout << "vowel" << endl; if (c == "u") cout << "vowel" << endl; if (c == "e") cout << "vowel" << endl; if (c == "o") cout << "vowel" << endl; else ...
#include <bits/stdc++.h> using namespace std; int main() { string 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 << "vowel"...
[ "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove" ]
1,464,082
1,464,081
u227076210
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; // 変数sで入力を一行受け取る if (c = 'a') { cout << "vowel" << endl; } else if (c = 'e') { cout << "vowel" << endl; } else if (c = 'i') { cout << "vowel" << endl; } else if (c = 'o') { cout << "vowel" << endl; } else if (c ...
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; // 変数sで入力を一行受け取る if (c == 'a') { cout << "vowel" << endl; } else if (c == 'e') { cout << "vowel" << endl; } else if (c == 'i') { cout << "vowel" << endl; } else if (c == 'o') { cout << "vowel" << endl; } else if...
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
1,464,083
1,464,084
u744410959
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; bool Is = false; string str1 = "aiueo"; for (int a = 0; a < 5; a++) { if (str1.at(a) == s) { cout << "vowel" << endl; Is = true; break; } } if (Is == false) { cout << "constant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; bool Is = false; string str1 = "aiueo"; for (int a = 0; a < 5; a++) { if (str1.at(a) == s) { cout << "vowel" << endl; Is = true; break; } } if (Is == false) { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,116
1,464,117
u766734191
cpp
p03852
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) #define repI(i, d, n) for (int i = (d); i < (n); ++i) #define reps1(i, n) for (int i = 1; i < (n); ++i) using namespace std; template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; return 1; } return 0; } template <clas...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) #define repI(i, d, n) for (int i = (d); i < (n); ++i) #define reps1(i, n) for (int i = 1; i < (n); ++i) using namespace std; template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; return 1; } return 0; } template <clas...
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
1,464,118
1,464,119
u438662618
cpp
p03852
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'u' || c == 'i' || c == 'o') { cout << "vowel"; } else { cout << "constant"; } return 0; }
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'o' || c == 'e' || c == 'i' || c == 'u') { cout << "vowel"; } else { cout << "consonant"; } return 0; }
[ "literal.string.change", "control_flow.branch.if.condition.change", "io.output.change" ]
1,464,120
1,464,121
u089230684
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c, i; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') { cout << "vowel"; } else { cout << "constant"; } 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"; } else { cout << "consonant"; } return 0; }
[ "variable_declaration.remove", "literal.string.change", "io.output.change" ]
1,464,122
1,464,123
u089230684
cpp
p03852
#include <iostream> using namespace std; int main() { char s; cin >> s; if (s == 'a' || s == 'e' || s == 'i' || s == 'o' || s == 'u') { cout << "vowel"; } else { cout << "constant"; } return 0; }
#include <iostream> using namespace std; int main() { char s; cin >> s; if (s == 'a' || s == 'e' || s == 'i' || s == 'o' || s == 'u') { cout << "vowel"; } else { cout << "consonant"; } return 0; }
[ "literal.string.change", "io.output.change" ]
1,464,126
1,464,127
u089230684
cpp
p03852
#include <bits/stdc++.h> #include <vector> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; int main() { string s; cin >> s; if (s[0] == 'a') cout << "vowel" << '\n'; else if (s[0] == 'i') cout << "vowel" << '\n'; else if (s[0] == 'u') cout << "vowel" << '\n'; else if (s[0...
#include <bits/stdc++.h> #include <vector> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; int main() { string s; cin >> s; if (s[0] == 'a') cout << "vowel" << '\n'; else if (s[0] == 'i') cout << "vowel" << '\n'; else if (s[0] == 'u') cout << "vowel" << '\n'; else if (s[0...
[ "literal.string.change", "io.output.change" ]
1,464,132
1,464,133
u779837902
cpp
p03852
#include <bits/stdc++.h> #include <vector> using namespace std; int main() { string c; cin >> c; vector<string> vv(5); vv[0] = "a"; vv[1] = "e"; vv[2] = "i"; vv[3] = "o"; vv[4] = "u"; bool ans = false; for (int i = 0; i < 5; i++) { if (c == vv[i]) ans = true; } if (ans) cout << "v...
#include <bits/stdc++.h> #include <vector> using namespace std; int main() { string c; cin >> c; vector<string> vv(5); vv[0] = "a"; vv[1] = "e"; vv[2] = "i"; vv[3] = "o"; vv[4] = "u"; bool ans = false; for (int i = 0; i < 5; i++) { if (c == vv[i]) ans = true; } if (ans) cout << "v...
[ "literal.string.change", "io.output.change" ]
1,464,150
1,464,151
u543779614
cpp
p03852
#include <bits/stdc++.h> using namespace std; using ll = long long; #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++) int main(void) { char s; cin >> s; if (s == 'a' || s == 'e' || s == 'i' || s == 'o' || s == 'u') { cout << "vowel" << endl; } e...
#include <bits/stdc++.h> using namespace std; using ll = long long; #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++) int main(void) { char s; cin >> s; if (s == 'a' || s == 'e' || s == 'i' || s == 'o' || s == 'u') { cout << "vowel" << endl; } e...
[ "literal.string.change", "io.output.change" ]
1,464,156
1,464,157
u149842804
cpp
p03852
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define INF 1e9; using namespace std; using ll = long long; #include <bits/stdc++.h> int main() { char a; cin >> a; if (a == 'a' || a == 'e' || a == 'i' || a == 'o' || a == 'u') { cout << "vowel" << endl; } else { cout << "con...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define INF 1e9; using namespace std; using ll = long long; #include <bits/stdc++.h> int main() { char a; cin >> a; if (a == 'a' || a == 'e' || a == 'i' || a == 'o' || a == 'u') { cout << "vowel" << endl; } else { cout << "con...
[ "literal.string.change", "io.output.change" ]
1,464,163
1,464,164
u629548179
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { string c; cin >> c; if (c == "a") cout << "vowels" << endl; else if (c == "i") cout << "vowels" << endl; else if (c == "u") cout << "vowels" << endl; else if (c == "e") cout << "vowels" << endl; else if (c == "o") cout << "vow...
#include <bits/stdc++.h> using namespace std; int main() { string 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 << "vowel" ...
[ "literal.string.change", "io.output.change" ]
1,464,165
1,464,166
u106342872
cpp
p03852
#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 << "consotant" << 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; } }
[ "literal.string.change", "io.output.change" ]
1,464,167
1,464,168
u638584904
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 << "consotant" << 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", "literal.string.change", "io.output.change" ]
1,464,169
1,464,168
u638584904
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i') { cout << "vowel" << endl; } else if (c == 'u' || c == 'e') { cout << "vowel" << endl; } else if (c == 'o') { cout << "vowel" << endl; } else cout << "consanant" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i') { cout << "vowel" << endl; } else if (c == 'u' || c == 'e') { cout << "vowel" << endl; } else if (c == 'o') { cout << "vowel" << endl; } else cout << "consonant" << endl; }
[ "literal.string.change", "io.output.change" ]
1,464,170
1,464,171
u032308915
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char 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; } }
[]
1,464,174
1,464,175
u694766284
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 << "vouel" << 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,176
1,464,177
u924667289
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" << 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; } }
[ "literal.string.change", "io.output.change" ]
1,464,181
1,464,182
u555689308
cpp
p03852
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <map> #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 << "consonat" << endl; ...
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <map> #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,187
1,464,188
u260525363
cpp
p03852
#include <bits/stdc++.h> using namespace std; #define ll long long #define rep(i, n) for (int i = 0; i < (n); ++i) double const PI = 3.1415926535897932384626433; using P = pair<int, int>; int main() { char c; if (c == 'a' || c == 'o' || c == 'e' || c == 'i' || c == 'u') cout << "vowel" << endl; else cou...
#include <bits/stdc++.h> using namespace std; #define ll long long #define rep(i, n) for (int i = 0; i < (n); ++i) double const PI = 3.1415926535897932384626433; using P = pair<int, int>; int main() { char c; cin >> c; if (c == 'a' || c == 'o' || c == 'e' || c == 'i' || c == 'u') cout << "vowel" << endl; ...
[]
1,464,199
1,464,200
u536467193
cpp
p03852
#include <cstdio> int main() { char c; scanf("%c", &c); if (c == 'a' || c == 'e' || c == 'i' || c == '0' || c == 'u') printf("vowel\n"); else printf("consonant\n"); return 0; }
#include <stdio.h> int main() { char c; scanf("%c", &c); if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') printf("vowel\n"); else printf("consonant\n"); return 0; }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
1,464,207
1,464,208
u353919145
cpp
p03852
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') cout << c << " is vowel"; else cout << "consonant"; }
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') cout << " vowel"; else cout << "consonant"; }
[ "expression.operation.binary.remove", "literal.string.change", "io.output.change" ]
1,464,209
1,464,210
u018679195
cpp
p03852
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'o' || c == 'e' || c == 'i' || c == 'u') { cout << "vowel"; } else { cout << "conostant"; } return 0; }
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'e' || c == 'o' || c == 'u') { cout << "vowel"; } else { cout << "consonant"; } return 0; }
[ "literal.string.change", "control_flow.branch.if.condition.change", "io.output.change" ]
1,464,211
1,464,212
u018679195
cpp
p03852
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'o' || c == 'e' || c == 'i' || c == 'u') { cout << "Vowel"; } else { cout << "Constant"; } return 0; }
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || c == 'e' || c == 'o' || c == 'u') { cout << "vowel"; } else { cout << "consonant"; } return 0; }
[ "literal.string.change", "control_flow.branch.if.condition.change", "literal.string.case.change", "io.output.change" ]
1,464,213
1,464,212
u018679195
cpp
p03852
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'o' || c == 'e' || c == 'i' || c == 'u') { cout << "vowel"; } else { cout << "conostant"; } return 0; }
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'o' || c == 'e' || c == 'i' || c == 'u') { cout << "vowel"; } else { cout << "consonant"; } return 0; }
[ "literal.string.change", "io.output.change" ]
1,464,211
1,464,214
u018679195
cpp
p03852
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'o' || c == 'e' || c == 'i' || c == 'u') { cout << "Vowel"; } else { cout << "Constant"; } return 0; }
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'o' || c == 'e' || c == 'i' || c == 'u') { cout << "vowel"; } else { cout << "consonant"; } return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,464,213
1,464,214
u018679195
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'u') cout << "vowel\n"; else cout << "consonant\n"; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'u' || c == 'o') cout << "vowel\n"; else cout << "consonant\n"; }
[ "control_flow.branch.if.condition.change" ]
1,464,219
1,464,220
u048764593
cpp
p03852
#include <bits/stdc++.h> using namespace std; // 居合を終え、青い絵を覆う int main() { char c; cin >> c; if (c == 'a' || c == 'i' || 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; }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
1,464,223
1,464,224
u024134162
cpp
p03852
#include <bits/stdc++.h> using namespace std; // 居合を終え、青い絵を覆う int main() { char c; cin >> c; if (c == 'a' || c == 'i' || 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; } return 0; }
[ "literal.string.change", "control_flow.branch.if.condition.change", "control_flow.return.add", "control_flow.return.0.add" ]
1,464,225
1,464,224
u024134162
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'i' || 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; } return 0; }
[ "literal.string.change", "control_flow.branch.if.condition.change", "control_flow.return.add", "control_flow.return.0.add" ]
1,464,226
1,464,224
u024134162
cpp
p03852
#include <algorithm> #include <functional> #include <iomanip> #include <iostream> #include <limits.h> #include <map> #include <math.h> #include <queue> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <string> #include <unordered_map> #include <vector> using namespace std; #define intmax INT_MAX #de...
#include <algorithm> #include <functional> #include <iomanip> #include <iostream> #include <limits.h> #include <map> #include <math.h> #include <queue> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <string> #include <unordered_map> #include <vector> using namespace std; #define intmax INT_MAX #de...
[ "assignment.variable.change", "identifier.change" ]
1,464,232
1,464,233
u125669112
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 << "vouel" << 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; }
[ "literal.string.change", "io.output.change" ]
1,464,238
1,464,239
u936176493
cpp
p03852
#include <iostream> using namespace std; int main(void) { // Your code here! string c; cin >> c; if (c == "a" || c == "i") cout << "vowel" << endl; if (c == "u" || c == "e") cout << "vowel" << endl; if (c == "o") cout << "vowel" << endl; else cout << "consonant" << endl; }
#include <iostream> using namespace std; int main(void) { // Your code here! string c; cin >> c; if (c == "a" || c == "i") cout << "vowel" << endl; else if (c == "u" || c == "e") cout << "vowel" << endl; else if (c == "o") cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove" ]
1,464,240
1,464,241
u525778876
cpp
p03852
#include <iostream> using namespace std; int main(void) { // Your code here! string c; cin >> c; if (c == "a" || c == "i") cout << "vowel" << endl; if (c == "u" || c == "e") cout << "vowel" << endl; if (c == "o") cout << "vowel" << endl; else cout << "consonanto" << endl; }
#include <iostream> using namespace std; int main(void) { // Your code here! string c; cin >> c; if (c == "a" || c == "i") cout << "vowel" << endl; else if (c == "u" || c == "e") cout << "vowel" << endl; else if (c == "o") cout << "vowel" << endl; else cout << "consonant" << endl; }
[ "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove", "literal.string.change", "io.output.change" ]
1,464,242
1,464,241
u525778876
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; switch (c) { case 'a': cout << "vowel" << endl; break; case 'i': cout << "vowel" << endl; break; case 'u': cout << "vowel" << endl; break; case 'e': cout << "vowel" << endl; break; case 'o': ...
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; switch (c) { case 'a': cout << "vowel" << endl; break; case 'i': cout << "vowel" << endl; break; case 'u': cout << "vowel" << endl; break; case 'e': cout << "vowel" << endl; break; case 'o': ...
[ "literal.string.change", "io.output.change" ]
1,464,245
1,464,246
u456619925
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 == 'e') + (c == 'o') + (c == 'u')) { cout << "vowel" << endl; } else { cout << "cousonant" << 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 == 'e') + (c == 'o') + (c == 'u')) { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,251
1,464,252
u011233602
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; }
#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,253
1,464,254
u105533331
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char str; cin >> str; if (str == 'a' || str == 'i' || str == 'u' || str == 'a' || str == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char str; cin >> str; if (str == 'a' || str == 'i' || str == 'u' || str == 'e' || str == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
1,464,255
1,464,256
u242893321
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 << "constant" << 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,261
1,464,262
u023127434
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char x; cin >> x; if (x == 'a' || x == 'i' || x == 'u' || x == 'e' || x == 'o') { cout << 'vowel' << endl; } else { cout << 'consonant' << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char x; cin >> x; if (x == 'a' || x == 'i' || x == 'u' || x == 'e' || x == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "io.output.change", "literal.string.change" ]
1,464,263
1,464,264
u792279959
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; } cout << "consonant" << 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; } }
[ "control_flow.branch.else.add" ]
1,464,265
1,464,266
u034706557
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; }
[ "literal.string.change", "literal.string.case.change", "control_flow.branch.if.condition.change" ]
1,464,269
1,464,270
u941653970
cpp
p03852
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') cout << "cowel" << endl; else cout << "consonant" << endl; }
#include <iostream> 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,271
1,464,272
u378192507
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char S; cin >> S; if (S == 'a' or S == 'i' or S == 'u' or S == 'e' or 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' or S == 'i' or S == 'u' or S == 'e' or S == 'o') { cout << "vowel" << endl; } else { cout << "consonant" << endl; } }
[ "literal.string.change", "io.output.change" ]
1,464,280
1,464,281
u720314082
cpp
p03852
#include <iostream> #include <stdio.h> #include <string> int main(void) { char s; std::cin >> s; if (s == 'a' || s == 'i' || s == 'u' || s == 'e' || s == 'o') { std::cout << "vowe1"; } else { std::cout << "consonant"; } return 0; }
#include <iostream> #include <stdio.h> #include <string> int main(void) { char s; std::cin >> s; if (s == 'a' || s == 'i' || s == 'u' || s == 'e' || s == 'o') { std::cout << "vowel"; } else { std::cout << "consonant"; } return 0; }
[ "literal.string.change", "expression.operation.binary.change" ]
1,464,284
1,464,285
u973663980
cpp
p03852
#include <bits/stdc++.h> using namespace std; int main() { char c; string flag; cin >> c; flag = "counsonant"; if (c == 'a' || c == 'i') { flag = "vowel"; } if (c == 'u' || c == 'e') { flag = "vowel"; } if (c == 'o') { flag = "vowel"; } cout << flag << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char c; string flag; cin >> c; flag = "consonant"; if (c == 'a' || c == 'i') { flag = "vowel"; } if (c == 'u' || c == 'e') { flag = "vowel"; } if (c == 'o') { flag = "vowel"; } cout << flag << endl; }
[ "literal.string.change", "assignment.value.change" ]
1,464,288
1,464,289
u785344683
cpp
p03852
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { string c; bool ans = false; vector<string> vect = {"a", "i", "u", "e", "o"}; cin >> c; for (int i = 0; i < 5; i++) { if (vect.at(i) == c) { ans = true; } } if (ans == true) { cout << "vowl" << endl; } e...
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { string c; bool ans = false; vector<string> vect = {"a", "i", "u", "e", "o"}; cin >> c; for (int i = 0; i < 5; i++) { if (vect.at(i) == c) { ans = true; } } if (ans) { cout << "vowel" << endl; } else { ...
[ "expression.operation.binary.remove", "literal.string.change", "io.output.change" ]
1,464,290
1,464,291
u312666261
cpp
p03852
#include <bits/stdc++.h> #define ll long long #define rep(i, begin, end) \ for (__typeof(end) i = (begin) - ((begin) > (end)); \ i != (end) - ((begin) > (end)); \ i += 1 - 2 * ((begin) > ...
#include <bits/stdc++.h> #define ll long long #define rep(i, begin, end) \ for (__typeof(end) i = (begin) - ((begin) > (end)); \ i != (end) - ((begin) > (end)); \ i += 1 - 2 * ((begin) > ...
[ "literal.string.change", "io.output.change" ]
1,464,294
1,464,295
u494904817
cpp