結果

問題 No.9010 うるう年判定
ユーザー kokoa1046kokoa1046
提出日時 2017-09-04 15:46:38
言語 Scheme
(Gauche-0.9.14)
結果
WA  
実行時間 -
コード長 173 bytes
コンパイル時間 27 ms
コンパイル使用メモリ 5,120 KB
実行使用メモリ 16,256 KB
最終ジャッジ日時 2024-04-24 12:47:44
合計ジャッジ時間 1,444 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 WA -
testcase_07 RE -
testcase_08 WA -
testcase_09 RE -
testcase_10 RE -
testcase_11 WA -
testcase_12 RE -
testcase_13 WA -
testcase_14 RE -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 RE -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 RE -
testcase_25 WA -
testcase_26 RE -
testcase_27 RE -
testcase_28 RE -
権限があれば一括ダウンロードができます

ソースコード

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))#t ))
(if (uruu? n)(print "Yes")(print "No"))
0