Submission #890930


Source Code Expand

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		solve(s);
		s.close();
	}

	public static void solve(Scanner s) {
		String str = s.next();

		String before = str.substring(0, 4);
		String afeter = str.substring(4);

		System.out.println(before + " " + afeter);

	}
}

Submission Info

Submission Time
Task A - CODEFESTIVAL 2016
User toypuchi
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 367 Byte
Status AC
Exec Time 136 ms
Memory 10068 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 136 ms 10068 KB
0_01.txt AC 120 ms 9552 KB
0_02.txt AC 121 ms 9428 KB
1_00.txt AC 120 ms 9556 KB
1_01.txt AC 121 ms 9552 KB
1_02.txt AC 120 ms 9548 KB