Submission #1370720
Source Code Expand
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); ArrayList<Long> num = new ArrayList<Long>(); ArrayList<String> param = new ArrayList<String>(); while (sc.hasNext()) { if(sc.hasNextInt()){ num.add(sc.nextLong()); } else { param.add(sc.nextLine()); } } Method(num,param); } static void Method(ArrayList<Long> num, ArrayList<String> param){ System.out.println(param.get(0) + "pp"); } }
Submission Info
Submission Time | |
---|---|
Task | A - ハンドルネーム |
User | unirita153 |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 567 Byte |
Status | AC |
Exec Time | 105 ms |
Memory | 23636 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | sample_01.txt, sample_02.txt, test_aaaaaaaaaa.txt, test_myonmyon.txt, test_nemui.txt, test_onakasuita.txt, test_p.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | AC | 105 ms | 21332 KB |
sample_02.txt | AC | 94 ms | 21588 KB |
test_aaaaaaaaaa.txt | AC | 93 ms | 19924 KB |
test_myonmyon.txt | AC | 92 ms | 20560 KB |
test_nemui.txt | AC | 94 ms | 23636 KB |
test_onakasuita.txt | AC | 94 ms | 19028 KB |
test_p.txt | AC | 94 ms | 19668 KB |