Submission #3607390
Source Code Expand
import java.util.*; class Main { private static Scanner sc = new Scanner(System.in); public static void main(String[] args) { String s = sc.next(); char[] c = s.toCharArray(); String s2=""; for(int i=0;i<4;i++) { s2+=c[i]; } s2+=" "; for(int i=4;i<c.length;i++){ s2+=c[i]; } //String s = String.valueOf(i); //int i = Integer.parseInt(s); System.out.println(s2); } }
Submission Info
Submission Time | |
---|---|
Task | A - CODEFESTIVAL 2016 |
User | xxxlancerk |
Language | Java7 (OpenJDK 1.7.0) |
Score | 100 |
Code Size | 521 Byte |
Status | AC |
Exec Time | 94 ms |
Memory | 22740 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 | 93 ms | 20820 KB |
0_01.txt | AC | 94 ms | 22740 KB |
0_02.txt | AC | 92 ms | 20564 KB |
1_00.txt | AC | 93 ms | 20820 KB |
1_01.txt | AC | 93 ms | 20948 KB |
1_02.txt | AC | 92 ms | 20820 KB |