結果

問題 No.9010 うるう年判定
ユーザー kokoa1046
提出日時 2017-09-04 15:48:06
言語 Scheme
(Gauche-0.9.15)
コンパイル:
true
実行:
gosh _filename_
結果
AC  
実行時間 25 ms / 2,000 ms
コード長 172 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 48 ms
コンパイル使用メモリ 7,972 KB
実行使用メモリ 16,384 KB
最終ジャッジ日時 2026-03-06 06:43:14
合計ジャッジ時間 1,336 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

(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