Submission #13016138
Source Code Expand
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
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - ABC Swap |
| User | hidapple |
| Language | Go (1.6) |
| Score | 100 |
| Code Size | 833 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 640 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| 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 |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 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 |