Submission #14610931


Source Code Expand

Copy
#include<bits/stdc++.h>
#define rep(i,a,b) for(int i=a;i<b;i++)
#define rrep(i,a,b) for(int i=a;i>=b;i--)
#define fore(i,a) for(auto &i:a)
#define all(x) (x).begin(),(x).end()
//#pragma GCC optimize ("-O3")
using namespace std; void _main(); int main() { cin.tie(0); ios::sync_with_stdio(false); _main(); }
typedef long long ll; const int inf = INT_MAX / 2; const ll infl = 1LL << 60;
template<class T>bool chmax(T& a, const T& b) { if (a < b) { a = b; return 1; } return 0; }
template<class T>bool chmin(T& a, const T& b) { if (b < a) { a = b; return 1; } return 0; }
//---------------------------------------------------------------------------------------------------
/*---------------------------------------------------------------------------------------------------
            ∧_∧
      ∧_∧  (´<_` )  Welcome to My Coding Space!
     ( ´_ゝ`) /  ⌒i     @hamayanhamayan0
    /   \     | |
    /   / ̄ ̄ ̄ ̄/  |
  __(__ニつ/     _/ .| .|____
     \/____/ (u ⊃
---------------------------------------------------------------------------------------------------*/














char c;
//---------------------------------------------------------------------------------------------------
void _main() {
	cin >> c;
	if ('A' <= c && c <= 'Z') cout << "A" << endl;
	else cout << "a" << endl;
}





Submission Info

Submission Time
Task A - αlphabet
User hamayanhamayan
Language C++ (GCC 9.2.1)
Score 100
Code Size 1507 Byte
Status AC
Exec Time 7 ms
Memory 3616 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 10
Set Name Test Cases
Sample a01.txt, a02.txt
All a01.txt, a02.txt, b03.txt, b04.txt, b05.txt, b06.txt, b07.txt, b08.txt, b09.txt, b10.txt
Case Name Status Exec Time Memory
a01.txt AC 7 ms 3504 KB
a02.txt AC 3 ms 3504 KB
b03.txt AC 1 ms 3544 KB
b04.txt AC 2 ms 3556 KB
b05.txt AC 2 ms 3616 KB
b06.txt AC 2 ms 3492 KB
b07.txt AC 2 ms 3444 KB
b08.txt AC 2 ms 3508 KB
b09.txt AC 3 ms 3580 KB
b10.txt AC 2 ms 3508 KB