提出 #892038
ソースコード 拡げる
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String input = sc.next();
char[] charArray = input.toCharArray();
for (int i = 0; i < 4; i++) {
System.out.print(charArray[i]);
}
System.out.print(" ");
for (int i = 4; i < charArray.length; i++) {
System.out.print(charArray[i]);
}
System.out.println();
}
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - CODEFESTIVAL 2016 |
| ユーザ | tanwei0319 |
| 言語 | Java7 (OpenJDK 1.7.0) |
| 得点 | 100 |
| コード長 | 422 Byte |
| 結果 | AC |
| 実行時間 | 127 ms |
| メモリ | 9044 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| 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 |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 0_00.txt | AC | 125 ms | 9044 KiB |
| 0_01.txt | AC | 121 ms | 8916 KiB |
| 0_02.txt | AC | 119 ms | 8916 KiB |
| 1_00.txt | AC | 127 ms | 8916 KiB |
| 1_01.txt | AC | 118 ms | 8916 KiB |
| 1_02.txt | AC | 120 ms | 8916 KiB |