Submission #213577


Source Code Expand

Copy
import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String ch = sc.next();
		char c = ch.charAt(0);
		
		System.out.println(c-'A'+1);
	}

}

Submission Info

Submission Time
Task A - A
User jimjin
Language Java (OpenJDK 1.7.0)
Score 100
Code Size 228 Byte
Status AC
Exec Time 452 ms
Memory 23244 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 452 ms 23244 KB
B.txt AC 447 ms 23088 KB
C.txt AC 445 ms 23092 KB
D.txt AC 444 ms 23092 KB
E.txt AC 449 ms 23212 KB