Submission #2858345


Source Code Expand

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		char[] c = new char[2];
		c[0] = s.charAt(s.length()-2);
		c[1] = s.charAt(s.length()-1);
		String r = new String(c);
		System.out.println("2018/01/"+r);
	}
}

Submission Info

Submission Time
Task A - Already 2018
User sarashin
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 330 Byte
Status AC
Exec Time 91 ms
Memory 21716 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 8
Set Name Test Cases
Sample a01, a02
All a01, a02, b03, b04, b05, b06, b07, b08
Case Name Status Exec Time Memory
a01 AC 91 ms 18640 KB
a02 AC 90 ms 21716 KB
b03 AC 90 ms 18644 KB
b04 AC 89 ms 19796 KB
b05 AC 91 ms 20948 KB
b06 AC 90 ms 19796 KB
b07 AC 91 ms 18900 KB
b08 AC 91 ms 19924 KB