提出 #894844


ソースコード 拡げる

package main

import (
	"fmt"
)

func main() {
	var a string
	var r [13]byte
	fmt.Scan(&a)
	for index, v := range a {
		if index == 4 {
			r[index] = []byte(" ")[0]
			r[index + 1] = byte(v)
		} else if index > 4 {
			r[index + 1] = byte(v)
		} else {
			r[index] = byte(v)
		}
	}
	fmt.Println(string(r[:]))
}

提出情報

提出日時
問題 A - CODEFESTIVAL 2016
ユーザ szkshnsk
言語 Go (1.6)
得点 100
コード長 332 Byte
結果 AC
実行時間 2 ms
メモリ 512 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 6
セット名 テストケース
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 2 ms 512 KiB
0_01.txt AC 2 ms 512 KiB
0_02.txt AC 2 ms 512 KiB
1_00.txt AC 2 ms 512 KiB
1_01.txt AC 2 ms 512 KiB
1_02.txt AC 2 ms 512 KiB