Submission #213719


Source Code Expand

Copy
import java.util.*;
 
public class Main
{
    public static void main (String[] args)
    {
        Scanner sc = new Scanner(System.in);
        String n = sc.next();
        System.out.println(n.charAt(0) - 'A' + 1);
    }
}

Submission Info

Submission Time
Task A - A
User smallgate
Language Java (OpenJDK 1.7.0)
Score 100
Code Size 237 Byte
Status AC
Exec Time 451 ms
Memory 23220 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 451 ms 23220 KB
B.txt AC 447 ms 23092 KB
C.txt AC 443 ms 23208 KB
D.txt AC 447 ms 23092 KB
E.txt AC 445 ms 23092 KB