Submission #890418
Source Code Expand
import java.io.*; import java.util.*; public class Main { public void solve() throws IOException { String s = next(); out.println(s.substring(0, 4) + " " + s.substring(4)); } BufferedReader bf; StringTokenizer st; PrintWriter out; public String next() throws IOException { while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(bf.readLine()); return st.nextToken(); } public int nextInt() throws IOException { return Integer.parseInt(next()); } public long nextLong() throws IOException { return Long.parseLong(next()); } public Main() throws IOException { bf = new BufferedReader(new InputStreamReader(System.in)); out = new PrintWriter(new OutputStreamWriter(System.out)); solve(); bf.close(); out.close(); } public static void main(String args[]) throws IOException { new Main(); } }
Submission Info
Submission Time | |
---|---|
Task | A - CODEFESTIVAL 2016 |
User | atkoder |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 1061 Byte |
Status | AC |
Exec Time | 102 ms |
Memory | 8148 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_00.txt, 0_01.txt, 0_02.txt |
All | 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_00.txt | AC | 97 ms | 8144 KB |
0_01.txt | AC | 93 ms | 8140 KB |
0_02.txt | AC | 93 ms | 8140 KB |
1_00.txt | AC | 96 ms | 8016 KB |
1_01.txt | AC | 95 ms | 8016 KB |
1_02.txt | AC | 102 ms | 8148 KB |