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 <stdio.h>
int main(void) {
char s;
scanf("%c", s);
if (s == 'a' || s == 'e' || s == 'i' || s == 'o' || s == 'u') {
printf("vowel\n");
} else {
printf("consonant\n");
}
return 0;
} | #include <stdio.h>
int main(void) {
char s;
scanf("%c", &s);
if (s == 'a' || s == 'e' || s == 'i' || s == 'o' || s == 'u') {
printf("vowel\n");
} else {
printf("consonant\n");
}
return 0;
} | [
"expression.operation.unary.reference.add"
] | 1,465,284 | 1,465,285 | u644911355 | cpp |
p03852 | #include <iostream>
using namespace std;
int main() {
int c;
cin >> c;
bool flg = false;
char check[5] = {'a', 'i', 'u', 'e', 'o'};
for (int i = 0; i < 5; ++i) {
if (c == check[i]) {
flg = true;
break;
}
}
cout << ((flg) ? "vowel" : "consonant") << endl;
} | #include <iostream>
using namespace std;
int main() {
char c;
cin >> c;
bool flg = false;
char check[5] = {'a', 'i', 'u', 'e', 'o'};
for (int i = 0; i < 5; ++i) {
if (c == check[i]) {
flg = true;
break;
}
}
cout << ((flg) ? "vowel" : "consonant") << endl;
}
| [
"variable_declaration.type.primitive.change"
] | 1,465,286 | 1,465,287 | u397847744 | 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,465,292 | 1,465,293 | u675109620 | cpp |
p03852 | #include <algorithm>
#include <bits/stdc++.h>
#include <cstdlib>
#include <iostream>
#include <string>
#include <typeinfo>
#include <vector>
using namespace std;
int main() {
string v = "aiueo";
char c;
cin >> c;
for (int i = 0; i < 5; i++) {
if (c == v.at(i)) {
cout << "vowel" << endl;
break;
... | #include <algorithm>
#include <bits/stdc++.h>
#include <cstdlib>
#include <iostream>
#include <string>
#include <typeinfo>
#include <vector>
using namespace std;
int main() {
string v = "aiueo";
char c;
cin >> c;
for (int i = 0; i < 5; i++) {
if (c == v.at(i)) {
cout << "vowel" << endl;
break;
... | [
"literal.string.change",
"io.output.change"
] | 1,465,294 | 1,465,295 | u662614053 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
char character;
cin >> character;
if (character == 'a' || character == 'i' || character == 'u' ||
character == 'e' || character == 'o') {
cout << 'vowel' << endl;
} else {
cout << 'consonant' << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char character;
cin >> character;
if (character == 'a' || character == 'i' || character == 'u' ||
character == 'e' || character == 'o') {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
}
| [
"io.output.change",
"literal.string.change"
] | 1,465,298 | 1,465,299 | u583742345 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
char character;
cin >> character;
if (character == 'a' || character == 'i' || character == 'u' ||
character == 'e' || character == 'o') {
cout << "vowel" << endl;
} else {
cout << "consonance" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char character;
cin >> character;
if (character == 'a' || character == 'i' || character == 'u' ||
character == 'e' || character == 'o') {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
}
| [
"literal.string.change",
"io.output.change"
] | 1,465,300 | 1,465,299 | u583742345 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
char character;
cin >> character;
if (character == 'a' || character == 'i' || character == 'u' ||
character == 'e' || character == 'o') {
cout << 'vowel' << endl;
} else {
cout << 'consonance' << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char character;
cin >> character;
if (character == 'a' || character == 'i' || character == 'u' ||
character == 'e' || character == 'o') {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
}
| [
"io.output.change",
"literal.string.change"
] | 1,465,301 | 1,465,299 | u583742345 | cpp |
p03852 |
#include <iostream>
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 <iostream>
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,465,306 | 1,465,307 | u142946678 | cpp |
p03852 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; i++)
#define rfor(i, a, b) for (int i = a; i < (int)b; i++)
#define all(ary) (ary).begin(), (ary).end()
#define debug(x) cerr << #x << ": " << x << '\n'
const int INF = 100100100;
const int MOD = (int)1e9 + 7;
using namespace std;
using v = vector<i... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; i++)
#define rfor(i, a, b) for (int i = a; i < (int)b; i++)
#define all(ary) (ary).begin(), (ary).end()
#define debug(x) cerr << #x << ": " << x << '\n'
const int INF = 100100100;
const int MOD = (int)1e9 + 7;
using namespace std;
using v = vector<i... | [
"literal.string.change",
"assignment.value.change"
] | 1,465,311 | 1,465,312 | u924820636 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
string x;
cin >> x;
if (x == "a" || x == "i" || x == "u" || x == "e" || x == "o") {
cout << "vowl" << endl;
} else {
cout << "consonant" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string x;
cin >> x;
if (x == "a" || x == "i" || x == "u" || x == "e" || x == "o") {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
}
| [
"literal.string.change",
"io.output.change"
] | 1,465,313 | 1,465,314 | u959815036 | cpp |
p03852 | #include <stdio.h>
int main(void) {
char c;
scanf("%s", c);
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o')
printf("vowel");
else
printf("consonant");
} | #include <stdio.h>
int main(void) {
char c;
scanf("%c", &c);
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o')
printf("vowel");
else
printf("consonant");
} | [
"literal.string.change",
"call.arguments.change",
"expression.operation.unary.reference.add"
] | 1,465,317 | 1,465,318 | u995322391 | cpp |
p03852 | #include <algorithm>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
int inf = (1 << 30);
int mod = 1e9 + 7;
int64_t inf64 = (1LL << 60);
template <typename T> T gcd(T a, T b) {
if (b == 0)
return a;
else
return gc... | #include <algorithm>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
int inf = (1 << 30);
int mod = 1e9 + 7;
int64_t inf64 = (1LL << 60);
template <typename T> T gcd(T a, T b) {
if (b == 0)
return a;
else
return gc... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,465,323 | 1,465,324 | u152315108 | cpp |
p03852 |
#include "bits/stdc++.h"
// clang-format off
template <typename T> T gcd(T a, T b) { return b == 0 ? a : gcd(b, a % b); }
template <typename T> T lcm(T a, T b) { return a * b / gcd(a, b); }
template <typename T> T clamp(T val, T min, T max) { return val < min ? min : (max < val ? max : val); }
char capitalize(char c)... |
#include "bits/stdc++.h"
// clang-format off
template <typename T> T gcd(T a, T b) { return b == 0 ? a : gcd(b, a % b); }
template <typename T> T lcm(T a, T b) { return a * b / gcd(a, b); }
template <typename T> T clamp(T val, T min, T max) { return val < min ? min : (max < val ? max : val); }
char capitalize(char c)... | [
"literal.string.change",
"io.output.change"
] | 1,465,327 | 1,465,328 | u076865901 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a;
cin >> a;
if (a == "a" || a == "i") {
cout << "vowel" << endl;
}
if (a == "u" || a == "e") {
cout << "vowel" << endl;
}
if (a == "o") {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a;
cin >> a;
if (a == "a" || a == "i") {
cout << "vowel" << endl;
} else if (a == "u" || a == "e") {
cout << "vowel" << endl;
} else if (a == "o") {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
} | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,465,333 | 1,465,334 | u551813187 | cpp |
p03852 | #include <algorithm>
#include <iostream>
#include <math.h>
#include <stdio.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 <algorithm>
#include <iostream>
#include <math.h>
#include <stdio.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,465,335 | 1,465,336 | u127768253 | cpp |
p03852 | #include <iostream>
#include <string>
using namespace std;
int main(void) {
string a;
if (a == "a" || a == "e" || a == "i" || a == "o" || a == "u")
cout << "vowel" << endl;
else
cout << "consonant" << endl;
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main(void) {
string a;
cin >> a;
if (a == "a" || a == "e" || a == "i" || a == "o" || a == "u")
cout << "vowel" << endl;
else
cout << "consonant" << endl;
return 0;
} | [] | 1,465,339 | 1,465,340 | u454349421 | 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,465,341 | 1,465,342 | u900303768 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'i')
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,465,343 | 1,465,342 | u900303768 | 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() {
cin.tie(0);
ios::sync_with_stdio(false);
char c;
cin >> c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') {
cout << "vowel" << endl;
} else {
cout << "conson... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
char c;
cin >> c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') {
cout << "vowel" << endl;
} else {
cout << "conson... | [
"literal.string.change",
"io.output.change"
] | 1,465,346 | 1,465,347 | u520129469 | cpp |
p03852 | #include <algorithm>
#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 << "constant" << endl;
} | #include <algorithm>
#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,465,354 | 1,465,355 | u375937493 | cpp |
p03852 | #include <iostream>
using namespace std;
#include <string>
int main() {
string c;
cin >> c;
string aeiou = "aeiou";
if (c.find(aeiou) == string::npos)
cout << "consonant";
else
cout << "vowel";
cout << endl;
return 0;
} | #include <iostream>
using namespace std;
#include <string>
int main() {
string c;
cin >> c;
string aeiou = "aeiou";
if (aeiou.find(c) == string::npos)
cout << "consonant";
else
cout << "vowel";
cout << endl;
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,465,358 | 1,465,359 | u601575292 | 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",
"control_flow.branch.if.condition.change"
] | 1,465,363 | 1,465,364 | u607465351 | cpp |
p03852 | #define REP(i, n) for (int i = 0; i < n; i++)
#define INF 2e9
#define ll long long
#define SORT(v, n) sort(v, v + n);
#define VSORT(v) sort(v.begin(), v.end());
#define ALL(v) v.begin(), v.end()
#include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> P;
typedef pair<ll, ll> LP;
int dy[] = {0, 0, 1, -1};
... | #define REP(i, n) for (int i = 0; i < n; i++)
#define INF 2e9
#define ll long long
#define SORT(v, n) sort(v, v + n);
#define VSORT(v) sort(v.begin(), v.end());
#define ALL(v) v.begin(), v.end()
#include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> P;
typedef pair<ll, ll> LP;
int dy[] = {0, 0, 1, -1};
... | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 1,465,365 | 1,465,366 | u128196936 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
string vowel = "aiueo";
string ans = "consonant";
for (int i = 0; i < 5; i++) {
if (c == vowel.at(i))
ans = "vowel";
break;
}
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
string vowel = "aiueo";
string ans = "consonant";
for (int i = 0; i < 5; i++) {
if (c == vowel.at(i)) {
ans = "vowel";
break;
}
}
cout << ans;
}
| [
"expression.operation.binary.remove"
] | 1,465,377 | 1,465,378 | u675387700 | cpp |
p03852 | ///*
#include <iostream>
using namespace std;
int main() {
char x;
cin >> x;
if (x == 'a' || x == 'i' || x == 'u' || x == 'e' || x == 'o') {
cout << "vowel";
} else {
cout << "constant";
}
return 0;
}
//*/ | ///*
#include <iostream>
using namespace std;
int main() {
char x;
cin >> x;
if (x == 'a' || x == 'i' || x == 'u' || x == 'e' || x == 'o') {
cout << "vowel";
} else {
cout << "consonant";
}
return 0;
}
//*/ | [
"literal.string.change",
"io.output.change"
] | 1,465,379 | 1,465,380 | u589734885 | cpp |
p03852 | #include <iostream>
using namespace std;
int main() {
char s;
cin >> s;
if (s == 'a' && s == 'o' && s == 'u' && s == 'i' && s == 'e') {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
char s;
cin >> s;
if (s == 'a' || s == 'o' || s == 'u' || s == 'i' || s == 'e') {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
} | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,465,387 | 1,465,388 | u498467508 | cpp |
p03852 | #include <iostream>
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 << "constant" << endl;
}
} | #include <iostream>
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;
}
} | [
"literal.string.change",
"io.output.change"
] | 1,465,391 | 1,465,392 | u271545619 | cpp |
p03852 | #include <iostream>
using namespace std;
int main() {
char a;
cin >> a;
if (a == 'a' || a == 'i' || a == 'u' || a == 'e' || a == 'o')
cout << "vowel" << endl;
else
cout << "consonent" << endl;
}
| #include <iostream>
using namespace std;
int main() {
char a;
cin >> a;
if (a == 'a' || a == 'i' || a == 'u' || a == 'e' || a == 'o')
cout << "vowel" << endl;
else
cout << "consonant" << endl;
}
| [
"literal.string.change",
"io.output.change"
] | 1,465,395 | 1,465,396 | u424333771 | cpp |
p03852 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <numeric>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define repi(i, start, end) for (int i = start; i < end; i++)
#define all(x) (x).begin(), (x).end()
typedef long long ll;
int main() {
... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <numeric>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define repi(i, start, end) for (int i = start; i < end; i++)
#define all(x) (x).begin(), (x).end()
typedef long long ll;
int main() {
... | [
"literal.string.change",
"io.output.change"
] | 1,465,399 | 1,465,400 | u934073187 | cpp |
p03852 | #include <iostream>
#include <string>
using namespace std;
int main() {
char c;
cin >> c;
const string vowel = "aeiou";
vowel.find(c) == string::npos ? (cout << "vowel") : (cout << "consonant");
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
char c;
cin >> c;
const string vowel = "aeiou";
vowel.find(c) != string::npos ? (cout << "vowel") : (cout << "consonant");
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,465,401 | 1,465,402 | u384124931 | cpp |
p03852 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
static const int MAX = 200000;
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 <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
static const int MAX = 200000;
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,465,403 | 1,465,404 | u461833298 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a == 'a' || a == 'i' || a == 'u' || a == 'o' || a == 'u')
cout << "vowel" << endl;
else
cout << "consonant" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a == 'a' || a == 'i' || a == 'u' || a == 'e' || a == 'o')
cout << "vowel" << endl;
else
cout << "consonant" << endl;
} | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 1,465,409 | 1,465,410 | u209011781 | cpp |
p03852 | #include <algorithm>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
using namespace std;
int main(int argc, char *argv[]) {
int c;
cin >> c;
switch (c) {
case 'a':
case 'e':
case 'i':
case 'u':
case 'o':
cout << "vowel";
break;
default:
cout << "consonant";
... | #include <algorithm>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
using namespace std;
int main(int argc, char *argv[]) {
char c;
cin >> c;
switch (c) {
case 'a':
case 'e':
case 'i':
case 'u':
case 'o':
cout << "vowel";
break;
default:
cout << "consonant";
... | [
"variable_declaration.type.primitive.change"
] | 1,465,411 | 1,465,412 | u202813867 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
int main() {
char ch;
if (ch != 'a' && ch != 'e' && ch != 'i' && ch != 'o' && ch != 'u')
cout << "consonant";
else
cout << "vowel";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
int main() {
char ch;
cin >> ch;
if (ch != 'a' && ch != 'e' && ch != 'i' && ch != 'o' && ch != 'u')
cout << "consonant";
else
cout << "vowel";
return 0;
}
| [] | 1,465,416 | 1,465,417 | u994695881 | cpp |
p03852 | #include <algorithm>
#include <cstring>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
int main() {
string str = "aeiou";
char c;
cin >> c;
if (str.find(c) >= 0) {
puts("vowel");
} else {
puts("consonant");
}
... | #include <algorithm>
#include <cstring>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
int main() {
string str = "aeiou";
char c;
cin >> c;
if ((int)str.find(c) >= 0) {
puts("vowel");
} else {
puts("consonant");
... | [
"control_flow.branch.if.condition.change"
] | 1,465,421 | 1,465,422 | u949798495 | cpp |
p03852 | #include <algorithm>
#include <cstring>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
int main() {
string str = "aeiou";
char c;
cin >> c;
if (str.find(c)) {
puts("vowel");
} else {
puts("consonant");
}
retu... | #include <algorithm>
#include <cstring>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
int main() {
string str = "aeiou";
char c;
cin >> c;
if ((int)str.find(c) >= 0) {
puts("vowel");
} else {
puts("consonant");
... | [
"control_flow.branch.if.condition.change"
] | 1,465,423 | 1,465,422 | u949798495 | 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 << "consnant" << 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,465,424 | 1,465,425 | u250101177 | cpp |
p03852 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
int main() {
char a;
cin >> a;
string v = " aiueo";
if (v.find(a)) {
cout << "vowel" << endl;
} else
cout << "consonant" << endl;
return 0;
} | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
int main() {
char a;
cin >> a;
string v = "aiueo";
if (v.find(a) < 5) {
cout << "vowel" << endl;
} else
cout << "consonant" << endl;
return 0;
} | [
"literal.string.change",
"variable_declaration.value.change",
"control_flow.branch.if.condition.change"
] | 1,465,436 | 1,465,437 | u817760251 | cpp |
p03852 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
int main() {
char a;
cin >> a;
string v = "aiueo";
if (v.find(a)) {
cout << "vowel" << endl;
} else
cout << "consonant" << endl;
return 0;
}
| #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
int main() {
char a;
cin >> a;
string v = "aiueo";
if (v.find(a) < 5) {
cout << "vowel" << endl;
} else
cout << "consonant" << endl;
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 1,465,438 | 1,465,437 | u817760251 | 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";
}
} | #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 << "consonant";
}
}
| [
"literal.string.change",
"io.output.change"
] | 1,465,445 | 1,465,446 | u264288923 | cpp |
p03852 | #include <iostream>
using namespace std;
int main() {
char c;
cin >> c;
if ((c == 'a') || (c == 'e') || (c == 'i') || (c == 'o') || (c == 'o')) {
cout << "vowel" << endl;
return 0;
}
cout << "consonant" << endl;
return 0;
}
| #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;
return 0;
}
cout << "consonant" << endl;
return 0;
}
| [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 1,465,447 | 1,465,448 | u061732150 | cpp |
p03852 | /*
|\_/|
|* *|
\_+_/
*/
#include <bits/stdc++.h>
#define endl '\n'
using namespace std;
int main() {
cin.tie(0); // cout と cin の同期を切る
ios::sync_with_stdio(false); /* cの stdioストリーム (printfとか)と*/
char c;
cin >> c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') ... | /*
|\_/|
|* *|
\_+_/
*/
#include <bits/stdc++.h>
#define endl '\n'
using namespace std;
int main() {
cin.tie(0); // cout と cin の同期を切る
ios::sync_with_stdio(false); /* cの stdioストリーム (printfとか)と*/
char c;
cin >> c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,465,449 | 1,465,450 | u858520692 | cpp |
p03852 | #include <iostream>
#include <string>
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 << "cousonant" << endl;
}
return 0;
}
| #include <iostream>
#include <string>
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,465,457 | 1,465,458 | u948425288 | 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 << "vowel" << endl;
} else {
cout << "cousonant" << endl;
}
return 0;
}
| #include <iostream>
#include <string>
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;
}
| [
"import.add",
"literal.string.change",
"io.output.change"
] | 1,465,459 | 1,465,458 | u948425288 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
cin >> str;
if (str == "a" || str == "i" || str == "u" || str == "e" || str == "o") {
cout << "vowel" << endl;
} else {
cout << "constant" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
cin >> str;
if (str == "a" || str == "i" || str == "u" || str == "e" || str == "o") {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
} | [
"literal.string.change",
"io.output.change"
] | 1,465,462 | 1,465,463 | u611655181 | cpp |
p03852 | #include <iostream>
int main() {
int c;
std::cin >> c;
if (c == 'a') {
std::cout << "vowel" << std::endl;
} else if (c == 'i') {
std::cout << "vowel" << std::endl;
} else if (c == 'u') {
std::cout << "vowel" << std::endl;
}
else if (c == 'e') {
std::cout << "vowel" << std::endl;
} else ... | #include <iostream>
int main() {
char c;
std::cin >> c;
if (c == 'a') {
std::cout << "vowel" << std::endl;
} else if (c == 'i') {
std::cout << "vowel" << std::endl;
} else if (c == 'u') {
std::cout << "vowel" << std::endl;
}
else if (c == 'e') {
std::cout << "vowel" << std::endl;
} else... | [
"variable_declaration.type.primitive.change"
] | 1,465,464 | 1,465,465 | u981314341 | cpp |
p03852 | #include <algorithm>
#include <functional>
#include <iostream>
#include <map>
#include <utility>
#include <vector>
using namespace std;
int main() {
char a;
cin >> a;
if (a == 'a' && a == 'i' && a == 'u' && a == 'e' && a == 'o') {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
ret... | #include <algorithm>
#include <functional>
#include <iostream>
#include <map>
#include <utility>
#include <vector>
using namespace std;
int main() {
char a;
cin >> a;
if (a == 'a' || a == 'i' || a == 'u' || a == 'e' || a == 'o') {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
ret... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,465,466 | 1,465,467 | u093922224 | cpp |
p03852 | #include <iostream>
int main() {
char c;
std::cin >> c;
if (c == 'a') {
std::cout << "vowel" << std::endl;
} else if (c == 'e') {
std::cout << "vowel" << std::endl;
} else if (c == 'i') {
std::cout << "vowel" << std::endl;
} else if (c == 'o') {
std::cout << "vowel" << std::endl;
} else ... | #include <iostream>
int main() {
char c;
std::cin >> c;
if (c == 'a') {
std::cout << "vowel" << std::endl;
} else if (c == 'e') {
std::cout << "vowel" << std::endl;
} else if (c == 'i') {
std::cout << "vowel" << std::endl;
} else if (c == 'o') {
std::cout << "vowel" << std::endl;
} else ... | [
"literal.string.change",
"expression.operation.binary.change"
] | 1,465,468 | 1,465,469 | u875731881 | cpp |
p03852 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstdio>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <ve... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstdio>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <ve... | [
"literal.string.change",
"io.output.change"
] | 1,465,470 | 1,465,471 | u745906650 | 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 << "consonan" << 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,465,478 | 1,465,479 | u302870145 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
char ch;
cin >> ch;
if (ch == 'a' || ch == 'i' || ch == 'u' || ch == 'e' || ch == 'o') {
cout << "vowel" << endl;
} else {
cout << "constatnt" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char ch;
cin >> ch;
if (ch == 'a' || ch == 'i' || ch == 'u' || ch == 'e' || ch == 'o') {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 1,465,480 | 1,465,481 | u279545555 | cpp |
p03852 | #include <iostream>
#include <string>
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 << "consonnant" << endl;
} | #include <iostream>
#include <string>
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;
} | [
"literal.string.change",
"io.output.change"
] | 1,465,482 | 1,465,483 | u147049801 | cpp |
p03852 | #include <algorithm>
#include <iostream>
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 << "vowel" << endl;
}
}
| #include <algorithm>
#include <iostream>
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,465,484 | 1,465,485 | u394482932 | cpp |
p03852 | #include <cstring>
#include <iostream>
using namespace std;
int main(void) {
char str[100];
cin >> str;
if (str[0] == 'a' || str[0] == 'i' || str[0] == 'u' || str[0] == 'e' ||
str[0] == 'o') {
cout << "vowe1" << endl;
} else {
cout << "consonant" << endl;
}
}
| #include <cstring>
#include <iostream>
using namespace std;
int main(void) {
char str[100];
cin >> str;
if (str[0] == 'a' || str[0] == 'i' || str[0] == 'u' || str[0] == 'e' ||
str[0] == 'o') {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
} | [
"literal.string.change",
"io.output.change"
] | 1,465,489 | 1,465,490 | u949657644 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
string V = "aiueo";
char c;
int ans = 0;
cin >> c;
for (int i = 0; i < 5; i++) {
if (c = V.at(i))
ans++;
}
if (ans)
cout << "vowel";
else
cout << "consonant";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string V = "aiueo";
char c;
int ans = 0;
cin >> c;
for (int i = 0; i < 5; i++) {
if (c == V.at(i))
ans++;
}
if (ans)
cout << "vowel";
else
cout << "consonant";
}
| [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,465,491 | 1,465,492 | u205561862 | cpp |
p03852 | #include <bits/stdc++.h>
#include <string>
using namespace std;
int main() {
int A, B, N, M, H, W;
int i, j, k;
int min = 1000000000;
int max = 0;
// int a,b,c,d;
int count = 0, count_two = 0, v;
string moji[50];
char c;
cin >> c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o')... | #include <bits/stdc++.h>
#include <string>
using namespace std;
int main() {
int A, B, N, M, H, W;
int i, j, k;
int min = 1000000000;
int max = 0;
// int a,b,c,d;
int count = 0, count_two = 0, v;
string moji[50];
char c;
cin >> c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o')... | [
"literal.string.change",
"io.output.change"
] | 1,465,493 | 1,465,494 | u527951625 | cpp |
p03852 | #include <iostream>
using namespace std;
int main(void) {
char c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'o' || c == 'e')
cout << "vowel";
else
cout << "consonant";
cout << endl;
} | #include <iostream>
using namespace std;
int main(void) {
char c;
cin >> c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'o' || c == 'e')
cout << "vowel";
else
cout << "consonant";
cout << endl;
} | [] | 1,465,495 | 1,465,496 | u911781487 | cpp |
p03852 | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
string c;
cin >> c;
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... | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
string c;
cin >> c;
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... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 1,465,498 | 1,465,499 | u897908619 | cpp |
p03852 | #include <iostream>
using namespace std;
int main(void) {
string c;
cin >> c;
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 == "u") {
... | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
string c;
cin >> c;
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... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 1,465,500 | 1,465,499 | u897908619 | cpp |
p03852 | #include <iostream>
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 <iostream>
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,465,502 | 1,465,503 | u451417461 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a == 'a' || a == 'i' || a == 'u' || a == 'e' || a == 'o')
cout << 'vowel' << endl;
else
cout << 'consonant' << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a == 'a' || a == 'i' || a == 'u' || a == 'e' || a == 'o')
cout << "vowel" << endl;
else
cout << "consonant" << endl;
} | [
"io.output.change",
"literal.string.change"
] | 1,465,504 | 1,465,505 | u513726585 | cpp |
p03852 | // include
//------------------------------------------
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include... | // include
//------------------------------------------
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include... | [
"literal.string.change",
"call.arguments.change"
] | 1,465,506 | 1,465,507 | u259053514 | cpp |
p03852 | #include <iostream>
#include <string>
int main() {
char c;
std::cin >> c;
char b[5] = {'a', 'e', 'i', 'o', 'u'};
for (int i = 0; i < 4; i++) {
if (b[i] == c) {
std::cout << "vowel" << std::endl;
return 0;
}
}
std::cout << "consonant" << std::endl;
return 0;
}
| #include <iostream>
#include <string>
int main() {
char c;
std::cin >> c;
char b[5] = {'a', 'e', 'i', 'o', 'u'};
for (int i = 0; i < 5; i++) {
if (b[i] == c) {
std::cout << "vowel" << std::endl;
return 0;
}
}
std::cout << "consonant" << std::endl;
return 0;
} | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,465,514 | 1,465,515 | u699804039 | cpp |
p03852 | #include <iostream>
using namespace std;
int main() {
char c;
if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u')
cout << "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";
}
| [] | 1,465,524 | 1,465,525 | u734774089 | cpp |
p03852 | #include <algorithm>
#include <cctype>
#include <complex>
#include <iomanip>
#include <iostream>
#include <queue>
#include <set>
#include <string>
#include <vector>
using std::cin;
using std::cout;
using std::endl;
using std::priority_queue;
using std::queue;
using std::set;
using std::string;
using std::to_string;
u... | #include <algorithm>
#include <cctype>
#include <complex>
#include <iomanip>
#include <iostream>
#include <queue>
#include <set>
#include <string>
#include <vector>
using std::cin;
using std::cout;
using std::endl;
using std::priority_queue;
using std::queue;
using std::set;
using std::string;
using std::to_string;
u... | [
"literal.string.change",
"io.output.change"
] | 1,465,571 | 1,465,572 | u643405868 | cpp |
p03852 | #include <algorithm>
#include <cctype>
#include <complex>
#include <iomanip>
#include <iostream>
#include <queue>
#include <set>
#include <string>
#include <vector>
using std::cin;
using std::cout;
using std::endl;
using std::priority_queue;
using std::queue;
using std::set;
using std::string;
using std::to_string;
u... | #include <algorithm>
#include <cctype>
#include <complex>
#include <iomanip>
#include <iostream>
#include <queue>
#include <set>
#include <string>
#include <vector>
using std::cin;
using std::cout;
using std::endl;
using std::priority_queue;
using std::queue;
using std::set;
using std::string;
using std::to_string;
u... | [
"literal.string.change",
"io.output.change"
] | 1,465,573 | 1,465,572 | u643405868 | cpp |
p03852 | #include <bits/stdc++.h>
#define rep(i, a, n) for (int i = a; i < n; i++)
#define per(i, n, a) for (int i = n - 1; i >= a; i--)
using namespace std;
int main() {
char c;
cin >> c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') {
cout << "vewel" << endl;
} else {
cout << "consonant" << en... | #include <bits/stdc++.h>
#define rep(i, a, n) for (int i = a; i < n; i++)
#define per(i, n, a) for (int i = n - 1; i >= a; i--)
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" << en... | [
"literal.string.change",
"io.output.change"
] | 1,465,576 | 1,465,577 | u974239829 | cpp |
p03852 | #include <cstdio>
using namespace std;
int main() {
char c;
scanf("%c", &c);
if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u')
printf("vowel\n");
else
printf("constant\n");
return 0;
} | #include <cstdio>
using namespace std;
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",
"call.arguments.change",
"io.output.change"
] | 1,465,580 | 1,465,581 | u587366956 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
#define int long long
typedef long long ll;
typedef unsigned long long ull;
// typedef unsigned __int128 HASH;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<ull, ull> pullull;
typedef pair<ll, int> plli;
typedef pair<double, int> pdbi;
typedef pair<int... | #include <bits/stdc++.h>
using namespace std;
#define int long long
typedef long long ll;
typedef unsigned long long ull;
// typedef unsigned __int128 HASH;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<ull, ull> pullull;
typedef pair<ll, int> plli;
typedef pair<double, int> pdbi;
typedef pair<int... | [
"literal.string.change",
"io.output.change"
] | 1,465,590 | 1,465,591 | u272028993 | cpp |
p03852 | #include <iostream>
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;
}
return 0;
} | #include <iostream>
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;
} | [] | 1,465,596 | 1,465,598 | u595893956 | cpp |
p03852 | #include <iostream>
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 <iostream>
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,465,600 | 1,465,602 | u280590671 | cpp |
p03852 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
char z;
cin >> z;
if (z == 'a' || z == 'i' || z == 'u' || z == 'e' || z == 'o')
cout << "vowel" << endl;
else
cout << "consonat" << endl;
return 0;
}
| #include <algorithm>
#include <iostream>
using namespace std;
int main() {
char z;
cin >> z;
if (z == 'a' || z == 'i' || z == 'u' || z == 'e' || z == 'o')
cout << "vowel" << endl;
else
cout << "consonant" << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 1,465,612 | 1,465,614 | u924885571 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
char c[1];
cin >> c;
if ((strcmp(c, "a")) == 0 || (strcmp(c, "i")) == 0 || (strcmp(c, "u")) == 0 ||
(strcmp(c, "e")) == 0 || (strcmp(c, "o")) == 0)
cout << "voewl" << endl;
else
cout << "consonant" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char c[1];
cin >> c;
if ((strcmp(c, "a")) == 0 || (strcmp(c, "i")) == 0 || (strcmp(c, "u")) == 0 ||
(strcmp(c, "e")) == 0 || (strcmp(c, "o")) == 0)
cout << "vowel" << endl;
else
cout << "consonant" << endl;
} | [
"literal.string.change",
"io.output.change"
] | 1,465,616 | 1,465,618 | u226393020 | cpp |
p03852 | #include <iostream>
using namespace std;
int main(void) {
int flag = 0;
char letter;
// char Vowels[5] = { "a","b", "c","d","e" };
string Vowel = "abcde";
cin >> letter;
for (int i = 0; i <= 4; i++) {
if (letter == Vowel[i]) {
cout << "vowel" << endl;
flag = 1;
break;
}
}
if... | #include <iostream>
using namespace std;
int main(void) {
int flag = 0;
char letter;
// char Vowels[5] = { "a","b", "c","d","e" };
string Vowel = "aiueo";
cin >> letter;
for (int i = 0; i <= 4; i++) {
if (letter == Vowel[i]) {
cout << "vowel" << endl;
flag = 1;
break;
}
}
if... | [
"literal.string.change",
"variable_declaration.value.change"
] | 1,465,620 | 1,465,623 | u354773735 | cpp |
p03852 | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <map>
#include <random>
#include <string>
#include <vector>
using namespace std;
#define MK make_pair
#define PB push_back
#define VI vector<int>
#define VII vector<int, int>
#define MSI map<string, int>
#define FOR(... | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <map>
#include <random>
#include <string>
#include <vector>
using namespace std;
#define MK make_pair
#define PB push_back
#define VI vector<int>
#define VII vector<int, int>
#define MSI map<string, int>
#define FOR(... | [
"literal.string.change",
"io.output.change"
] | 1,465,635 | 1,465,637 | u001513927 | cpp |
p03852 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
if (s == "a" || s == "e" || s == "u" || s == "o" || s == "u") {
cout << "vowel" << endl;
} else {
cout << "consonant" << endl;
}
return 0;
}
| #include <iostream>
#include <string>
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;
}
return 0;
}
| [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 1,465,644 | 1,465,646 | u093420647 | cpp |
p03852 | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
switch (x) {
case 'a':
cout << "vowel\n";
break;
case 'e':
cout << "vowel\n";
break;
case 'i':
cout << "vowel\n";
break;
case 'o':
cout << "vowel\n";
break;
case 'u':
cout << "vowel\n";
break... | #include <iostream>
using namespace std;
int main() {
char x;
cin >> x;
switch (x) {
case 'a':
cout << "vowel\n";
break;
case 'e':
cout << "vowel\n";
break;
case 'i':
cout << "vowel\n";
break;
case 'o':
cout << "vowel\n";
break;
case 'u':
cout << "vowel\n";
brea... | [
"variable_declaration.type.primitive.change"
] | 1,465,648 | 1,465,650 | u506768342 | cpp |
p03852 | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
#define WMAX 10000
#define HMAX 10000
//コメントアウトするとdebug()を実行しない
#define DEBUG
using namespace std;
t... | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
#define WMAX 10000
#define HMAX 10000
//コメントアウトするとdebug()を実行しない
#define DEBUG
using namespace std;
t... | [
"literal.string.change",
"variable_declaration.value.change"
] | 1,465,652 | 1,465,654 | u389055093 | cpp |
p03852 | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
#define WMAX 10000
#define HMAX 10000
//コメントアウトするとdebug()を実行しない
#define DEBUG
using namespace std;
t... | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
#define WMAX 10000
#define HMAX 10000
//コメントアウトするとdebug()を実行しない
#define DEBUG
using namespace std;
t... | [
"variable_declaration.value.change"
] | 1,465,656 | 1,465,654 | u389055093 | cpp |
p03852 | #include <iostream>
using namespace std;
int main(void) {
char c;
cin >> c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') {
cout << "vouel" << endl;
} else {
cout << "consonant" << endl;
}
} | #include <iostream>
using namespace std;
int main(void) {
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,465,665 | 1,465,667 | u869981622 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vint;
typedef pair<int, int> pint;
typedef vector<pint> vpint;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define reps(i, f, n) for (int i = (f); i < (n); i++)
#define each(it, v) ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vint;
typedef pair<int, int> pint;
typedef vector<pint> vpint;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define reps(i, f, n) for (int i = (f); i < (n); i++)
#define each(it, v) ... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,465,526 | 1,465,527 | u029876051 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, k, n) for (int i = (int)(k); i < (int)(n); i++)
#define REP(i, n) FOR(i, 0, n)
#define ALL(a) a.begin(), a.end()
#define MS(m, v) memset(m, v, sizeof(m))
typedef long long ll;
typedef long double ld;
typedef vector<int> vi;
typedef vector<string> vs;
typedef ... | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, k, n) for (int i = (int)(k); i < (int)(n); i++)
#define REP(i, n) FOR(i, 0, n)
#define ALL(a) a.begin(), a.end()
#define MS(m, v) memset(m, v, sizeof(m))
typedef long long ll;
typedef long double ld;
typedef vector<int> vi;
typedef vector<string> vs;
typedef ... | [
"control_flow.branch.if.condition.change"
] | 1,465,530 | 1,465,531 | u588568850 | 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'))
printf("vowel");
else
printf("consonant");
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'))
printf("vowel");
else
printf("consonant");
return 0;
} | [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,465,534 | 1,465,535 | u037927247 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
string s = "aiueo";
int main() {
char inp;
scanf("%c", &inp);
if (s.find(inp) != string::npos)
cout << "consonant" << endl;
else
cout << "vowel" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
string s = "aiueo";
int main() {
char inp;
scanf("%c", &inp);
if (s.find(inp) != string::npos)
cout << "vowel" << endl;
else
cout << "consonant" << endl;
return 0;
} | [
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,465,536 | 1,465,537 | u119460590 | cpp |
p03852 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
#define int long long
signed main() {
char c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') {
cout << "vowel" << endl;
} else {
cout << "co... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
#define int long long
signed main() {
char c;
cin >> c;
if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') {
cout << "vowel" << endl;
} else {
... | [] | 1,465,540 | 1,465,541 | u336533648 | 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;
} | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,465,542 | 1,465,543 | u612088391 | cpp |
p03852 | #include <stdio.h>
#include <string>
int main() {
char in = 0;
char boin[] = "aiueo";
std::string out = "constant";
scanf("%c", &in);
for (auto &work : boin) {
if (work == in) {
out = "vowel";
break;
}
}
printf("%s", out.c_str());
return 0;
} | #include <stdio.h>
#include <string>
int main() {
char in = 0;
char boin[] = "aiueo";
std::string out = "consonant";
scanf("%c", &in);
for (auto &work : boin) {
if (work == in) {
out = "vowel";
break;
}
}
printf("%s", out.c_str());
return 0;
} | [
"literal.string.change",
"variable_declaration.value.change"
] | 1,465,559 | 1,465,560 | u763336570 | cpp |
p03852 | #include <iostream>
using namespace std;
string is_vowel(char);
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
char c;
cin >> c;
cout << is_vowel(c) << "/n";
return 0;
}
string is_vowel(char c) {
switch (c) {
case 'a':
case 'e':
case 'i':
case 'o':
case 'u':
return "vowel";
de... | #include <iostream>
using namespace std;
string is_vowel(char);
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
char c;
cin >> c;
cout << is_vowel(c);
return 0;
}
string is_vowel(char c) {
switch (c) {
case 'a':
case 'e':
case 'i':
case 'o':
case 'u':
return "vowel";
default:
... | [
"expression.operation.binary.remove"
] | 1,465,561 | 1,465,562 | u993640894 | cpp |
p03852 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <complex>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#includ... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <complex>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#includ... | [
"literal.string.change",
"io.output.change"
] | 1,465,619 | 1,465,621 | u443010331 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
#define int long long
using ll = long long;
using vi = vector<int>;
using vl = vector<long long>;
using pii = pair<int, int>;
using pll = pair<long long, long long>;
#define ITR(i, c) for (auto i = begin(c); i != end(c); ++i)
#define FORE(x, c) for (auto &x : c)
#define FOR... | #include <bits/stdc++.h>
using namespace std;
#define int long long
using ll = long long;
using vi = vector<int>;
using vl = vector<long long>;
using pii = pair<int, int>;
using pll = pair<long long, long long>;
#define ITR(i, c) for (auto i = begin(c); i != end(c); ++i)
#define FORE(x, c) for (auto &x : c)
#define FOR... | [
"misc.opposites",
"variable_declaration.value.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"assignment.value.change"
] | 1,465,628 | 1,465,630 | u133129810 | cpp |
p03852 | #include <iostream>
using namespace std;
char c;
int main() {
cin >> c;
if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') {
cout << "vowe1"
<< "\n";
} else {
cout << "consonant"
<< "\n";
}
return 0;
} | #include <iostream>
using namespace std;
char c;
int main() {
cin >> c;
if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') {
cout << "vowel"
<< "\n";
} else {
cout << "consonant"
<< "\n";
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 1,465,636 | 1,465,638 | u620929606 | cpp |
p03852 | #include <iostream>
using namespace std;
int main() {
char c;
cin >> c;
char *s = "aiueo";
bool a = false;
for (int i = 0; i < 5; ++i)
if (c == s[i]) {
a = true;
}
if (a)
cout << "consonant" << endl;
else
cout << "vowel" << endl;
} | #include <iostream>
using namespace std;
int main() {
char c;
cin >> c;
char *s = "aiueo";
bool a = false;
for (int i = 0; i < 5; ++i)
if (c == s[i]) {
a = true;
}
if (!a)
cout << "consonant" << endl;
else
cout << "vowel" << endl;
} | [
"expression.operation.unary.add",
"control_flow.branch.if.condition.change"
] | 1,465,640 | 1,465,642 | u662071161 | cpp |
p03852 | #include <iostream>
int main() {
char c;
scanf("%c", &c);
if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') {
std::cout << "vogel";
} else {
std::cout << "consonant";
}
} | #include <iostream>
int main() {
char c;
scanf("%c", &c);
if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') {
std::cout << "vowel";
} else {
std::cout << "consonant";
}
} | [
"literal.string.change",
"expression.operation.binary.change"
] | 1,465,653 | 1,465,655 | u679452492 | cpp |
p03852 | #include <iostream>
int main() {
char c;
scanf("%c", &c);
if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') {
std::cout << "vowel";
} else {
std::cout << "consonent";
}
} | #include <iostream>
int main() {
char c;
scanf("%c", &c);
if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') {
std::cout << "vowel";
} else {
std::cout << "consonant";
}
} | [
"literal.string.change",
"expression.operation.binary.change"
] | 1,465,657 | 1,465,655 | u679452492 | cpp |
p03852 | #include <iostream>
int main() {
char c;
scanf("%c", &c);
if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') {
std::cout << "vogel";
} else {
std::cout << "consonent";
}
} | #include <iostream>
int main() {
char c;
scanf("%c", &c);
if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') {
std::cout << "vowel";
} else {
std::cout << "consonant";
}
} | [
"literal.string.change",
"expression.operation.binary.change"
] | 1,465,659 | 1,465,655 | u679452492 | cpp |
p03852 | #include <bits/stdc++.h>
using namespace std;
#define MAX 500000
typedef unsigned long long int ULL;
typedef long long int LL;
typedef unsigned int UI;
typedef long long i64;
bool isvowel(char ch) {
if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u')
return true;
}
int main() {
char c;
cin >... | #include <bits/stdc++.h>
using namespace std;
#define MAX 500000
typedef unsigned long long int ULL;
typedef long long int LL;
typedef unsigned int UI;
typedef long long i64;
bool isvowel(char ch) {
if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u')
return true;
else
return false;
}
int m... | [
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add",
"control_flow.return.add"
] | 1,465,662 | 1,465,664 | u029039540 | cpp |
p03852 | #include <bits/stdc++.h>
#define pb push_back
#define ppb pop_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x).size()
#define ll long long
#define bit __builtin_popcountll
#define sqr(x) (x) * (x)
#define forit(it, S) \
f... | #include <bits/stdc++.h>
#define pb push_back
#define ppb pop_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x).size()
#define ll long long
#define bit __builtin_popcountll
#define sqr(x) (x) * (x)
#define forit(it, S) \
f... | [
"literal.string.change",
"io.output.change"
] | 1,465,676 | 1,465,678 | u631271972 | cpp |
p03852 | #include <bits/stdc++.h>
#define pb push_back
#define ppb pop_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x).size()
#define ll long long
#define bit __builtin_popcountll
#define sqr(x) (x) * (x)
#define forit(it, S) \
f... | #include <bits/stdc++.h>
#define pb push_back
#define ppb pop_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x).size()
#define ll long long
#define bit __builtin_popcountll
#define sqr(x) (x) * (x)
#define forit(it, S) \
f... | [
"literal.string.change",
"io.output.change"
] | 1,465,679 | 1,465,678 | u631271972 | cpp |
p03852 | #include <stdio.h>
int main(void) {
char c;
scanf("%c", &c);
switch (c) {
case 97:
case 101:
case 105:
case 111:
case 117:
printf("vowel");
default:
printf("consonant");
}
return 0;
} | #include <stdio.h>
int main(void) {
char c;
scanf("%c", &c);
switch (c) {
case 97:
case 101:
case 105:
case 111:
case 117:
printf("vowel");
break;
default:
printf("consonant");
}
return 0;
} | [
"control_flow.break.add"
] | 1,465,683 | 1,465,684 | u249083967 | cpp |
p03852 | /*
ID: your_id_here
PROG: test
LANG: C++11
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
double pi = 3.1415926535898;
// double pi=acos(-1.0);
#define scarr(a, s, e) \
for (int i = s; i <= int(e); i++) ... | /*
ID: your_id_here
PROG: test
LANG: C++11
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
double pi = 3.1415926535898;
// double pi=acos(-1.0);
#define scarr(a, s, e) \
for (int i = s; i <= int(e); i++) ... | [
"literal.string.change",
"io.output.change"
] | 1,465,685 | 1,465,686 | u036907329 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.