結果

問題 No.9010 うるう年判定
ユーザー StarMatyanStarMatyan
提出日時 2020-11-25 22:37:25
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 163 bytes
コンパイル時間 223 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 8,008 KB
最終ジャッジ日時 2023-10-01 01:59:17
合計ジャッジ時間 2,007 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,876 KB
testcase_01 WA -
testcase_02 AC 16 ms
7,780 KB
testcase_03 AC 16 ms
7,860 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 16 ms
7,824 KB
testcase_07 WA -
testcase_08 AC 15 ms
7,844 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 16 ms
7,776 KB
testcase_12 WA -
testcase_13 AC 16 ms
7,852 KB
testcase_14 WA -
testcase_15 AC 15 ms
7,908 KB
testcase_16 AC 15 ms
7,960 KB
testcase_17 AC 16 ms
7,780 KB
testcase_18 WA -
testcase_19 AC 16 ms
7,892 KB
testcase_20 AC 16 ms
7,776 KB
testcase_21 AC 16 ms
7,968 KB
testcase_22 AC 16 ms
7,812 KB
testcase_23 AC 17 ms
7,920 KB
testcase_24 WA -
testcase_25 AC 15 ms
7,832 KB
testcase_26 WA -
testcase_27 AC 15 ms
7,788 KB
testcase_28 AC 16 ms
7,864 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

imputer = int(input())
result= "No"

if imputer%400==0:
	result = "Yes"
else:
	if imputer%4==0:
		result ="YES"
	
	if imputer%100==0:
		result ="No"

print(result)
0