buggy_code
stringlengths
11
625k
fixed_code
stringlengths
17
625k
bug_type
stringlengths
2
4.45k
language
int64
0
8
token_count
int64
5
200k
N = gets.to_s p 'A' if N =~ /[A-Z]/ p 'a' if N =~ /[a-z]/
N = gets.to_s puts 'A' if N =~ /[A-Z]/ puts 'a' if N =~ /[a-z]/
[["-", 36, 36, 0, 493, 0, 751, 8, 652, 735, 22], ["+", 36, 36, 0, 493, 0, 751, 8, 652, 735, 22]]
4
25
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; if (s >= 'Z') { cout << "A" << endl; } else { cout << "a" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; if (s <= 'Z') { cout << "A" << endl; } else { cout << "a" << endl; } }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]]
1
48
s = gets.chomp if s.match(/[A-Z]/) puts 'a' else puts 'A' end
s = gets.chomp if s.match(/[A-Z]/) puts 'A' else puts 'a' end
[["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]]
4
24
#include "bits/stdc++.h" using namespace std; int main() { char a; cin >> a; int c = a; if (c >= 65 && c <= 97) { cout << "A" << endl; } else { cout << "a" << endl; } return 0; }
#include "bits/stdc++.h" using namespace std; int main() { char a; cin >> a; int c = a; if (c >= 65 && c <= 91) { cout << "A" << endl; } else { cout << "a" << endl; } return 0; }
[["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]]
1
60
def main(): import sys sys.setrecursionlimit(10**9) input = sys.stdin.readline a = input() if ord('a') <= ord(a) <= ord('z'): print('a') else: print('A') main()
def main(): import sys sys.setrecursionlimit(10**9) input = sys.stdin.readline a = input()[:-1] if ord('a') <= ord(a) <= ord('z'): print('a') else: print('A') main()
[["+", 8, 196, 0, 1, 0, 662, 12, 206, 0, 70], ["+", 0, 1, 0, 662, 12, 206, 206, 663, 0, 102], ["+", 0, 662, 12, 206, 206, 663, 0, 664, 17, 33], ["+", 0, 662, 12, 206, 206, 663, 0, 664, 28, 612], ["+", 8, 196, 0, 1, 0, 662, 12, 206, 0, 73]]
5
64
#include <stdio.h> int main() { int scanCheck = 0; char n; scanCheck = scanf("%c", &n); if (n < 90) { printf("%c", 'A'); } else { printf("%c", 'a'); } return (0); }
#include <stdio.h> int main() { int scanCheck = 0; char n; scanCheck = scanf("%c", &n); if (n <= 90) { printf("%c", 'A'); } else { printf("%c", 'a'); } return (0); }
[["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 19]]
0
66
#include <bits/stdc++.h> #include <iostream> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); char ch; cin >> ch; if (ch - 'a' < 27) { cout << "A" << endl; } else { cout << "a" << endl; } return 0; }
#include <bits/stdc++.h> #include <iostream> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); char ch; cin >> ch; if (ch - 'A' <= 27) { cout << "A" << endl; } else { cout << "a" << endl; } return 0; }
[["-", 15, 339, 51, 16, 31, 16, 12, 103, 0, 125], ["+", 15, 339, 51, 16, 31, 16, 12, 103, 0, 125], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]]
1
69
n=input() a=n a=a.upper() if a==n: print("A") else: print("b")
n=input() a=n a=a.upper() if a==n: print("A") else: print("a")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
34
// #include <bits/stdc++.h> #include <algorithm> #include <cmath> #include <cstring> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <sstream> #include <string> #include <unordered_map> #include <unordered_set> #include <vector> using namespace std; #define ll long long #d...
// #include <bits/stdc++.h> #include <algorithm> #include <cmath> #include <cstring> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <sstream> #include <string> #include <unordered_map> #include <unordered_set> #include <vector> using namespace std; #define ll long long #d...
[["-", 8, 9, 0, 37, 0, 41, 75, 103, 0, 125], ["+", 8, 9, 0, 37, 0, 41, 75, 103, 0, 125]]
1
109
#include <algorithm> #include <climits> #include <cmath> #include <cstdio> #include <iostream> #include <string> #include <vector> #define ll long long #define MAX 25 * 1e13 #define N 200010 #define SIZE(A) ((int)A.size()) #define LEN(A) ((int)A.length()) #define MP(A, B) make_pair(A, B) #define PB(X) push_back(X) #de...
#include <algorithm> #include <climits> #include <cmath> #include <cstdio> #include <iostream> #include <string> #include <vector> #define ll long long #define MAX 25 * 1e13 #define N 200010 #define SIZE(A) ((int)A.size()) #define LEN(A) ((int)A.length()) #define MP(A, B) make_pair(A, B) #define PB(X) push_back(X) #de...
[["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]]
1
174
#include <bits/stdc++.h> using namespace std; typedef long long int ll; int main() { ll i, j, k, l, m, n, o, p, q, r, t; ll ans = 0; string s; char a; cin >> a; m = a; if (m >= 65 && m <= 97) cout << 'A' << endl; else cout << 'a' << endl; return 0; }
#include <bits/stdc++.h> using namespace std; typedef long long int ll; int main() { ll i, j, k, l, m, n, o, p, q, r, t; ll ans = 0; string s; char a; cin >> a; m = a; if (m >= 65 && m <= 91) cout << 'A' << endl; else cout << 'a' << endl; return 0; }
[["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]]
1
90
a = input() if 'a' <= a and a <= 'b': print('a') else: print('A')
a = input() if 'a' <= a and a <= 'z': print('a') else: print('A')
[["-", 0, 57, 15, 679, 12, 666, 0, 557, 0, 6], ["+", 0, 57, 15, 679, 12, 666, 0, 557, 0, 6]]
5
32
alpha = input() if 97 <= ord(alpha) < 122: print("a") else: print("A")
alpha = input() if 97 <= ord(alpha) <= 122: print("a") else: print("A")
[["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]]
5
29
#include <algorithm> #include <iostream> #include <stdio.h> #include <string> #define rep(i, n) for (int i = 0; i < n; i++) using namespace std; int main() { char a; cin >> a; if (a > 'A' && a < 'Z') { cout << 'A' << endl; } else { cout << 'a' << endl; } // your code goes here return 0; }
#include <algorithm> #include <iostream> #include <stdio.h> #include <string> #define rep(i, n) for (int i = 0; i < n; i++) using namespace std; int main() { char a; cin >> a; if (a >= 'A' && a <= 'Z') { cout << 'A' << endl; } else { cout << 'a' << endl; } // your code goes here return 0; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]]
1
72
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c - 'a' > 0 && c - 'a' < 27) cout << "a" << endl; else cout << "A" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c - 'a' >= 0 && c - 'a' < 27) cout << "a" << endl; else cout << "A" << endl; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20]]
1
54
#include <stdio.h> int main(void) { char s; scanf("%c", &s); if (65 <= s && s <= 98) { printf("A"); } else printf("a"); return 0; }
#include <stdio.h> int main(void) { char s; scanf("%c", &s); if (65 <= s && s <= 90) { printf("A"); } else printf("a"); return 0; }
[["-", 0, 57, 15, 23, 0, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 23, 0, 16, 12, 16, 12, 13]]
0
52
alpha = str(input()) if alpha > "A" and alpha < "Z": print("A") else: print("a")
alpha = str(input()) if alpha >= "A" and alpha <= "Z": print("A") else: print("a")
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 47], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 20], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 19]]
5
35
#include <bits/stdc++.h> #define ll long long int #define lb lower_bound #define ub upper_bound #define fi first #define mp make_pair #define vll vector<ll> #define se second #define sz size() #define mod 1000000007 #define endl "\n" #define fast \ ios...
#include <bits/stdc++.h> #define ll long long int #define lb lower_bound #define ub upper_bound #define fi first #define mp make_pair #define vll vector<ll> #define se second #define sz size() #define mod 1000000007 #define endl "\n" #define fast \ ios...
[["-", 75, 76, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 103, 0, 104], ["+", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125]]
1
311
#include <iostream> using namespace std; int main(void) { char a; cin >> a; if (a - 'A' >= 0) cout << 'A' << endl; else cout << 'a' << endl; return 0; }
#include <iostream> using namespace std; int main(void) { char a; cin >> a; if (a - 'a' >= 0) cout << 'a' << endl; else cout << 'A' << endl; return 0; }
[["-", 15, 339, 51, 16, 31, 16, 12, 103, 0, 125], ["+", 15, 339, 51, 16, 31, 16, 12, 103, 0, 125], ["-", 64, 1, 0, 16, 31, 16, 12, 103, 0, 125], ["+", 64, 1, 0, 16, 31, 16, 12, 103, 0, 125], ["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125], ["+", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125]]
1
50
#include <ctype.h> #include <stdio.h> int main() { char c; scanf("%c", &c); if (isupper(c)) { printf("a"); } else { printf("A"); } return 0; }
#include <ctype.h> #include <stdio.h> int main() { char c; scanf("%c", &c); if (isupper(c)) { printf("A"); } else { printf("a"); } return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
52
#include <iostream> using namespace std; // Compiler version g++ 6.3.0 int main() { char x; cin >> x; if (x >= 65 && x <= 97) cout << "A" << endl; else cout << "a" << endl; }
#include <iostream> using namespace std; // Compiler version g++ 6.3.0 int main() { char x; cin >> x; if (x >= 65 && x <= 90) cout << "A" << endl; else cout << "a" << endl; }
[["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]]
1
47
// shan61916 #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef double dll; #define mp make_pair #define pb push_back #define ff first #define ss second #define IOS \ ios::sync_with_stdio(false...
// shan61916 #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef double dll; #define mp make_pair #define pb push_back #define ff first #define ss second #define IOS \ ios::sync_with_stdio(false...
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20]]
1
154
#include <bits/stdc++.h> #include <iostream> using namespace std; #define debug(x) cout << '>' << #x << ':' << x << endl; #define loop0(i, n) for (int i = 0; i < (n); i++) #define loop1(i, n) for (int i = 1; i <= (n); i++) #define fori(a, b, i) for (int i = (a); i <= (b); i++) #define ford(a, b, i) for (int i = (a); i...
#include <bits/stdc++.h> #include <iostream> using namespace std; #define debug(x) cout << '>' << #x << ':' << x << endl; #define loop0(i, n) for (int i = 0; i < (n); i++) #define loop1(i, n) for (int i = 1; i <= (n); i++) #define fori(a, b, i) for (int i = (a); i <= (b); i++) #define ford(a, b, i) for (int i = (a); i...
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
220
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (a > 'A' && a < 'Z') { cout << "A"; } else if (a > 'a' && a < 'z') { cout << "a"; } }
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (a >= 'A' && a <= 'Z') { cout << "A"; } else if (a >= 'a' && a <= 'z') { cout << "a"; } }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]]
1
64
#include <bits/stdc++.h> //#include <string> using namespace std; #define typeof(x) __typeof__(x) #define bit(x, i) (x & (1 << i)) // select the bit of position i of x #define lowbit(x) ((x) & ((x) ^ ((x)-1))) // get the lowest bit of x #define hBit(msb, n) ...
#include <bits/stdc++.h> //#include <string> using namespace std; #define typeof(x) __typeof__(x) #define bit(x, i) (x & (1 << i)) // select the bit of position i of x #define lowbit(x) ((x) & ((x) ^ ((x)-1))) // get the lowest bit of x #define hBit(msb, n) ...
[["-", 0, 57, 15, 339, 51, 16, 12, 103, 0, 125], ["+", 0, 57, 15, 339, 51, 16, 12, 103, 0, 125], ["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
969
#include <bits/stdc++.h> using namespace std; int main() { char N; cin >> N; if (N < 'A') { cout << "a" << endl; } else { cout << "A" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char N; cin >> N; if (N >= 'a') { cout << "a" << endl; } else { cout << "A" << endl; } }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 103, 0, 125], ["+", 0, 57, 15, 339, 51, 16, 12, 103, 0, 125]]
1
48
#include <bits/stdc++.h> using namespace std; // useful #define rep(i, n) for (int i = 0; i < (n); i++) int long long gcd(int long long a, int long long b) { return b ? gcd(b, a % b) : a; } //最大公約数 int long long lcm(int long long a, int long long b) { return a / gcd(a, b) * b; } //最小公倍数 int long long GetDigit(int l...
#include <bits/stdc++.h> using namespace std; // useful #define rep(i, n) for (int i = 0; i < (n); i++) int long long gcd(int long long a, int long long b) { return b ? gcd(b, a % b) : a; } //最大公約数 int long long lcm(int long long a, int long long b) { return a / gcd(a, b) * b; } //最小公倍数 int long long GetDigit(int l...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 146]]
1
204
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define ll long long ll gcd(ll x, ll y) { return (x % y) ? gcd(y, x % y) : y; } //最大公約数 ll lcm(ll x, ll y) { return x / gcd(x, y) * y; } //最小公倍数 using Graph = vector<vector<ll>>; ll inf = 300000000000000000; con...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define ll long long ll gcd(ll x, ll y) { return (x % y) ? gcd(y, x % y) : y; } //最大公約数 ll lcm(ll x, ll y) { return x / gcd(x, y) * y; } //最小公倍数 using Graph = vector<vector<ll>>; ll inf = 300000000000000000; con...
[["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 20]]
1
147
#include <bits/stdc++.h> #define ll long long int #define uu first #define vv second #define pii pair<int, int> #define pll pair<ll, ll> #define INF 1e9 #define fastRead \ ios_base::sync_with_stdio(0); \ cin...
#include <bits/stdc++.h> #define ll long long int #define uu first #define vv second #define pii pair<int, int> #define pll pair<ll, ll> #define INF 1e9 #define fastRead \ ios_base::sync_with_stdio(0); \ cin...
[["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
89
#include <bits/stdc++.h> #define F first #define S second #define int long long #define pb push_back #define endl '\n' using namespace std; int32_t main() { ios_base ::sync_with_stdio(false); cin.tie(0), cout.tie(0); char n; cin >> n; if ((int)n <= 97) cout << "A"; else cout << "a"; return 0; }...
#include <bits/stdc++.h> #define F first #define S second #define int long long #define pb push_back #define endl '\n' using namespace std; int32_t main() { ios_base ::sync_with_stdio(false); cin.tie(0), cout.tie(0); char n; cin >> n; // cout << (int)('a') << endl; if ((int)n < 97) cout << "A"; els...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18]]
1
80
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (li i = 0; i < n; i++) #define li long long int #define ll long long int #define pb push_back #define all(v) sort(v.begin(), v.end()) const int N = 40043; const ll mod = 1e9 + 7; #define FAST_IO ...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (li i = 0; i < n; i++) #define li long long int #define ll long long int #define pb push_back #define all(v) sort(v.begin(), v.end()) const int N = 40043; const ll mod = 1e9 + 7; #define FAST_IO ...
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]]
1
420
a = input() if (str.isupper(a)): print("A") else: print(a)
a = input() if (str.isupper(a)): print("A") else: print("a")
[["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655]]
5
27
i = input() if(i.isupper()): print("A") if(i.islower()): print("B")
i = input() if(i.isupper()): print("A") if(i.islower()): print("a")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
35
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { char ch; cin >> ch; if (ch - 'a' > 0) { cout << "a" << endl; } else { cout << "A" << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { char ch; cin >> ch; if (ch - 'a' >= 0) { cout << "a" << endl; } else { cout << "A" << endl; } return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
58
#include <bits/stdc++.h> using namespace std; main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); long long i, j, k, l, m, n, p, t; char s[100]; while (cin >> s) { if (s[0] < 90) cout << "A" << endl; else cout << "a" << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); long long i, j, k, l, m, n, p, t; char s[100]; while (cin >> s) { if (s[0] < 93) cout << "A" << endl; else cout << "a" << endl; } return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]]
1
93
#include <bits/stdc++.h> #define rep(i, l, r) for (register int i = l; i < r; i++) #define hrp(i, l, r) for (register int i = l; i <= r; i++) #define rev(i, r, l) for (register int i = r; i >= l; i--) #define ms(n, t) memset(n, t, sizeof(n)) #define U 10050 #define pb push_back #define int ll #ifndef JOEON #define D(.....
#include <bits/stdc++.h> #define rep(i, l, r) for (register int i = l; i < r; i++) #define hrp(i, l, r) for (register int i = l; i <= r; i++) #define rev(i, r, l) for (register int i = r; i >= l; i--) #define ms(n, t) memset(n, t, sizeof(n)) #define U 10050 #define pb push_back #define int ll #ifndef JOEON #define D(.....
[["-", 15, 339, 51, 16, 12, 16, 12, 103, 0, 125], ["+", 15, 339, 51, 16, 12, 16, 12, 103, 0, 125]]
1
264
#pragma GCC optimize("Ofast") #include <algorithm> #include <ctype.h> #include <stdio.h> using namespace std; int main() { char ch; scanf(" %c", &ch); if (isupper(ch)) puts("A"); else puts("B"); }
#pragma GCC optimize("Ofast") #include <algorithm> #include <ctype.h> #include <stdio.h> using namespace std; int main() { char ch; scanf(" %c", &ch); if (isupper(ch)) puts("A"); else puts("a"); }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
53
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (islower(c)) cout << "A" << "\n"; else cout << "a\n"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (islower(c)) cout << "a" << "\n"; else cout << "A\n"; return 0; }
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
47
#include <iostream> #include <string> #include <vector> using namespace std; int main() { char al; cin >> al; if (al >= 'a' && al <= 'z') { cout << 'a' << endl; } cout << 'A' << endl; return 0; }
#include <iostream> #include <string> #include <vector> using namespace std; int main() { char al; cin >> al; if (al >= 'a' && al <= 'z') { cout << 'a' << endl; } else { cout << 'A' << endl; } return 0; }
[["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46]]
1
58
#include <bits/stdc++.h> using namespace std; //#include <ext/pb_ds/assoc_container.hpp> // using namespace __gnu_pbds; // typedef tree <int,null_type,less <int>, rb_tree_tag, // tree_order_statistics_node_update> indexed_set; // #include <ext/rope> // using namespace __gnu_cxx; typedef long long int ll; typedef long d...
#include <bits/stdc++.h> using namespace std; //#include <ext/pb_ds/assoc_container.hpp> // using namespace __gnu_pbds; // typedef tree <int,null_type,less <int>, rb_tree_tag, // tree_order_statistics_node_update> indexed_set; // #include <ext/rope> // using namespace __gnu_cxx; typedef long long int ll; typedef long d...
[["-", 64, 9, 0, 1, 0, 16, 12, 103, 0, 125], ["+", 64, 9, 0, 1, 0, 16, 12, 103, 0, 125], ["-", 0, 9, 0, 1, 0, 16, 12, 103, 0, 125], ["+", 0, 9, 0, 1, 0, 16, 12, 103, 0, 125]]
1
235
#include <bits/stdc++.h> // ios::sync_with_stdio(false);cin.tie(0);cout.tie(0); // clock_t start=clock();clock_t // end=clock();cout<<(double)(end-start)/CLOCKS_PER_SEC<<endl; using namespace std; typedef long long ll; typedef unsigned long long ull; typedef unsigned int ui; typedef pair<int, int> pii; typedef pair<pii...
#include <bits/stdc++.h> // ios::sync_with_stdio(false);cin.tie(0);cout.tie(0); // clock_t start=clock();clock_t // end=clock();cout<<(double)(end-start)/CLOCKS_PER_SEC<<endl; using namespace std; typedef long long ll; typedef unsigned long long ull; typedef unsigned int ui; typedef pair<int, int> pii; typedef pair<pii...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]]
1
736
if input().islower() == "True": print("A") else: print("a")
if input().istitle() == True: print("A") else: print("a")
[["-", 0, 57, 15, 666, 0, 652, 63, 319, 319, 22], ["+", 0, 57, 15, 666, 0, 652, 63, 319, 319, 22], ["-", 0, 656, 0, 57, 15, 666, 0, 557, 0, 654], ["-", 0, 656, 0, 57, 15, 666, 0, 557, 0, 655]]
5
27
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); i++) typedef long long ll; using namespace std; int main() { char a; cin >> a; if (a <= 65 && a <= 90) { cout << "A" << endl; } else { cout << "a" << endl; } return 0; }
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); i++) typedef long long ll; using namespace std; int main() { char a; cin >> a; if (a >= 65 && a <= 90) { cout << "A" << endl; } else { cout << "a" << endl; } return 0; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20]]
1
66
#include <bits/stdc++.h> using namespace std; #define pb push_back #define ll long long #define mk make_pair int main() { string s; cin >> s; if (s[0] > 'A' && s[0] <= 'Z') cout << "A" << endl; else cout << "a" << endl; }
#include <bits/stdc++.h> using namespace std; #define pb push_back #define ll long long #define mk make_pair int main() { string s; cin >> s; if (s[0] >= 'A' && s[0] <= 'Z') cout << "A" << endl; else cout << "a" << endl; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20]]
1
65
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; ++i) using namespace std; typedef long long ll; #define MODSIZE 1000000007 // priority_queue<int, vector<int>, greater<int> > PQ; // 昇順PQ priority_queue<ll> pq[200006]; int main() { char s[2]; scanf("%s", s); if (s[0] >= 'a' && s[0] <= 'z') p...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; ++i) using namespace std; typedef long long ll; #define MODSIZE 1000000007 // priority_queue<int, vector<int>, greater<int> > PQ; // 昇順PQ priority_queue<ll> pq[200006]; int main() { char s[2]; scanf("%s", s); if (s[0] >= 'a' && s[0] <= 'z') p...
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
1
93
#include <bits/stdc++.h> #define int long long int using namespace std; signed main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); char c; cin >> c; if ((int)c >= (int)'a' && (int)c <= (int)'b') cout << "a"; else cout << "A"; return 0; }
#include <bits/stdc++.h> #define int long long int using namespace std; signed main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); char c; cin >> c; if ((int)c >= (int)'a' && (int)c <= (int)'z') cout << "a"; else cout << "A"; return 0; }
[["-", 51, 16, 12, 16, 12, 74, 51, 103, 0, 125], ["+", 51, 16, 12, 16, 12, 74, 51, 103, 0, 125]]
1
85
a = input() if ord(a) >= 'a' and ord(a) <= 'z': print("a") else: print("A")
a = input() if ord(a) >= ord('a') and ord(a) <= ord('z'): print("a") else: print("A")
[["+", 0, 57, 15, 679, 31, 666, 0, 652, 63, 22], ["+", 15, 679, 31, 666, 0, 652, 3, 4, 0, 24], ["+", 15, 679, 31, 666, 0, 652, 3, 4, 0, 25], ["+", 0, 57, 15, 679, 12, 666, 0, 652, 63, 22], ["+", 15, 679, 12, 666, 0, 652, 3, 4, 0, 24], ["+", 15, 679, 12, 666, 0, 652, 3, 4, 0, 25]]
5
38
a=input() if str.isupper(a)==True: print("A") else: print("b")
a=input() if str.isupper(a)==True: print("A") else: print("a")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
29
// う し た ぷ に き あ く ん 笑 #include <algorithm> #include <array> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <vector> using namespace std; #define int long long signed main() { cin.tie(0); ios::sync_with_stdio(0); string s; cin >> s; if ('a' <...
// う し た ぷ に き あ く ん 笑 #include <algorithm> #include <array> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <vector> using namespace std; #define int long long signed main() { cin.tie(0); ios::sync_with_stdio(0); string s; cin >> s; if ('a' <...
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 15, 339, 51, 16, 12, 16, 31, 69, 28, 22], ["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 70], ["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 73]]
1
89
#include <algorithm> #include <cctype> #include <climits> #include <cmath> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <list> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <unordered_map> #incl...
#include <algorithm> #include <cctype> #include <climits> #include <cmath> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <list> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <unordered_map> #incl...
[["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 103, 0, 104], ["+", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125], ["-", 0, 9, 0, 1, 0, 16, 31, 16, 12, 22]]
1
227
alpha = input() large = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'] small = [i.lower() for i in large] if alpha in large: print("A") else: pritn("a")
alpha = input() large = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'] small = [i.lower() for i in large] if alpha in large: print("A") else: print("a")
[["-", 75, 76, 8, 196, 0, 1, 0, 652, 63, 22], ["+", 75, 76, 8, 196, 0, 1, 0, 652, 63, 22]]
5
144
#include <bits/stdc++.h> #define pb push_back #define mp make_pair #define fi first #define se second #define sz(a) (a).size() #define all(c) (c).begin(), (c).end() #define rep(i, n) for (int i = 0; i < n; i++) #define forn(i, n) for (int i = 1; i <= n; i++) #define ford(i, n) for (int i = n; i >= 0; i--) #define REP(i...
#include <bits/stdc++.h> #define pb push_back #define mp make_pair #define fi first #define se second #define sz(a) (a).size() #define all(c) (c).begin(), (c).end() #define rep(i, n) for (int i = 0; i < n; i++) #define forn(i, n) for (int i = 1; i <= n; i++) #define ford(i, n) for (int i = n; i >= 0; i--) #define REP(i...
[["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
166
#include <bits/stdc++.h> using namespace std; typedef unsigned long long ull; typedef long long ll; typedef long double ld; const double pi = 3.14159265358979323846; #define speed \ ios_base::sync_with_stdio(0); ...
#include <bits/stdc++.h> using namespace std; typedef unsigned long long ull; typedef long long ll; typedef long double ld; const double pi = 3.14159265358979323846; #define speed \ ios_base::sync_with_stdio(0); ...
[["-", 0, 57, 75, 76, 0, 1, 0, 16, 12, 22], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
66
#include <bits/stdc++.h> //#define ll long long using namespace std; #define SPEED \ ios::sync_with_stdio(false); \ cin.tie(0); \ cout.t...
#include <bits/stdc++.h> //#define ll long long using namespace std; #define SPEED \ ios::sync_with_stdio(false); \ cin.tie(0); \ cout.t...
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]]
1
107
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (a <= 'Z') cout << "a" << endl; else cout << "A" << endl; return (0); }
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (a > 'Z') cout << "a" << endl; else cout << "A" << endl; return (0); }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]]
1
49
#include <iostream> #include <string> using namespace std; int main() { char a; cin >> a; if (a > 'A' && a < 'Z') { cout << "A\n"; } else { cout << "a\n"; } return 0; }
#include <iostream> #include <string> using namespace std; int main() { char a; cin >> a; if (a >= 'A' && a <= 'Z') { cout << "A\n"; } else { cout << "a\n"; } return 0; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]]
1
57
// /* // power code taken from geeks for geeks // */ // cout << setprecision (2) << fixed << 1.2; #include <bits/stdc++.h> #define MODD 1000000007LL #define MAX_SIZE 100000000 #define MAX_N 200001 #define INF 1000000000 using namespace std; typedef long long ll; typedef long double ld; ll max(ll a, ll b) { return a >...
// /* // power code taken from geeks for geeks // */ // cout << setprecision (2) << fixed << 1.2; #include <bits/stdc++.h> #define MODD 1000000007LL #define MAX_SIZE 100000000 #define MAX_N 200001 #define INF 1000000000 using namespace std; typedef long long ll; typedef long double ld; ll max(ll a, ll b) { return a >...
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22]]
1
387
#include <iostream> using namespace std; int main() { char S; cin >> S; if (isupper(S)) { cout << "A" << endl; } else { cout << "B" << endl; } return 0; }
#include <iostream> using namespace std; int main() { char S; cin >> S; if (isupper(S)) { cout << "A" << endl; } else { cout << "a" << endl; } return 0; }
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
50
#include <bits/stdc++.h> using namespace std; int main() { char A; cin >> A; if (isupper(A)) { cout << "A" << endl; } else { cout << "B" << endl; }; }
#include <bits/stdc++.h> using namespace std; int main() { char A; cin >> A; if (isupper(A)) { cout << "A" << endl; } else { cout << "a" << endl; }; }
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
48
#include <bits/stdc++.h> using namespace std; #define MOD 1000000007 #define ll long long #define ull unsigned long long #define si set<ll> #define vi vector<ll> #define popcount(x) __builtin_popcountll(x) #define mii map<ll, ll> #define vpi vector<pair<ll, ll>> #define sz(c) (int)c.size() #define fr first #define ll l...
#include <bits/stdc++.h> using namespace std; #define MOD 1000000007 #define ll long long #define ull unsigned long long #define si set<ll> #define vi vector<ll> #define popcount(x) __builtin_popcountll(x) #define mii map<ll, ll> #define vpi vector<pair<ll, ll>> #define sz(c) (int)c.size() #define fr first #define ll l...
[["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
381
#include <algorithm> #include <array> #include <cstdlib> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> #define _USE_MATH_DEFINES #include <climits> #include <cmath> #include <cstdio> #include <iomanip> #include <unordered_map> #include <utility> ...
#include <algorithm> #include <array> #include <cstdlib> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> #define _USE_MATH_DEFINES #include <climits> #include <cmath> #include <cstdio> #include <iomanip> #include <unordered_map> #include <utility> ...
[["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125], ["+", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125]]
1
131
s = input() ans = 0 if s.isupper(): print("a") else: print("A")
s = input() ans = 0 if s.isupper(): print("A") else: print("a")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
29
// Coded by Abhijay Mitra #include <algorithm> #include <bitset> #include <cctype> #include <climits> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <iterator> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <stdlib.h> #include <vector> // ...
// Coded by Abhijay Mitra #include <algorithm> #include <bitset> #include <cctype> #include <climits> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <iterator> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <stdlib.h> #include <vector> // ...
[["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
318
if input().isupper == True: print("A") else: print("a")
if input().isupper() == True: print("A") else: print("a")
[["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 24], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 25]]
5
23
// Created by Nandu Vinodan #include <bits/stdc++.h> #define db1(x) cout << #x << "=" << x << '\n' #define db2(x, y) cout << #x << "=" << x << "," << #y << "=" << y << '\n' #define db3(x, y, z) \ cout << #x << "=" << x << "," << #y << "=" << y << "," << #z <<...
// Created by Nandu Vinodan #include <bits/stdc++.h> #define db1(x) cout << #x << "=" << x << '\n' #define db2(x, y) cout << #x << "=" << x << "," << #y << "=" << y << '\n' #define db3(x, y, z) \ cout << #x << "=" << x << "," << #y << "=" << y << "," << #z <<...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
173
#include <bits/stdc++.h> // __builtin_ctz : no of trailing zeros #define int long long #define ll long long #define pp pair<int, int> #define mod 1000000007 #define trace(x) cerr << #x << ": " << x << " " << endl #define trace2(x, y) cerr << #x << ": " << x << " | " << #y << ": " << y << endl #define trace3(x, y, z) ...
#include <bits/stdc++.h> // __builtin_ctz : no of trailing zeros #define int long long #define ll long long #define pp pair<int, int> #define mod 1000000007 #define trace(x) cerr << #x << ": " << x << " " << endl #define trace2(x, y) cerr << #x << ": " << x << " | " << #y << ": " << y << endl #define trace3(x, y, z) ...
[["-", 15, 339, 51, 16, 12, 16, 12, 103, 0, 125], ["+", 15, 339, 51, 16, 12, 16, 12, 103, 0, 125]]
1
255
#include <stdio.h> int main(void) { char a; long int ans; scanf("%c", &a); if (a > 'A' && a < 'Z') printf("A"); else printf("a"); // printf("%d",ans); return 0; }
#include <stdio.h> int main(void) { char a; long int ans; scanf("%c", &a); if (a >= 'A' && a <= 'Z') printf("A"); else printf("a"); // printf("%d",ans); return 0; }
[["-", 0, 57, 15, 23, 0, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 23, 0, 16, 31, 16, 17, 20], ["-", 0, 57, 15, 23, 0, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 23, 0, 16, 12, 16, 17, 19]]
0
59
#include <iostream> using namespace std; int main() { string a; cin >> a; if (a[0] > 'a' && a[0] < 'z') cout << "a"; else cout << "A"; return 0; }
#include <iostream> using namespace std; int main() { string a; cin >> a; if (a[0] >= 'a' && a[0] <= 'z') cout << "a"; else cout << "A"; return 0; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]]
1
55
#ifdef __APPLE__ #include <algorithm> #include <cmath> #include <ctgmath> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <queue> #include <random> #include <set> #include <stack> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> #else #include <bits...
#ifdef __APPLE__ #include <algorithm> #include <cmath> #include <ctgmath> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <queue> #include <random> #include <set> #include <stack> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> #else #include <bits...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]]
1
383
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define PI 3.14159265358979323846 #define int long long constexpr long long INF = numeric_limits<long long>::max() / 2; constexpr int MOD = 1000000007; using Graph = vector<vector<int>>; signed main() { cin.tie(nullptr...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define PI 3.14159265358979323846 #define int long long constexpr long long INF = numeric_limits<long long>::max() / 2; constexpr int MOD = 1000000007; using Graph = vector<vector<int>>; signed main() { cin.tie(nullptr...
[["-", 0, 14, 8, 9, 0, 7, 15, 16, 17, 18], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 17, 19]]
1
130
if input()[0].islower(): print('A') else: print('a')
if input()[0].islower(): print('a') else: print('A')
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
26
/* @uthor: Amit Kumar user -->GitHub: drviruses ; CodeChef: dr_virus_ ; Codeforces,AtCoder,Hackerearth,Hakerrank: dr_virus; */ #include <bits/stdc++.h> #include <chrono> using namespace std; using namespace std::chrono; //#include <boost/multiprecision/cpp_int.hpp> // namespace mp = boost::multiprecision; //...
/* @uthor: Amit Kumar user -->GitHub: drviruses ; CodeChef: dr_virus_ ; Codeforces,AtCoder,Hackerearth,Hakerrank: dr_virus; */ #include <bits/stdc++.h> #include <chrono> using namespace std; using namespace std::chrono; //#include <boost/multiprecision/cpp_int.hpp> // namespace mp = boost::multiprecision; //...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]]
1
239
#include <bits/stdc++.h> #define int long long #define quickie \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); #define rep(i, a, b) for (int i = a; i < b; i++) #define rep1(i, a, b) for (int i = a; i <= b;...
#include <bits/stdc++.h> #define int long long #define quickie \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); #define rep(i, a, b) for (int i = a; i < b; i++) #define rep1(i, a, b) for (int i = a; i <= b;...
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
253
// coded by: pranonrahman------------------------------------- //----------------------------------------------------------- //----------------------------------------------------------- #include <bits/stdc++.h> using namespace std; #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using nam...
// coded by: pranonrahman------------------------------------- //----------------------------------------------------------- //----------------------------------------------------------- #include <bits/stdc++.h> using namespace std; #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using nam...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
115
#include <bits/stdc++.h> #define fastio \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); \ cout.tie(NULL); #define endl "\n" #define PI 3.14...
#include <bits/stdc++.h> #define fastio \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); \ cout.tie(NULL); #define endl "\n" #define PI 3.14...
[["-", 15, 16, 31, 23, 0, 16, 12, 103, 0, 125], ["+", 15, 16, 31, 23, 0, 16, 12, 103, 0, 125], ["-", 0, 16, 12, 23, 0, 41, 15, 16, 17, 60], ["-", 0, 16, 12, 23, 0, 41, 15, 16, 12, 13], ["+", 0, 16, 12, 23, 0, 41, 15, 16, 17, 19], ["+", 0, 16, 12, 23, 0, 41, 15, 16, 12, 13], ["-", 0, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+...
1
75
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <tuple> #include <vector> using namespace std; using ll = long long; int main() { char a; cin >> a; if ('A' < a && a < 'Z') cout << 'A' << endl; else cout << 'a' << endl;...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <tuple> #include <vector> using namespace std; using ll = long long; int main() { char a; cin >> a; if ('A' <= a && a <= 'Z') cout << 'A' << endl; else cout << 'a' << end...
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]]
1
75
#include <bits/stdc++.h> using namespace std; void solution() { char a; cin >> a; if (a >= 'A') cout << "A\n"; else cout << "a\n"; } int main() { ios_base::sync_with_stdio(0); cin.tie(); cout.tie(); int t; t = 1; while (t--) solution(); return 0; }
#include <bits/stdc++.h> using namespace std; void solution() { char a; cin >> a; if (a <= 'Z') cout << "A\n"; else cout << "a\n"; } int main() { ios_base::sync_with_stdio(0); cin.tie(); cout.tie(); int t; t = 1; while (t--) solution(); return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 103, 0, 125], ["+", 0, 57, 15, 339, 51, 16, 12, 103, 0, 125]]
1
86
import math #import numpy as np import queue from collections import deque,defaultdict import heapq as hpq from sys import stdin,setrecursionlimit #from scipy.sparse.csgraph import dijkstra #from scipy.sparse import csr_matrix ipt = stdin.readline setrecursionlimit(10**7) def main(): a = input() if a.isupper()...
import math #import numpy as np import queue from collections import deque,defaultdict import heapq as hpq from sys import stdin,setrecursionlimit #from scipy.sparse.csgraph import dijkstra #from scipy.sparse import csr_matrix ipt = stdin.readline setrecursionlimit(10**7) def main(): a = input() if a.isupper()...
[["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655]]
5
72
a = input() if (isupper(a)): print("A") else: print("a")
a = input() if (a.isupper()): print("A") else: print("a")
[["+", 0, 57, 15, 23, 0, 652, 63, 319, 500, 22], ["+", 0, 57, 15, 23, 0, 652, 63, 319, 0, 131], ["-", 0, 57, 15, 23, 0, 652, 3, 4, 0, 22]]
5
27
#include <algorithm> #include <iostream> #define flush fflush(stdout) using namespace std; typedef long long ll; typedef pair<int, int> P; typedef pair<ll, ll> Pl; const int mod = (int)998244353, INF = (int)1e9; const int di[4] = {1, 0, -1, 0}, dj[4] = {0, 1, 0, -1}; int main(void) { char a; scanf("%c", &a); i...
#include <algorithm> #include <iostream> #define flush fflush(stdout) using namespace std; typedef long long ll; typedef pair<int, int> P; typedef pair<ll, ll> Pl; const int mod = (int)998244353, INF = (int)1e9; const int di[4] = {1, 0, -1, 0}, dj[4] = {0, 1, 0, -1}; int main(void) { char a; scanf("%c", &a); i...
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
134
#include <bits/stdc++.h> using namespace std; #define endl "\n" #define fastio \ ios_base::sync_with_stdio(0); \ cin.tie(0) #define int long long const int mod = 1e9 + 7; int32_t main() { fastio; cha...
#include <bits/stdc++.h> using namespace std; #define endl "\n" #define fastio \ ios_base::sync_with_stdio(0); \ cin.tie(0) #define int long long const int mod = 1e9 + 7; int32_t main() { fastio; cha...
[["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125], ["+", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125]]
1
77
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); char c; cin >> c; if (c >= 'a') cout << "A\n"; else cout << "a\n"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); char c; cin >> c; if (c >= 'a') cout << "a\n"; else cout << "A\n"; return 0; }
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
59
#include <bits/stdc++.h> #define FOR(i, l, r) for (ll i = l; i < r; i++) #define rep(i, N) FOR(i, 0, N) using namespace std; typedef long long ll; typedef pair<int, int> P; typedef vector<int> vi; typedef vector<ll> vl; const ll MOD = round(1e9 + 7); int main() { char c; cin >> c; char ans = 'a'; if (c - 'a'...
#include <bits/stdc++.h> #define FOR(i, l, r) for (ll i = l; i < r; i++) #define rep(i, N) FOR(i, 0, N) using namespace std; typedef long long ll; typedef pair<int, int> P; typedef vector<int> vi; typedef vector<ll> vl; const ll MOD = round(1e9 + 7); int main() { char c; cin >> c; char ans = 'A'; if (c - 'A'...
[["-", 8, 9, 0, 43, 49, 50, 51, 103, 0, 125], ["+", 8, 9, 0, 43, 49, 50, 51, 103, 0, 125], ["-", 15, 339, 51, 16, 31, 16, 12, 103, 0, 125], ["+", 15, 339, 51, 16, 31, 16, 12, 103, 0, 125], ["-", 0, 57, 64, 1, 0, 11, 12, 103, 0, 125], ["+", 0, 57, 64, 1, 0, 11, 12, 103, 0, 125]]
1
108
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); ++i) #define cout(val) cout << (val) << endl using namespace std; typedef long long ll; int main() { char a; if ('a' <= a && a <= 'z') cout("a"); else cout("A"); }
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); ++i) #define cout(val) cout << (val) << endl using namespace std; typedef long long ll; int main() { char a; cin >> a; if ('a' <= a && a <= 'z') cout("a"); else cout("A"); }
[["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
63
#include <algorithm> #include <iostream> #include <string> using std::cin; using std::cout; using std::string; int main(void) { char a; cin >> a; // int a, b; // cin >> a >> b; // int ans; // // int ans = ; // cout << ans << '\n'; const string ans[2] = {"a\n", "A\n"}; cout << ans[a < 'Z'] << '\n'; ...
#include <algorithm> #include <iostream> #include <string> using std::cin; using std::cout; using std::string; int main(void) { char a; cin >> a; // int a, b; // cin >> a >> b; // int ans; // // int ans = ; // cout << ans << '\n'; const string ans[2] = {"a\n", "A\n"}; cout << ans[a <= 'Z'] << '\n';...
[["-", 31, 16, 12, 69, 341, 342, 0, 16, 17, 18], ["+", 31, 16, 12, 69, 341, 342, 0, 16, 17, 19]]
1
77
#include <bits/stdc++.h> //#include <boost/multiprecision/cpp_int.hpp> //#include <ext/pb_ds/assoc_container.hpp> //#include <ext/pb_ds/tree_policy.hpp> #pragma GCC optimize("O3") #define REP(i, n) for (int i = 0; i < n; i++) #define REPP(i, n) for (int i = 1; i <= n; i++) #define ALL(obj) (obj).begin(), (obj).end() #d...
#include <bits/stdc++.h> //#include <boost/multiprecision/cpp_int.hpp> //#include <ext/pb_ds/assoc_container.hpp> //#include <ext/pb_ds/tree_policy.hpp> #pragma GCC optimize("O3") #define REP(i, n) for (int i = 0; i < n; i++) #define REPP(i, n) for (int i = 1; i <= n; i++) #define ALL(obj) (obj).begin(), (obj).end() #d...
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
361
a = input() if 'A' <= a and a <= 'Z': print('A') elif 'a' <= a and a <= 'z': print(a)
a = input() if 'A' <= a and a <= 'Z': print('A') elif 'a' <= a and a <= 'z': print('a')
[["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655]]
5
41
#include <bits/stdc++.h> //#define int long long int using namespace std; typedef long long int ll; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); ll T; cin >> T; if (T >= 'A' && T <= 'Z') { cout << "A\n"; } else { cout << "a\n"; } }
#include <bits/stdc++.h> //#define int long long int using namespace std; typedef long long int ll; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); char T; cin >> T; if (T >= 'A' && T <= 'Z') { cout << "A\n"; } else { cout << "a\n"; } }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
73
#include <algorithm> #include <bits/stdc++.h> #include <bitset> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <iostream> #include <list> #include <math.h> #include <queue> #include <stack> #include <stdio.h> #include <unordered_map> #include <vector> // #include "boost/algorithm...
#include <algorithm> #include <bits/stdc++.h> #include <bitset> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <iostream> #include <list> #include <math.h> #include <queue> #include <stack> #include <stdio.h> #include <unordered_map> #include <vector> // #include "boost/algorithm...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 354], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 355]]
1
462
//#pragma GCC optimize("03,unroll-loops") //#pragma GCC target("avx,avx2,fma") #include <bits/stdc++.h> typedef long long ll; #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #define ordered_set \ tree<int, null_type, less_equal<...
//#pragma GCC optimize("03,unroll-loops") //#pragma GCC target("avx,avx2,fma") #include <bits/stdc++.h> typedef long long ll; #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #define ordered_set \ tree<int, null_type, less_equal<...
[["-", 0, 30, 0, 14, 8, 9, 0, 42, 0, 173], ["-", 8, 9, 0, 9, 0, 1, 0, 11, 31, 22], ["-", 8, 9, 0, 9, 0, 1, 0, 11, 17, 32], ["-", 8, 9, 0, 9, 0, 1, 0, 11, 12, 22], ["-", 0, 14, 8, 9, 0, 9, 0, 1, 0, 35]]
1
495
#include <bits/stdc++.h> using namespace std; #define REP(i, x, n) for (int i = x; i < (int)n; i++) #define rep(i, n) REP(i, 0, n) #define sp(p) cout << setprecision(16) << fixed << p << endl; #define all(a) a.begin(), a.end() #define rall(a) a.rbegin(), a.rend() #define SORT(a) sort(all(a)) #define RSORT(a) sort(rall(...
#include <bits/stdc++.h> using namespace std; #define REP(i, x, n) for (int i = x; i < (int)n; i++) #define rep(i, n) REP(i, 0, n) #define sp(p) cout << setprecision(16) << fixed << p << endl; #define all(a) a.begin(), a.end() #define rall(a) a.rbegin(), a.rend() #define SORT(a) sort(all(a)) #define RSORT(a) sort(rall(...
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]]
1
382
#include <bits/stdc++.h> using namespace std; const int MOD = 1000000007; const int INF = 1e9; int main() { char a; cin >> a; string ans; if (a < 90) ans = "A"; else ans = "a"; cout << ans << endl; return 0; }
#include <bits/stdc++.h> using namespace std; const int MOD = 1000000007; const int INF = 1e9; int main() { char a; cin >> a; string ans; if (a <= 90) ans = "A"; else ans = "a"; cout << ans << endl; return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]]
1
62
#include <bits/stdc++.h> using namespace std; #define pi pair<int, int> #define ff first #define ss second #define boost \ ios::sync_with_stdio(false); \ cin.tie(nullptr) #define int long long #include "...
#include <bits/stdc++.h> using namespace std; #define pi pair<int, int> #define ff first #define ss second #define boost \ ios::sync_with_stdio(false); \ cin.tie(nullptr) #define int long long #include "...
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
66
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<int> vi; typedef vector<vector<int>> vvi; typedef vector<ll> vll; typedef vector<vector<ll>> vvll; #define REP(k, n) for (ll k = 0; k < (ll)(n); ++k) #define REPREV(k, n) for (ll k...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<int> vi; typedef vector<vector<int>> vvi; typedef vector<ll> vll; typedef vector<vector<ll>> vvll; #define REP(k, n) for (ll k = 0; k < (ll)(n); ++k) #define REPREV(k, n) for (ll k...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["-", 15, 339, 51, 16, 12, 16, 12, 103, 0, 125], ["+", 15, 339, 51, 16, 12, 16, 12, 103, 0, 125]]
1
407
// To debug : g++ -g file.cpp -o code // to flush output : fflush(stdout) or cout.flush() // cout<<setprecision(p)<<fixed<<var // use 1LL<<i to for 64 bit shifting , (ll)2 because by default 2 is ll #include <bits/stdc++.h> using namespace std; #define ll long long #define rep(i, a, n) for (i = a; i < n; ++i) #define...
// To debug : g++ -g file.cpp -o code // to flush output : fflush(stdout) or cout.flush() // cout<<setprecision(p)<<fixed<<var // use 1LL<<i to for 64 bit shifting , (ll)2 because by default 2 is ll #include <bits/stdc++.h> using namespace std; #define ll long long #define rep(i, a, n) for (i = a; i < n; ++i) #define...
[["-", 0, 57, 15, 339, 51, 16, 12, 103, 0, 125], ["+", 0, 57, 15, 339, 51, 16, 12, 103, 0, 125], ["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 103, 0, 125], ["+", 75, 76, 0, 1, 0, 16, 12, 103, 0, 125]]
1
135
a=input() print('a' if a==a.lower() else 'a')
a=input() print('a' if a==a.lower() else 'A')
[["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6]]
5
23
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c >= 'A' && c < 'Z') { cout << 'A' << endl; } else { cout << 'a' << endl; } // Your code here! }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c >= 'A' && c <= 'Z') { cout << 'A' << endl; } else { cout << 'a' << endl; } // Your code here! }
[["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]]
1
55
#include <bits/stdc++.h> using namespace std; #define FAST_INP \ ios_base::sync_with_stdio(false); \ cin.tie(NULL) int main() { FAST_INP; char c; cin >> c; if (isupper(c)) cout << "A"; else co...
#include <bits/stdc++.h> using namespace std; #define FAST_INP \ ios_base::sync_with_stdio(false); \ cin.tie(NULL) int main() { FAST_INP; char c; cin >> c; if (isupper(c)) cout << "A"; else co...
[["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
48
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define FOR(i, x, n) for (int i = x; i < (n); i++) #define ALL(n) begin(n), end(n) #define MOD (1000000007) #define INF (1e9) #define INFL (1e18) typedef long long ll; typedef unsigned int ui; typedef unsigned long long ull; ...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define FOR(i, x, n) for (int i = x; i < (n); i++) #define ALL(n) begin(n), end(n) #define MOD (1000000007) #define INF (1e9) #define INFL (1e18) typedef long long ll; typedef unsigned int ui; typedef unsigned long long ull; ...
[["-", 15, 339, 51, 16, 12, 16, 12, 103, 0, 125], ["+", 15, 339, 51, 16, 12, 16, 12, 103, 0, 125]]
1
267
#include "bits/stdc++.h" #define rep(i, N) for (int i = 0; i < N; i++) typedef long long ll; const int mod = 1e9 + 7; using namespace std; int main(void) { char x; cin >> x; if ('A' < x && x < 'Z') cout << "A" << endl; else cout << "a" << endl; return 0; }
#include "bits/stdc++.h" #define rep(i, N) for (int i = 0; i < N; i++) typedef long long ll; const int mod = 1e9 + 7; using namespace std; int main(void) { char x; cin >> x; if ('A' <= x && x <= 'Z') cout << "A" << endl; else cout << "a" << endl; return 0; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]]
1
77