結果

問題 No.9010 うるう年判定
ユーザー kokoa1046kokoa1046
提出日時 2017-09-04 15:48:06
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 18 ms / 2,000 ms
コード長 172 bytes
コンパイル時間 38 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 11,856 KB
最終ジャッジ日時 2023-09-04 01:02:54
合計ジャッジ時間 1,791 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
11,844 KB
testcase_01 AC 16 ms
11,624 KB
testcase_02 AC 17 ms
11,700 KB
testcase_03 AC 17 ms
11,856 KB
testcase_04 AC 17 ms
11,696 KB
testcase_05 AC 17 ms
11,844 KB
testcase_06 AC 16 ms
11,552 KB
testcase_07 AC 17 ms
11,616 KB
testcase_08 AC 17 ms
11,840 KB
testcase_09 AC 17 ms
11,812 KB
testcase_10 AC 17 ms
11,612 KB
testcase_11 AC 17 ms
11,700 KB
testcase_12 AC 16 ms
11,708 KB
testcase_13 AC 18 ms
11,716 KB
testcase_14 AC 18 ms
11,724 KB
testcase_15 AC 17 ms
11,628 KB
testcase_16 AC 16 ms
11,816 KB
testcase_17 AC 17 ms
11,808 KB
testcase_18 AC 17 ms
11,704 KB
testcase_19 AC 17 ms
11,800 KB
testcase_20 AC 16 ms
11,536 KB
testcase_21 AC 18 ms
11,540 KB
testcase_22 AC 17 ms
11,720 KB
testcase_23 AC 17 ms
11,624 KB
testcase_24 AC 17 ms
11,600 KB
testcase_25 AC 17 ms
11,716 KB
testcase_26 AC 17 ms
11,604 KB
testcase_27 AC 17 ms
11,708 KB
testcase_28 AC 17 ms
11,700 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define n (read))
(define (uruu? n)
(if (= (remainder n 4) 0) (if(= (remainder n 100) 0)(if(= (remainder n 400) 0) #t #f ) #t )#f ))
(if (uruu? n)(print "Yes")(print "No"))
0