結果
問題 | No.9010 うるう年判定 |
ユーザー |
![]() |
提出日時 | 2017-09-04 15:48:06 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
AC
|
実行時間 | 21 ms / 2,000 ms |
コード長 | 172 bytes |
コンパイル時間 | 47 ms |
コンパイル使用メモリ | 6,944 KB |
実行使用メモリ | 16,128 KB |
最終ジャッジ日時 | 2024-06-22 01:10:48 |
合計ジャッジ時間 | 1,575 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 25 |
ソースコード
(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"))