結果
問題 | No.9010 うるう年判定 |
ユーザー |
![]() |
提出日時 | 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 |
ソースコード
(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"))