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