Submission #213370


Source Code Expand

Copy
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		char a = sc.next().charAt(0);
		System.out.println(a-'A'+1);
	}

}

Submission Info

Submission Time
Task A - A
User piroz95
Language Java (OpenJDK 1.7.0)
Score 100
Code Size 209 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 443 ms 23084 KB
B.txt AC 446 ms 23136 KB
C.txt AC 451 ms 23220 KB
D.txt AC 444 ms 23092 KB
E.txt AC 444 ms 23216 KB