提出 #13016138
ソースコード 拡げる
package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
func main() {
nextReader = newScanner()
x, y, z := nextInt(), nextInt(), nextInt()
fmt.Printf("%d %d %d\n", z, x, y)
}
// ---------------------------------------------------------------
// I/O
// ---------------------------------------------------------------
var nextReader func() string
func newScanner() func() string {
sc := bufio.NewScanner(os.Stdin)
sc.Buffer(make([]byte, 1024), int(1e11))
sc.Split(bufio.ScanWords)
return func() string {
sc.Scan()
return sc.Text()
}
}
func nextString() string { return nextReader() }
func nextInt() int { n, _ := strconv.Atoi(nextReader()); return n }
func nextInts(size int) []int {
ns := make([]int, size)
for i := 0; i < size; i++ {
ns[i] = nextInt()
}
return ns
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - ABC Swap |
| ユーザ | hidapple |
| 言語 | Go (1.6) |
| 得点 | 100 |
| コード長 | 833 Byte |
| 結果 | AC |
| 実行時間 | 1 ms |
| メモリ | 640 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | sample_01.txt, sample_02.txt, sample_03.txt |
| All | rand_01.txt, rand_02.txt, rand_03.txt, rand_04.txt, rand_05.txt, sample_01.txt, sample_02.txt, sample_03.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| rand_01.txt | AC | 1 ms | 640 KiB |
| rand_02.txt | AC | 1 ms | 640 KiB |
| rand_03.txt | AC | 1 ms | 640 KiB |
| rand_04.txt | AC | 1 ms | 640 KiB |
| rand_05.txt | AC | 1 ms | 640 KiB |
| sample_01.txt | AC | 1 ms | 640 KiB |
| sample_02.txt | AC | 1 ms | 640 KiB |
| sample_03.txt | AC | 1 ms | 640 KiB |