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 |
|---|---|---|---|---|---|---|---|
p02626 | #include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
typedef long long ll;
const int dig = 52;
inline ll read() {
ll x = 0, f = 1;
char c = getchar();
while (c < '0' || c > '9') {
if (c == '-')
f = -1;
c = getchar();
}
while (c >= '0' && c <= '9') {
x = (x << 3) + (x... | #include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
typedef long long ll;
const int dig = 52;
inline ll read() {
ll x = 0, f = 1;
char c = getchar();
while (c < '0' || c > '9') {
if (c == '-')
f = -1;
c = getchar();
}
while (c >= '0' && c <= '9') {
x = (x << 3) + (x... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 336,878 | 336,879 | u979500307 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
char alpha;
cin >> alpha;
cout << (alpha > 90) ? 'a' : 'A';
return 0;
} | #include <iostream>
using namespace std;
int main() {
char alpha;
cin >> alpha;
cout << ((alpha > 90) ? 'a' : 'A');
return 0;
} | [] | 336,882 | 336,883 | u129830598 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a == 'A' or a == 'B' or a == 'C' or a == 'D' or a == 'E' or a == 'F' or
a == 'G' or a == 'H' or a == 'I' or a == 'J' or a == 'K' or a == 'L' or
a == 'M' or a == 'N' or a == 'O' or a == 'P' or a == 'Q' or a == 'R' or
... | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a == 'A' or a == 'B' or a == 'C' or a == 'D' or a == 'E' or a == 'F' or
a == 'G' or a == 'H' or a == 'I' or a == 'J' or a == 'K' or a == 'L' or
a == 'M' or a == 'N' or a == 'O' or a == 'P' or a == 'Q' or a == 'R' or
... | [
"literal.string.change",
"io.output.change"
] | 336,886 | 336,887 | u484254461 | cpp |
p02627 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using p = pair<int, int>;
typedef vector<int> vi;
int main() {
char alpha;
if ((alpha >= 'a') && (alpha <= 'z')) {
cout << 'a' << endl;
} else if ((alpha >= 'A') && (alpha <= 'Z')) {
c... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using p = pair<int, int>;
typedef vector<int> vi;
int main() {
char alpha;
cin >> alpha;
if ((alpha >= 'a') && (alpha <= 'z')) {
cout << 'a' << endl;
} else if ((alpha >= 'A') && (alpha ... | [] | 336,902 | 336,903 | u518622487 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a >= 'A')
a = 'A';
else
a = 'a';
cout << a << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a >= 'A' && a <= 'Z')
a = 'A';
else
a = 'a';
cout << a << endl;
} | [
"control_flow.branch.if.condition.change"
] | 336,904 | 336,905 | u385652268 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a;
cin >> a;
if (a >= 'A' && a <= 'Z')
a = 'A';
else
a = 'a';
cout << a << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a >= 'A' && a <= 'Z')
a = 'A';
else
a = 'a';
cout << a << endl;
} | [
"variable_declaration.type.primitive.change"
] | 336,906 | 336,905 | u385652268 | cpp |
p02627 | #pragma region
#define _USE_MATH_DEFINES
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using name... | #pragma region
#define _USE_MATH_DEFINES
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using name... | [
"variable_declaration.type.primitive.change"
] | 336,927 | 336,928 | u521389909 | cpp |
p02627 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define pb push_back
#define f first
#define s second
#define lb lower_bound
#define ub upper_bound
typedef long long ll;
typedef vector<int> vi;
typedef unsigned long ul;
typedef vector<ll> vl;
typedef ... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define pb push_back
#define f first
#define s second
#define lb lower_bound
#define ub upper_bound
typedef long long ll;
typedef vector<int> vi;
typedef unsigned long ul;
typedef vector<ll> vl;
typedef ... | [
"literal.string.change",
"io.output.change"
] | 336,933 | 336,934 | u932405721 | cpp |
p02627 | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define ll long long
#define add push_back
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int... | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define ll long long
#define add push_back
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int ... | [
"literal.string.change",
"io.output.change"
] | 336,935 | 336,936 | u799925604 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (islower(a)) {
cout << "A";
} else {
cout << "a";
return 0;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (islower(a)) {
cout << "a";
} else {
cout << "A";
return 0;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 336,937 | 336,938 | u730666637 | cpp |
p02627 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
char x;
cin >> x;
if ((int)x >= 90)
cout << "a" << endl;
else
cout << "A" << endl;
// cout << (int)x << endl;
return 0;
} | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
char x;
cin >> x;
if ((int)x > 90)
cout << "a" << endl;
else
cout << "A" << endl;
// cout << (int)x << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 336,939 | 336,940 | u506464494 | cpp |
p02627 |
#include <bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
template <typename T>
using ordered_set =
tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
template <typename T, typename U>
using or... |
#include <bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
template <typename T>
using ordered_set =
tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
template <typename T, typename U>
using or... | [
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 336,943 | 336,944 | u017210855 | cpp |
p02627 | #include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) for (int i = 0; i < (n); i++)
#define ALL(obj) (obj).begin(), (obj).end()
#define SCANF(i) \
int i; ... | #include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) for (int i = 0; i < (n); i++)
#define ALL(obj) (obj).begin(), (obj).end()
#define SCANF(i) \
int i; ... | [] | 336,947 | 336,946 | u847541068 | cpp |
p02627 | #include <algorithm>
#include <iostream>
#include <math.h>
#include <numeric>
#include <string>
#define ll long long
#define wolfe \
ios_base::sync_with_stdio(0); \
cin.tie(0); ... | #include <algorithm>
#include <iostream>
#include <math.h>
#include <numeric>
#include <string>
#define ll long long
#define wolfe \
ios_base::sync_with_stdio(0); \
cin.tie(0); ... | [] | 336,948 | 336,949 | u469480802 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
char n;
if (n <= 'Z' && n >= 'A')
cout << 'A';
else
cout << 'a';
} | #include <iostream>
using namespace std;
int main() {
char n;
cin >> n;
if (n <= 'Z' && n >= 'A')
cout << 'A';
else
cout << 'a';
}
| [] | 336,950 | 336,951 | u713574885 | cpp |
p02627 | #include <cctype>
#include <iostream>
using namespace std;
int main() {
char a;
cin >> a;
if (isupper(a)) {
cout << "a" << endl;
} else {
cout << "A" << endl;
}
} | #include <cctype>
#include <iostream>
using namespace std;
int main() {
char a;
cin >> a;
if (isupper(a)) {
cout << "A" << endl;
} else {
cout << "a" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 336,956 | 336,957 | u887959172 | cpp |
p02627 | #include <bits/stdc++.h>
#define MEM 100006
#define sanic ios_base::sync_with_stdio(0)
#define pb push_back
using namespace std;
typedef long long ll;
typedef pair<ll, ll> pii;
const ll MOD = 1e9 + 7;
char c;
int main() {
sanic;
cin.tie(0);
cin >> c;
if (90 <= c)
cout << 'a';
else
cout << 'A';
}
| #include <bits/stdc++.h>
#define MEM 100006
#define sanic ios_base::sync_with_stdio(0)
#define pb push_back
using namespace std;
typedef long long ll;
typedef pair<ll, ll> pii;
const ll MOD = 1e9 + 7;
char c;
int main() {
sanic;
cin.tie(0);
cin >> c;
// cout << (int)c;
if (97 <= c)
cout << 'a';
else
... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 336,958 | 336,959 | u616317776 | cpp |
p02627 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
/* Input */
int alpha;
cin >> alpha;
/* Main Logic */
if (isupper(alpha))
cout << 'A' << endl;
else
cout << 'a' << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
/* Input */
char alpha;
cin >> alpha;
/* Main Logic */
if (isupper(alpha)) {
cout << 'A' << endl;
} else {
cout << 'a' << endl;
}
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 336,962 | 336,963 | u675066860 | cpp |
p02627 | #include <iostream>
using ll = long long;
#define rep(i, a, b) for (ll i = a; i < ll(b); i++)
#define repr(i, a, b) for (ll i = a; i >= ll(b); i--)
#define endl "\n"
#define ALL(x) x.begin(), x.end()
using namespace std;
char a;
int main() {
cin >> a;
if (a < 'A')
cout << 'a' << endl;
else
cout << 'A' <<... | #include <iostream>
using ll = long long;
#define rep(i, a, b) for (ll i = a; i < ll(b); i++)
#define repr(i, a, b) for (ll i = a; i >= ll(b); i--)
#define endl "\n"
#define ALL(x) x.begin(), x.end()
using namespace std;
char a;
int main() {
cin >> a;
if (a < 'a')
cout << 'A' << endl;
else
cout << 'a' <<... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 336,964 | 336,965 | u946467231 | cpp |
p02627 | #include <iostream>
#include <math.h>
#include <time.h>
using namespace std;
int main() {
char a;
cin >> a;
if ('A' <= a && a <= 'Z') {
cout << a << endl;
} else {
cout << a << endl;
}
} | #include <iostream>
#include <math.h>
#include <time.h>
using namespace std;
int main() {
char a;
cin >> a;
if ('A' <= a && a <= 'Z') {
cout << 'A' << endl;
} else {
cout << 'a' << endl;
}
} | [
"io.output.change"
] | 336,966 | 336,967 | u315197931 | cpp |
p02627 | #include <iostream>
#include <string.h>
using namespace std;
int main() {
string alphabet;
cin >> alphabet;
if (alphabet[0] > 'A' && alphabet[0] < 'Z') {
cout << "A" << endl;
}
if (alphabet[0] > 'a' && alphabet[0] < 'z') {
cout << "a" << endl;
}
} | #include <iostream>
#include <string.h>
using namespace std;
int main() {
string alphabet;
cin >> alphabet;
if (alphabet[0] >= 'A' && alphabet[0] <= 'Z') {
cout << "A" << endl;
}
if (alphabet[0] >= 'a' && alphabet[0] <= 'z') {
cout << "a" << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 336,968 | 336,969 | u275414471 | cpp |
p02627 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
char a;
cin >> a;
if (isupper(a))
cout << 'A' << endl;
else
cout << 'B' << endl;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
char a;
cin >> a;
if (isupper(a))
cout << 'A' << endl;
else
cout << 'a' << endl;
} | [
"literal.string.change",
"io.output.change"
] | 336,973 | 336,974 | u153615137 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vll = vector<long long>;
using vvi = vector<vector<int>>;
using pii = pair<int, int>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define pb push_back
int main() {
char a;
cin >> a;
if ('a' <= a && a <= 'z... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vll = vector<long long>;
using vvi = vector<vector<int>>;
using pii = pair<int, int>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define pb push_back
int main() {
char a;
cin >> a;
if ('a' <= a && a <= 'z... | [
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 336,991 | 336,992 | u590995678 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
int k;
cin >> k;
if (islower(k)) {
cout << "a" << endl;
} else {
cout << "A" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
char k;
cin >> k;
if (islower(k)) {
cout << "a" << endl;
} else {
cout << "A" << endl;
}
} | [
"variable_declaration.type.primitive.change"
] | 336,993 | 336,994 | u084662841 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) \
for (int i = 0; i < (int)(n); i++) \
;
#define _GLIBCXX_DEBUG
#define _LIBCPP_DEBUG 0
int main() {
char c;
cin >> c;
if (c <= 'Z') {
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) \
for (int i = 0; i < (int)(n); i++) \
;
#define _GLIBCXX_DEBUG
#define _LIBCPP_DEBUG 0
int main() {
char c;
cin >> c;
if (c <= 'Z') {
... | [
"literal.string.change",
"io.output.change"
] | 337,004 | 337,005 | u216579347 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
char C;
cin >> C;
if (C >= 'A' && C <= 'A')
cout << 'A' << endl;
else
cout << 'a' << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
char C;
cin >> C;
if (C >= 'A' && C <= 'Z')
cout << 'A' << endl;
else
cout << 'a' << endl;
} | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 337,009 | 337,010 | u071282706 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
if (isupper(c))
cout << 'a' << endl;
else
cout << 'A' << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
if (islower(c))
cout << 'a' << endl;
else
cout << 'A' << endl;
return 0;
} | [
"identifier.change",
"call.function.change",
"control_flow.branch.if.condition.change"
] | 337,024 | 337,025 | u483102274 | cpp |
p02627 | #include <bits/stdc++.h>
#include <set>
using namespace std;
using pii = pair<int, int>;
using pll = pair<long long, long long>;
const long long INF = 1 << 29;
const int MOD = 1000000007;
long long ruizyou(long long m, long long n) {
if (m == 0)
return 0;
if (m == 1)
return 1;
long long ans = 1;
long l... | #include <bits/stdc++.h>
#include <set>
using namespace std;
using pii = pair<int, int>;
using pll = pair<long long, long long>;
const long long INF = 1 << 29;
const int MOD = 1000000007;
long long ruizyou(long long m, long long n) {
if (m == 0)
return 0;
if (m == 1)
return 1;
long long ans = 1;
long l... | [
"literal.string.change",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change",
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 337,028 | 337,029 | u953499988 | cpp |
p02627 | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
printf("A\n");
} else if (a >= 'A' && a <= 'Z') {
printf("a\n");
}
return 0;
} | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
printf("a");
} else if (a >= 'A' && a <= 'Z') {
printf("A");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove"
] | 337,032 | 337,033 | u089230684 | cpp |
p02627 | #include <stdio.h>
int main() {
char a;
scanf("%s", &a);
if (a >= 'a' && a <= 'z') {
printf("A");
} else if (a >= 'A' && a <= 'Z') {
printf("a");
}
return 0;
} | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
printf("a");
} else if (a >= 'A' && a <= 'Z') {
printf("A");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"literal.string.case.change",
"io.output.change"
] | 337,034 | 337,033 | u089230684 | cpp |
p02627 | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
printf("A\n");
} else if (a >= 'A' && a <= 'Z') {
printf("a\n");
}
return 0;
} | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
puts("a");
} else if (a >= 'A' && a <= 'Z') {
puts("A");
}
return 0;
} | [
"identifier.change",
"call.function.change",
"io.output.change",
"literal.string.change",
"call.arguments.change",
"io.output.newline.remove"
] | 337,032 | 337,035 | u089230684 | cpp |
p02627 | #include <stdio.h>
int main() {
char a;
scanf("%s", &a);
if (a >= 'a' && a <= 'z') {
printf("A");
} else if (a >= 'A' && a <= 'Z') {
printf("a");
}
return 0;
} | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
puts("a");
} else if (a >= 'A' && a <= 'Z') {
puts("A");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"identifier.change",
"call.function.change",
"io.output.change",
"literal.string.case.change"
] | 337,034 | 337,035 | u089230684 | cpp |
p02627 | #include <stdio.h>
int main() {
int a;
scanf("%d", &a);
if (a >= 'a' && a <= 'z') {
puts("a");
} else if (a >= 'A' && a <= 'Z') {
puts("A");
}
return 0;
} | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
puts("a");
} else if (a >= 'A' && a <= 'Z') {
puts("A");
}
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change"
] | 337,038 | 337,039 | u018679195 | cpp |
p02627 | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
printf("A");
} else if (a >= 'A' && a <= 'Z') {
printf("a\n");
}
return 0;
} | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
puts("a");
} else if (a >= 'A' && a <= 'Z') {
puts("A");
}
return 0;
} | [
"identifier.change",
"call.function.change",
"io.output.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.newline.remove"
] | 337,040 | 337,039 | u018679195 | cpp |
p02627 | #include <stdio.h>
int main() {
char a;
scanf("%c");
if (a >= 'A' && a <= 'Z') {
printf("A\n");
}
else if (a >= 'a' && a <= 'z') {
printf("a\n");
}
return 0;
} | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'A' && a <= 'Z') {
printf("A\n");
} else if (a >= 'a' && a <= 'z') {
printf("a\n");
}
return 0;
} | [
"call.arguments.add"
] | 337,043 | 337,044 | u018679195 | cpp |
p02627 | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
printf("A");
} else if (a >= 'A' && a <= 'Z') {
printf("a\n");
}
return 0;
} | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'A' && a <= 'Z') {
printf("A\n");
} else if (a >= 'a' && a <= 'z') {
printf("a\n");
}
return 0;
} | [
"call.remove",
"call.add",
"control_flow.branch.if.add"
] | 337,040 | 337,044 | u018679195 | cpp |
p02627 | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
printf("A");
} else if (a >= 'A' && a <= 'Z') {
printf("a\n");
}
return 0;
} | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'A' && a <= 'Z') {
printf("A");
} else if (a >= 'a' && a <= 'z') {
printf("a");
}
return 0;
} | [
"call.remove",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove",
"control_flow.branch.if.add",
"call.add"
] | 337,040 | 337,045 | u018679195 | cpp |
p02627 | #include <stdio.h>
int main() {
int alphabet, lowercase, uppercase;
scanf("%d", &alphabet);
if (alphabet >= 'a' && alphabet <= 'z') {
printf("a");
} else {
printf("A");
}
return 0;
} | #include <stdio.h>
int main() {
int alphabet, lowercase, uppercase;
scanf("%s", &alphabet);
if (alphabet >= 'a' && alphabet <= 'z') {
puts("a");
} else {
puts("A");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"identifier.change",
"call.function.change",
"io.output.change"
] | 337,046 | 337,047 | u018679195 | cpp |
p02627 | #include <bits/stdc++.h>
#include <functional> // for less
#include <iostream>
#define ll long long
#define ull unsigned long long
#define ld long double
#define all(ar) ar.begin(), ar.end()
#define mp make_pair
#define sot(bello) bello.begin(), bello.end()
#define bitc __builtin_popcountl
#define fr(i, a, b) for (int ... | #include <bits/stdc++.h>
#include <functional> // for less
#include <iostream>
#define ll long long
#define ull unsigned long long
#define ld long double
#define all(ar) ar.begin(), ar.end()
#define mp make_pair
#define sot(bello) bello.begin(), bello.end()
#define bitc __builtin_popcountl
#define fr(i, a, b) for (int ... | [] | 337,050 | 337,051 | u242898809 | cpp |
p02627 | #include "bits/stdc++.h"
#include <cstring>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
int main() {
char s;
cin >> s;
if ('A' < s && s < 'Z') {
cout << 'A';
return 0;
} else {
cout << 'a';
return 0;
}
return 0;
} | #include "bits/stdc++.h"
#include <cstring>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
int main() {
char s;
cin >> s;
if ('A' <= s && s <= 'Z') {
cout << 'A';
return 0;
} else {
cout << 'a';
return 0;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 337,052 | 337,053 | u681021630 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char alpha;
cin >> alpha;
if ('a' <= alpha && 'z' >= alpha)
cout << "A" << endl;
else
cout << "a" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char alpha;
cin >> alpha;
if ('a' <= alpha && 'z' >= alpha)
cout << "a" << endl;
else
cout << "A" << endl;
} | [
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 337,054 | 337,055 | u458713847 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
char a;
cin >> a;
if (a >= 'A' && a <= 'Z') {
cout << 'A' << endl;
} else {
cout << 'B' << endl;
}
} | #include <iostream>
using namespace std;
int main() {
char a;
cin >> a;
if (a >= 'A' && a <= 'Z') {
cout << 'A' << endl;
} else {
cout << 'a' << endl;
}
} | [
"literal.string.change",
"io.output.change"
] | 337,056 | 337,057 | u288561127 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char ch;
cin >> ch;
if (ch >= 'A' && ch < 'Z')
cout << "A";
if (ch >= 'a' && ch < 'z')
cout << "a";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char ch;
cin >> ch;
if (ch >= 'A' && ch <= 'Z')
cout << "A";
if (ch >= 'a' && ch <= 'z')
cout << "a";
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 337,069 | 337,070 | u055020753 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
char s;
cin >> s;
if (isupper(s) == 1) {
cout << "A" << endl;
} else
cout << "a" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
char s;
cin >> s;
if (isupper(s) != 0) {
cout << "A" << endl;
} else
cout << "a" << endl;
return 0;
} | [] | 337,071 | 337,072 | u540695932 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, n) for (int i = a; i < n; i++)
#define per(i, a, n) for (int i = n - 1; i >= a; i--)
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define fi first
#define se second
#define SZ(x) ((int)(x).size())
#define fast ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, n) for (int i = a; i < n; i++)
#define per(i, a, n) for (int i = n - 1; i >= a; i--)
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define fi first
#define se second
#define SZ(x) ((int)(x).size())
#define fast ... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 337,073 | 337,074 | u473179530 | cpp |
p02627 | /* The ASCII value of the lowercase alphabet is from 97 to 122. And, the ASCII
* value of the uppercase alphabet is from 65 to 90.*/
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
int main() {
char abc;
cin >> abc;
if (abc >= 'a' || abc <= 'z') {
cout << 'a';
} else {
cout << 'A';
... | /* The ASCII value of the lowercase alphabet is from 97 to 122. And, the ASCII
* value of the uppercase alphabet is from 65 to 90.*/
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
int main() {
char abc;
cin >> abc;
if (abc >= 'a' && abc <= 'z') {
cout << 'a';
} else {
cout << 'A';
... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 337,075 | 337,076 | u709848760 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
using ll = long long int;
#define REP(i, n) for (ll i = 0; i < (n); i++)
#define REP2(i, x, n) for (ll i = x; i < (n); i++)
#define REP3(i, x, n) for (ll i = x; i > (n); i--)
#define zero_pad(num) setfill('0') << std::right << setw(num)
#define space_pad(num) setfill(' ') <... | #include <bits/stdc++.h>
using namespace std;
using ll = long long int;
#define REP(i, n) for (ll i = 0; i < (n); i++)
#define REP2(i, x, n) for (ll i = x; i < (n); i++)
#define REP3(i, x, n) for (ll i = x; i > (n); i--)
#define zero_pad(num) setfill('0') << std::right << setw(num)
#define space_pad(num) setfill(' ') <... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 337,077 | 337,078 | u467787707 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
char ch;
cin >> ch;
if (ch >= 'A' && ch <= 'Z') {
cout << "a";
} else {
cout << "A";
}
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
char ch;
cin >> ch;
if (ch >= 'A' && ch <= 'Z') {
cout << "A";
} else {
cout << "a";
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 337,087 | 337,088 | u718834599 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
char s;
cin >> s;
int a = s;
if (a >= 65)
cout << "A" << endl;
else
cout << "a" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
char s;
cin >> s;
int a = s;
if (a >= 97)
cout << "a" << endl;
else
cout << "A" << endl;
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 337,091 | 337,092 | u182439508 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
char s;
cin >> s;
int a = s;
if (a >= 65)
cout << "a" << endl;
else
cout << "A" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
char s;
cin >> s;
int a = s;
if (a >= 97)
cout << "a" << endl;
else
cout << "A" << endl;
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 337,093 | 337,092 | u182439508 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
if ('A' <= c <= 'Z')
cout << 'A';
else
cout << 'a';
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
if (c >= 'A' && c <= 'Z')
cout << 'A';
else
cout << 'a';
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 337,094 | 337,095 | u354805691 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, k, n) for (int i = k; i < n; i++)
#define repp(i, k, n) for (int i = k; i <= n; i++)
#define per(i, k, n) for (int i = k; i >= n; i--)
#define int long long
#define all(a) a.begin(), a.end()
#define pb push_back
typedef long long ll;
typedef pair<int, int> ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, k, n) for (int i = k; i < n; i++)
#define repp(i, k, n) for (int i = k; i <= n; i++)
#define per(i, k, n) for (int i = k; i >= n; i--)
#define int long long
#define all(a) a.begin(), a.end()
#define pb push_back
typedef long long ll;
typedef pair<int, int> ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 337,096 | 337,097 | u548341309 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char ch;
cin >> ch;
if (ch >= 'A' && ch <= 'Z')
cout << "A" << endl;
else
cout << "B" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char ch;
cin >> ch;
if (ch >= 'A' && ch <= 'Z')
cout << "A" << endl;
else
cout << "a" << endl;
}
| [
"literal.string.change",
"io.output.change"
] | 337,098 | 337,099 | u298511956 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if ((int)(a - 'A') < 0) {
cout << 'a' << endl;
} else {
cout << 'A' << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if ((int)(a - 'a') < 0) {
cout << 'A' << endl;
} else {
cout << 'a' << endl;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 337,119 | 337,120 | u522548464 | cpp |
p02627 | // poland.cpp : このファイルには 'main'
// 関数が含まれています。プログラム実行の開始と終了がそこで行われます。
//
#include <iostream>
#include <istream>
#include <stack>
double read_and_evaluate(std::istream &ins) {
std::stack<char> operations;
char tmp;
while (true) {
char c = ins.get();
if (c >= '0' && c <= '9') {
operations.push(c);
... | // poland.cpp : このファイルには 'main'
// 関数が含まれています。プログラム実行の開始と終了がそこで行われます。
//
#include <iostream>
#include <istream>
#include <stack>
double read_and_evaluate(std::istream &ins) {
std::stack<char> operations;
char tmp;
while (true) {
char c = ins.get();
if (c >= '0' && c <= '9') {
operations.push(c);
... | [
"expression.operation.binary.add"
] | 337,131 | 337,132 | u077674357 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF = 9223372036854775807;
const ll MOD = 1000000007;
#define pb push_back
#define mp make_pair
#define all(v) v.begin(), v.end()
#define o0(a) cout << a << " "
#define o1(a) cout << a << "\n"
#define o2(a, b) cout << a << " " << b << "\n"
#de... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF = 9223372036854775807;
const ll MOD = 1000000007;
#define pb push_back
#define mp make_pair
#define all(v) v.begin(), v.end()
#define o0(a) cout << a << " "
#define o1(a) cout << a << "\n"
#define o2(a, b) cout << a << " " << b << "\n"
#de... | [
"call.remove"
] | 337,139 | 337,140 | u576508395 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
c = (c >= 65) ? 'A' : 'a';
cout << c << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
c = (c >= 97) ? 'a' : 'A';
cout << c << endl;
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"literal.string.change",
"literal.string.case.change"
] | 337,143 | 337,144 | u203252039 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
if (c - 'Z' < 0) {
cout << 'A' << endl;
} else {
cout << 'a' << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
if (c - 'Z' <= 0) {
cout << 'A' << endl;
} else {
cout << 'a' << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 337,152 | 337,153 | u370315157 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
char a;
cin >> a;
char ans = 'a';
if (a >= 'A' && a <= 'A')
ans = 'A';
cout << ans << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
char a;
cin >> a;
char ans = 'a';
if (a >= 'A' && a <= 'Z')
ans = 'A';
cout << ans << endl;
return 0;
} | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 337,159 | 337,160 | u066352867 | cpp |
p02627 | #include <iostream>
int main() {
char character;
std::cin >> character;
int x = int(character);
if (x < 90) {
std::cout << "A" << std::endl;
} else {
std::cout << "a" << std::endl;
}
} | #include <iostream>
int main() {
char character;
std::cin >> character;
int x = int(character);
if (x < 91) {
std::cout << "A" << std::endl;
} else {
std::cout << "a" << std::endl;
}
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 337,161 | 337,162 | u240723390 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
if (int(c) > 80)
cout << "a" << endl;
else {
cout << "A" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
if (int(c) > 94)
cout << "a" << endl;
else {
cout << "A" << endl;
}
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 337,165 | 337,166 | u748186564 | cpp |
p02627 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#define rep(i, n) for (ll i = 0; i < (ll)n; i++)
#define swap(a,... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#define rep(i, n) for (ll i = 0; i < (ll)n; i++)
#define swap(a,... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 337,171 | 337,172 | u040251933 | cpp |
p02627 | // CPP program for finding number of divisor
#include <iostream>
// #include <bits/stdc++.h>
using namespace std;
#define ll long long
// driver program
int main() {
char c;
cin >> c;
if (c <= 97)
cout << "a";
else
cout << "A";
return 0;
}
| // CPP program for finding number of divisor
#include <iostream>
// #include <bits/stdc++.h>
using namespace std;
#define ll long long
// driver program
int main() {
char c;
cin >> c;
if (c >= 97)
cout << "a";
else
cout << "A";
return 0;
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 337,177 | 337,178 | u766413013 | cpp |
p02627 | #include <ctype.h>
#include <iostream>
using namespace std;
int main(void) {
char a;
cin >> a;
bool oomoji = toupper(a);
if (oomoji) {
cout << "A" << endl;
} else {
cout << "a" << endl;
}
}
| #include <ctype.h>
#include <iostream>
using namespace std;
int main(void) {
char a;
cin >> a;
bool oomoji = isupper(a);
if (oomoji) {
cout << "A" << endl;
} else {
cout << "a" << endl;
}
}
| [
"identifier.change",
"call.function.change"
] | 337,183 | 337,184 | u963353562 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
char c;
cin >> c;
if (c >= 65 || c <= 90)
cout << "A" << endl;
else
cout << "a" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
char c;
cin >> c;
if (c >= 65 && c <= 90) {
cout << "A" << endl;
} else
cout << "a" << endl;
return 0;
} | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 337,185 | 337,186 | u847507100 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char ch;
cin >> ch;
if ((int)ch > 97) {
cout << 'a';
} else
cout << 'A';
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char ch;
cin >> ch;
if ((int)ch < 97) {
cout << 'A';
} else
cout << 'a';
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 337,193 | 337,194 | u640610569 | cpp |
p02627 | #include <bits/stdc++.h>
#define two(a) (1 << (a))
#define LINF (1ll << 61)
#define EPS (1e-14)
#define Lshift(a, b) ((a) << (b))
#define Rshift(a, b) ((a) >> (b))
#define rep(a, b) for (a = 0; a < b; a++)
#define xrep(a, b, c) for (a = b; a < c; a++)
#define INF (1 << 29)
#define sz(a) int(a.size())
#define mset(x) me... | #include <bits/stdc++.h>
#define two(a) (1 << (a))
#define LINF (1ll << 61)
#define EPS (1e-14)
#define Lshift(a, b) ((a) << (b))
#define Rshift(a, b) ((a) >> (b))
#define rep(a, b) for (a = 0; a < b; a++)
#define xrep(a, b, c) for (a = b; a < c; a++)
#define INF (1 << 29)
#define sz(a) int(a.size())
#define mset(x) me... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 337,214 | 337,215 | u774144884 | cpp |
p02627 | #include <cmath>
#include <iostream>
using namespace std;
int main() {
char c;
scanf("%c", &c);
printf("%c", isupper(c) ? c - 'A' + 'a' : 'a');
return 0;
} | #include <cmath>
#include <iostream>
using namespace std;
int main() {
char c;
scanf("%c", &c);
printf("%c", isupper(c) ? 'A' : 'a');
return 0;
} | [
"expression.operation.binary.remove"
] | 337,227 | 337,228 | u414313142 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> P;
typedef pair<ll, ll> l_l;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<P> vp;
typedef vector<l_l> vpl;
typedef vector<string> vs;
typedef pair<l_l, ll> lll;
#define pb push_back
#define... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> P;
typedef pair<ll, ll> l_l;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<P> vp;
typedef vector<l_l> vpl;
typedef vector<string> vs;
typedef pair<l_l, ll> lll;
#define pb push_back
#define... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 337,231 | 337,232 | u796877631 | cpp |
p02627 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define repr(i, n) for (int i = n - 1; i >= 0; i--)
#define MAX(a, b) a = a > b ? a : b
#define MIN(a, b) a = a < b ? a : b
#define REP(i, x, n) for (int i = x; i < n; i++)
#define REPR(i, x, n) for (int i = n - 1; i >= x; i--)
#define pb push_back
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define repr(i, n) for (int i = n - 1; i >= 0; i--)
#define MAX(a, b) a = a > b ? a : b
#define MIN(a, b) a = a < b ? a : b
#define REP(i, x, n) for (int i = x; i < n; i++)
#define REPR(i, x, n) for (int i = n - 1; i >= x; i--)
#define pb push_back
... | [
"variable_declaration.type.primitive.change"
] | 337,233 | 337,234 | u961753201 | cpp |
p02627 | #include <stdio.h>
int main() {
char a;
scanf("%s", &a);
if (a >= 'a' && a <= 'z') {
printf("A\n");
} else if (a >= 'A' && a <= 'Z') {
printf("a\n");
}
return 0;
} | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
printf("a");
} else if (a >= 'A' && a <= 'Z') {
printf("A\n");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove",
"literal.string.case.change"
] | 337,250 | 337,251 | u863370423 | cpp |
p02627 | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
printf("A");
} else if (a >= 'A' && a <= 'Z') {
printf("a");
}
return 0;
} | #include <stdio.h>
int main() {
char a;
scanf("%c", &a);
if (a >= 'a' && a <= 'z') {
printf("a");
} else if (a >= 'A' && a <= 'Z') {
printf("A\n");
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 337,252 | 337,251 | u863370423 | cpp |
p02627 | #include <bits/stdc++.h>
#include <bitset>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
typedef long long ll;
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
const int mod = 1000000007;
// const int mod = 998244353;
struct mint {
ll x; // typedef long long ll;
... | #include <bits/stdc++.h>
#include <bitset>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
typedef long long ll;
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
const int mod = 1000000007;
// const int mod = 998244353;
struct mint {
ll x; // typedef long long ll;
... | [
"literal.string.change",
"io.output.change"
] | 337,259 | 337,260 | u610956125 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
string N;
cin >> N;
if (N == "a" || N == "b" || N == "c" || N == "d" || N == "e" || N == "f" ||
N == "g" || N == "h" || N == "i" || N == "j" || N == "k" || N == "l" ||
N == "m" || N == "n" || N == "o" || N == "p" || N == "q" || N == "r" ||
... | #include <bits/stdc++.h>
using namespace std;
int main() {
string N;
cin >> N;
if (N == "a" || N == "b" || N == "c" || N == "d" || N == "e" || N == "f" ||
N == "g" || N == "h" || N == "i" || N == "j" || N == "k" || N == "l" ||
N == "m" || N == "n" || N == "o" || N == "p" || N == "q" || N == "r" ||
... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 337,262 | 337,263 | u081162298 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
char a;
cin >> a;
if (0 <= (a - 'A')) {
cout << "A" << endl;
} else {
cout << "a" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
char a;
cin >> a;
if (isupper(a)) {
cout << "A" << endl;
} else {
cout << "a" << endl;
}
return 0;
} | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 337,309 | 337,310 | u611571299 | cpp |
p02627 | #include <bits/stdc++.h>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
string a;
cin >> a;
string dummy = a;
transform(a.begin(), a.end(), a.begin(), ::tolower);
string lower = a;
string ... | #include <bits/stdc++.h>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
string a;
cin >> a;
string dummy = a;
transform(a.begin(), a.end(), a.begin(), ::tolower);
string lower = a;
string ... | [
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 337,315 | 337,316 | u563170985 | cpp |
p02627 | #include <bits/stdc++.h>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
string a;
cin >> a;
string dummy = a;
transform(a.begin(), a.end(), a.begin(), ::tolower);
string lower = a;
string ... | #include <bits/stdc++.h>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
string a;
cin >> a;
string dummy = a;
transform(a.begin(), a.end(), a.begin(), ::tolower);
string lower = a;
string ... | [
"io.output.change"
] | 337,317 | 337,316 | u563170985 | cpp |
p02627 | #include <bits/stdc++.h>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
string a;
cin >> a;
string dummy = a;
transform(a.begin(), a.end(), a.begin(), ::tolower);
string lower = a;
string ... | #include <bits/stdc++.h>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
string a;
cin >> a;
string dummy = a;
transform(a.begin(), a.end(), a.begin(), ::tolower);
string lower = a;
string ... | [
"io.output.change"
] | 337,318 | 337,316 | u563170985 | cpp |
p02627 | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
int main() {
char c;
cin >> c;
if (isupper(c)) {
cout << 'A' << endl;
} else {
cout << 'B' << endl;
}
return 0;
} | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
int main() {
char c;
cin >> c;
if (isupper(c)) {
cout << 'A' << endl;
} else {
cout << 'a' << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 337,327 | 337,328 | u392569193 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a > 65 && a < 91)
cout << "A";
else
cout << "a";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a >= 65 && a <= 91)
cout << "A";
else
cout << "a";
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 337,333 | 337,334 | u007682627 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a > 65 && a <= 91)
cout << "A";
else
cout << "a";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if (a >= 65 && a <= 91)
cout << "A";
else
cout << "a";
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 337,335 | 337,334 | u007682627 | cpp |
p02627 | #include <iostream>
int main() {
char Ai;
std::cin >> Ai;
if (Ai >= 'Z' && Ai <= 'A') {
std::cout << "A";
} else {
std::cout << "a";
}
} | #include <iostream>
int main() {
char Ai;
std::cin >> Ai;
if (Ai <= 'Z' && Ai >= 'A') {
std::cout << "A";
} else {
std::cout << "a";
}
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 337,344 | 337,345 | u032315435 | cpp |
p02627 | #include <bits/stdc++.h>
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define int long long
#define ld long... | #include <bits/stdc++.h>
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define int long long
#define ld long... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 337,350 | 337,351 | u090289166 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
char a;
string ans;
string S = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
cin >> a;
for (int i = 0; i < 52; i++) {
if (a == S[i]) {
if (i <= 25) {
ans = 'a';
} else {
ans = 'A';
}
}
}
cout << ans... | #include <iostream>
using namespace std;
int main() {
char a;
char ans;
string S = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
cin >> a;
for (int i = 0; i < 52; i++) {
if (a == S[i]) {
if (i <= 25) {
ans = 'A';
} else {
ans = 'a';
}
}
}
cout << ans;
... | [
"variable_declaration.type.change",
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 337,352 | 337,353 | u355495315 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
char a;
char ans;
string S = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
cin >> a;
for (int i = 0; i < 52; i++) {
if (a == S[i]) {
if (i <= 25) {
ans = 'a';
} else {
ans = 'A';
}
}
}
cout << ans;
... | #include <iostream>
using namespace std;
int main() {
char a;
char ans;
string S = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
cin >> a;
for (int i = 0; i < 52; i++) {
if (a == S[i]) {
if (i <= 25) {
ans = 'A';
} else {
ans = 'a';
}
}
}
cout << ans;
... | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 337,354 | 337,353 | u355495315 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
char a;
int main(void) {
cin >> a;
if ('a' <= a && a <= 'z') {
cout << "a" << endl;
} else {
cout << "b" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
char a;
int main(void) {
cin >> a;
if ('a' <= a && a <= 'z') {
cout << "a" << endl;
} else {
cout << "A" << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 337,374 | 337,375 | u526055399 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
char a;
int main(void) {
if ('a' <= a || a <= 'z') {
cout << "a" << endl;
} else {
cout << "A" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
char a;
int main(void) {
cin >> a;
if ('a' <= a && a <= 'z') {
cout << "a" << endl;
} else {
cout << "A" << endl;
}
return 0;
} | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 337,376 | 337,375 | u526055399 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
char a;
int main(void) {
if ('a' <= a && a <= 'z') {
cout << "a" << endl;
} else {
cout << "A" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
char a;
int main(void) {
cin >> a;
if ('a' <= a && a <= 'z') {
cout << "a" << endl;
} else {
cout << "A" << endl;
}
return 0;
} | [] | 337,377 | 337,375 | u526055399 | cpp |
p02627 | #include <iostream>
using namespace std;
int main(void) {
char a;
cin >> a;
if (a - (int)'a' <= 25) {
cout << "a";
} else {
cout << "B";
}
}
| #include <iostream>
using namespace std;
int main(void) {
char a;
cin >> a;
if ((a - (int)'A') <= 25) {
cout << "A";
} else {
cout << "a";
}
}
| [
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 337,396 | 337,395 | u166632863 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (isupper(x)) {
cout << "A" << endl;
} else {
cout << "a" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
char x;
cin >> x;
if (isupper(x)) {
cout << "A" << endl;
} else {
cout << "a" << endl;
}
return 0;
}
| [
"variable_declaration.type.primitive.change"
] | 337,401 | 337,402 | u167140488 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if ('A' <= a && a <= 'Z')
cout << "A" << endl;
else
cout << "B" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char a;
cin >> a;
if ('A' <= a && a <= 'Z')
cout << "A" << endl;
else
cout << "a" << endl;
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 337,408 | 337,409 | u368279380 | cpp |
p02627 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
char a;
cin >> a;
if (a <= 26) {
a = 'a';
} else if (65 <= a && a <= 90) {
a = 'A';
}
cout << a;
return 0;
} | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
char a;
cin >> a;
if (a >= 97 && a <= 122) {
a = 'a';
} else if (65 <= a && a <= 90) {
a = 'A';
}
cout << a;
return 0;
} | [
"control_flow.branch.if.condition.change",
"literal.number.change"
] | 337,421 | 337,422 | u151962093 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
#define sim template <class c
#define ris return *this
#define dor > debug &operator<<
#define eni(x) \
sim > typename enable_if<sizeof dud<c>(0) x 1, debug &>::type operator<<( \
c i) {
sim > ... | #include <bits/stdc++.h>
using namespace std;
#define sim template <class c
#define ris return *this
#define dor > debug &operator<<
#define eni(x) \
sim > typename enable_if<sizeof dud<c>(0) x 1, debug &>::type operator<<( \
c i) {
sim > ... | [
"misc.opposites",
"expression.operation.binary.change"
] | 337,423 | 337,424 | u035009533 | cpp |
p02627 | #include <iostream>
using namespace std;
int main(void) {
char str;
cin >> str;
if (isupper(str))
cout << 'A' << endl;
else
cout << 'B' << endl;
} | #include <iostream>
using namespace std;
int main(void) {
char str;
cin >> str;
if (isupper(str))
cout << 'A' << endl;
else
cout << 'a' << endl;
}
| [
"literal.string.change",
"io.output.change"
] | 337,436 | 337,437 | u622742758 | cpp |
p02627 | #include <iostream>
using namespace std;
int main() {
char c;
cin >> c;
if (c >= 'a' && c < 'z') {
cout << "a" << endl;
} else {
cout << "A" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
char c;
cin >> c;
if (c >= 'a' && c <= 'z') {
cout << "a" << endl;
} else {
cout << "A" << endl;
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 337,442 | 337,443 | u474828945 | cpp |
p02627 | #include "bits/stdc++.h"
#include <random>
using namespace std;
using ll = long long;
using dd = double;
using pll = pair<ll, ll>;
using tll = tuple<ll, ll, ll>;
using vll = vector<ll>;
using vdd = vector<dd>;
using vpll = vector<pll>;
using vtll = vector<tll>;
using vvll = vector<vll>;
using vvdd = vector<vdd>;
using ... | #include "bits/stdc++.h"
#include <random>
using namespace std;
using ll = long long;
using dd = double;
using pll = pair<ll, ll>;
using tll = tuple<ll, ll, ll>;
using vll = vector<ll>;
using vdd = vector<dd>;
using vpll = vector<pll>;
using vtll = vector<tll>;
using vvll = vector<vll>;
using vvdd = vector<vdd>;
using ... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one"
] | 337,452 | 337,453 | u450922311 | cpp |
p02627 | #include <iostream>
using namespace std;
int main(void)
{
char ch;
if (ch >= 'A' && ch <= 'Z')
cout << "A\n";
else
cout << "a\n";
return 0;
} | #include <iostream>
using namespace std;
int main(void)
{
char ch;
cin >> ch;
if (ch >= 'A' && ch <= 'Z')
cout << "A\n";
else
cout << "a\n";
return 0;
} | [] | 337,456 | 337,457 | u655567640 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define all(x) (x).begin(), (x).end()
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> i... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define all(x) (x).begin(), (x).end()
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> i... | [
"variable_declaration.type.primitive.change"
] | 337,460 | 337,461 | u989306199 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
string ans = c < 161 ? "A" : "a";
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
string ans = (int)c < 97 ? "A" : "a";
cout << ans << endl;
}
| [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 337,464 | 337,465 | u841783438 | cpp |
p02627 | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
string ans = c > 97 ? "a" : "A";
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
string ans = (int)c < 97 ? "A" : "a";
cout << ans << endl;
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"literal.string.change",
"literal.string.case.change"
] | 337,466 | 337,465 | u841783438 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.