Submission #179870
Source Code Expand
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.math.BigDecimal; import java.math.BigInteger; import java.util.Arrays; import java.util.LinkedList; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException{ Scanner sc = new Scanner(System.in); final String n = sc.next(); System.out.println(n + "pp"); } public static class Scanner { private BufferedReader br; private StringTokenizer tok; public Scanner(InputStream is) throws IOException{ br = new BufferedReader(new InputStreamReader(is)); getLine(); } private void getLine() throws IOException{ while(tok == null || !tok.hasMoreTokens()){ tok = new StringTokenizer(br.readLine()); } } private boolean hasNext(){ return tok.hasMoreTokens(); } public String next() throws IOException{ if(!hasNext()){ getLine(); } return tok.nextToken(); } public byte nextByte() throws IOException{ return Byte.parseByte(this.next()); } public short nextShort() throws IOException{ return Short.parseShort(this.next()); } public int nextInt() throws IOException{ return Integer.parseInt(this.next()); } public long nextLong() throws IOException{ return Long.parseLong(this.next()); } public float nextFloat() throws IOException{ return Float.parseFloat(this.next()); } public double nextDouble() throws IOException{ return Double.parseDouble(this.next()); } public BigInteger nextBigInteger() throws IOException{ return new BigInteger(this.next()); } public BigDecimal nextBigDecimal() throws IOException{ return new BigDecimal(this.next()); } } }
Submission Info
Submission Time | |
---|---|
Task | A - ハンドルネーム |
User | mondatto |
Language | Java (OpenJDK 1.7.0) |
Score | 100 |
Code Size | 1883 Byte |
Status | AC |
Exec Time | 411 ms |
Memory | 20792 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 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 | 407 ms | 20792 KB |
sample_02.txt | AC | 403 ms | 20656 KB |
test_aaaaaaaaaa.txt | AC | 395 ms | 20656 KB |
test_myonmyon.txt | AC | 390 ms | 20664 KB |
test_nemui.txt | AC | 392 ms | 20660 KB |
test_onakasuita.txt | AC | 411 ms | 20532 KB |
test_p.txt | AC | 392 ms | 20532 KB |