Submission #2304363


Source Code Expand

#include<cstdio>
#include<cctype>
#include<algorithm>
namespace chtholly{
typedef long long ll;
#define re0 register int
#define rec register char
#define rel register ll
#define gc getchar
#define pc putchar
#define p32 pc(' ')
#define pl puts("")
inline int read(){
  re0 x=0,f=1;rec c=gc();
  for (;!isdigit(c);c=gc()) f^=c=='-';
  for (;isdigit(c);c=gc()) x=x*10+c-'0';
  return x*(f?1:-1);
  }
inline void read(rel &x){
  x=0;re0 f=1;rec c=gc();
  for (;!isdigit(c);c=gc()) f^=c=='-';
  for (;isdigit(c);c=gc()) x=x*10+c-'0';
  x*=f?1:-1;
  }
template <typename mitsuha>
inline int write(mitsuha x){
  if (!x) return pc(48);
  if (x<0) x=-x,pc('-');
  re0 bit[20],i,p=0;
  for (;x;x/=10) bit[++p]=x%10;
  for (i=p;i;--i) pc(bit[i]+48);
  }
}
using namespace chtholly;
using namespace std;
char c=gc();
int main()
{
printf("%d\n",c-'A'+1);
}

Submission Info

Submission Time
Task A - A
User vjudge4
Language C++14 (GCC 5.4.1)
Score 100
Code Size 845 Byte
Status AC
Exec Time 0 ms
Memory 128 KB

Judge Result

Set Name all
Score / Max Score 100 / 100
Status
AC × 5
Set Name Test Cases
all A.txt, B.txt, C.txt, D.txt, E.txt
Case Name Status Exec Time Memory
A.txt AC 0 ms 128 KB
B.txt AC 0 ms 128 KB
C.txt AC 0 ms 128 KB
D.txt AC 0 ms 128 KB
E.txt AC 0 ms 128 KB