Submission #213319


Source Code Expand

Copy
# -*- coding: utf-8 -*-
import math,string,itertools,fractions,heapq,collections,re,array,bisect

def s():
    return raw_input().strip()
def n():
    return int(raw_input())
def d():
    return float(raw_input())

def ls():
    return raw_input().strip().split()
def ln():
    return map(int, raw_input().strip().split())
def ld():
    return map(float, raw_input().strip().split())

def fs():
    return [raw_input().strip() for i in xrange(input())]
def fn():
    return [int(raw_input().strip()) for i in xrange(input())]
def fd():
    return [float(raw_input().strip()) for i in xrange(input())]


a = s()
#a = sorted(ln())
#a = ln()

print ord(a) - ord('A') + 1

Submission Info

Submission Time
Task A - A
User mugenen
Language Python (2.7.3)
Score 100
Code Size 698 Byte
Status AC
Exec Time 132 ms
Memory 5032 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 132 ms 5028 KB
B.txt AC 76 ms 5028 KB
C.txt AC 75 ms 5032 KB
D.txt AC 75 ms 5020 KB
E.txt AC 74 ms 5028 KB