Submission #1370062
Source Code Expand
import java.util.*; /** * Created by santa on 2016/10/16. */ public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String s = scanner.next(); System.out.println(s.charAt(0) - 'A' + 1); }// mainMethod } // MainClass
Submission Info
Submission Time | |
---|---|
Task | A - A |
User | evesanta |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 353 Byte |
Status | AC |
Exec Time | 96 ms |
Memory | 21076 KB |
Judge Result
Set Name | all | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
all | A.txt, B.txt, C.txt, D.txt, E.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
A.txt | AC | 88 ms | 18640 KB |
B.txt | AC | 93 ms | 19412 KB |
C.txt | AC | 89 ms | 19924 KB |
D.txt | AC | 96 ms | 20564 KB |
E.txt | AC | 90 ms | 21076 KB |