AtCoder Regular Contest 002

Submission #381466

Source codeソースコード

Y = int(input())
print("YES" if (Y % 400 == 0 or Y % 100 != 0) and Y % 4 == 0 else "NO")

Submission

Task問題 A - うるう年
User nameユーザ名 yumechi0525
Created time投稿日時
Language言語 Python3 (3.2.3)
Status状態 AC
Score得点 100
Source lengthソースコード長 89 Byte
File nameファイル名
Exec time実行時間 147 ms
Memory usageメモリ使用量 8624 KB

Test case

Set

Set name Score得点 / Max score Cases
All 100 / 100 00_sample_00.txt,00_sample_01.txt,00_sample_02.txt,00_sample_03.txt,01_rnd_00.txt,01_rnd_01.txt,01_rnd_02.txt,01_rnd_03.txt,01_rnd_04.txt,01_rnd_05.txt,01_rnd_06.txt,01_rnd_07.txt,01_rnd_08.txt,01_rnd_09.txt,01_rnd_10.txt,01_rnd_11.txt,01_rnd_12.txt,01_rnd_13.txt,01_rnd_14.txt,01_rnd_15.txt,01_rnd_16.txt,01_rnd_17.txt,01_rnd_18.txt,01_rnd_19.txt,02_100_00.txt,02_100_01.txt,02_100_02.txt,02_100_03.txt,02_100_04.txt,02_100_05.txt,02_100_06.txt,02_100_07.txt,02_100_08.txt,02_100_09.txt,02_100_10.txt,02_100_11.txt,02_100_12.txt,02_100_13.txt,02_100_14.txt,02_100_15.txt,02_100_16.txt,02_100_17.txt,02_100_18.txt,02_100_19.txt

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
00_sample_00.txt AC 129 ms 8496 KB
00_sample_01.txt AC 129 ms 8496 KB
00_sample_02.txt AC 126 ms 8540 KB
00_sample_03.txt AC 129 ms 8496 KB
01_rnd_00.txt AC 131 ms 8496 KB
01_rnd_01.txt AC 139 ms 8496 KB
01_rnd_02.txt AC 130 ms 8544 KB
01_rnd_03.txt AC 132 ms 8496 KB
01_rnd_04.txt AC 127 ms 8496 KB
01_rnd_05.txt AC 130 ms 8492 KB
01_rnd_06.txt AC 127 ms 8624 KB
01_rnd_07.txt AC 128 ms 8496 KB
01_rnd_08.txt AC 125 ms 8496 KB
01_rnd_09.txt AC 127 ms 8496 KB
01_rnd_10.txt AC 127 ms 8496 KB
01_rnd_11.txt AC 127 ms 8496 KB
01_rnd_12.txt AC 132 ms 8496 KB
01_rnd_13.txt AC 127 ms 8496 KB
01_rnd_14.txt AC 128 ms 8492 KB
01_rnd_15.txt AC 127 ms 8620 KB
01_rnd_16.txt AC 127 ms 8620 KB
01_rnd_17.txt AC 126 ms 8496 KB
01_rnd_18.txt AC 128 ms 8620 KB
01_rnd_19.txt AC 137 ms 8496 KB
02_100_00.txt AC 147 ms 8616 KB
02_100_01.txt AC 138 ms 8492 KB
02_100_02.txt AC 130 ms 8524 KB
02_100_03.txt AC 127 ms 8496 KB
02_100_04.txt AC 127 ms 8540 KB
02_100_05.txt AC 127 ms 8540 KB
02_100_06.txt AC 132 ms 8492 KB
02_100_07.txt AC 130 ms 8492 KB
02_100_08.txt AC 130 ms 8496 KB
02_100_09.txt AC 130 ms 8496 KB
02_100_10.txt AC 132 ms 8624 KB
02_100_11.txt AC 133 ms 8496 KB
02_100_12.txt AC 127 ms 8496 KB
02_100_13.txt AC 127 ms 8496 KB
02_100_14.txt AC 127 ms 8496 KB
02_100_15.txt AC 127 ms 8496 KB
02_100_16.txt AC 128 ms 8548 KB
02_100_17.txt AC 129 ms 8508 KB
02_100_18.txt AC 129 ms 8496 KB
02_100_19.txt AC 132 ms 8496 KB