Submission #891687


Source Code Expand

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc =new Scanner(System.in);
		
		String a= sc.next();
		
		String b="";
		
		
		for(int i=0;i<4;i++)
		{	
			 b=b+a.charAt(i);
		}
		b=b+" ";
		for(int i=4;i<a.length();i++)
		{	
			 b=b+a.charAt(i);
		}
		System.out.println(b);
		sc.close();
			
	}

}

Submission Info

Submission Time
Task A - CODEFESTIVAL 2016
User atio0
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 380 Byte
Status AC
Exec Time 140 ms
Memory 10192 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 6
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 140 ms 10192 KB
0_01.txt AC 120 ms 9552 KB
0_02.txt AC 123 ms 9552 KB
1_00.txt AC 123 ms 9548 KB
1_01.txt AC 122 ms 9552 KB
1_02.txt AC 122 ms 9552 KB