Submission #891116
Source Code Expand
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String str = scan.next(); String s = ""; for(int i = 0 ; i < str.length() ; i++){ s += str.charAt(i) + ""; if(i == 3){ s += " "; } } System.out.println(s); } }
Submission Info
Submission Time | |
---|---|
Task | A - CODEFESTIVAL 2016 |
User | kisinnkisi |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 379 Byte |
Status | AC |
Exec Time | 121 ms |
Memory | 9556 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 | 120 ms | 9552 KB |
0_01.txt | AC | 121 ms | 9428 KB |
0_02.txt | AC | 120 ms | 9552 KB |
1_00.txt | AC | 119 ms | 9556 KB |
1_01.txt | AC | 120 ms | 9556 KB |
1_02.txt | AC | 121 ms | 9552 KB |