結果

問題 No.9010 うるう年判定
ユーザー kokoa1046kokoa1046
提出日時 2017-09-04 15:46:38
言語 Scheme
(Gauche-0.9.15)
結果
WA  
実行時間 -
コード長 173 bytes
コンパイル時間 183 ms
コンパイル使用メモリ 6,820 KB
実行使用メモリ 16,256 KB
最終ジャッジ日時 2024-11-06 20:53:31
合計ジャッジ時間 1,674 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1 RE * 3
other WA * 13 RE * 12
権限があれば一括ダウンロードができます

ソースコード

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