Submission #28054696
Source Code Expand
package main
import "fmt"
func main() {
var n int
fmt.Scan(&n)
if n >= 42 {
fmt.Printf("AGC0%02d", n+1)
} else {
fmt.Printf("AGC0%02d", n)
}
fmt.Println()
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - AtCoder Quiz 3 |
| User | solareenlo |
| Language | Go (1.14.1) |
| Score | 100 |
| Code Size | 183 Byte |
| Status | AC |
| Exec Time | 6 ms |
| Memory | 1832 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt |
| All | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 01_border_00.txt, 01_border_01.txt, 02_max_00.txt, 03_one_digit_00.txt, 03_one_digit_01.txt, 04_random_00.txt, 04_random_01.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_00.txt | AC | 6 ms | 1828 KiB |
| 00_sample_01.txt | AC | 1 ms | 1812 KiB |
| 00_sample_02.txt | AC | 2 ms | 1816 KiB |
| 00_sample_03.txt | AC | 2 ms | 1832 KiB |
| 01_border_00.txt | AC | 2 ms | 1832 KiB |
| 01_border_01.txt | AC | 1 ms | 1816 KiB |
| 02_max_00.txt | AC | 1 ms | 1816 KiB |
| 03_one_digit_00.txt | AC | 1 ms | 1816 KiB |
| 03_one_digit_01.txt | AC | 1 ms | 1816 KiB |
| 04_random_00.txt | AC | 2 ms | 1828 KiB |
| 04_random_01.txt | AC | 1 ms | 1816 KiB |