結果
問題 | No.128 お年玉(1) |
ユーザー |
![]() |
提出日時 | 2016-07-28 21:55:50 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 202 bytes |
コンパイル時間 | 224 ms |
コンパイル使用メモリ | 6,948 KB |
実行使用メモリ | 16,128 KB |
最終ジャッジ日時 | 2024-10-01 10:22:29 |
合計ジャッジ時間 | 1,327 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 21 |
ソースコード
(define main(lambda (n m)(cond((> m (quotient n 1000))0)(#t (* 1000 (quotient (quotient n 1000) m))))))(define n (read))(define m (read))(display (main n m))(newline)