Submission #2463185


Source Code Expand

package main

import (
	"fmt"
)

func main() {
	var a, b int
	fmt.Scan(&a, &b)
	ans := a - 1
	if a <= b {
		ans++
	}
	fmt.Println(ans)
}

Submission Info

Submission Time
Task A - Day of Takahashi
User rankey55
Language Go (1.6)
Score 100
Code Size 152 Byte
Status AC
Exec Time 1 ms
Memory 512 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 7
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All in01.txt, in02.txt, in03.txt, in04.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
in01.txt AC 1 ms 512 KiB
in02.txt AC 1 ms 512 KiB
in03.txt AC 1 ms 512 KiB
in04.txt AC 1 ms 512 KiB
sample_01.txt AC 1 ms 512 KiB
sample_02.txt AC 1 ms 512 KiB
sample_03.txt AC 1 ms 512 KiB