結果
| 問題 | No.128 お年玉(1) |
| コンテスト | |
| ユーザー |
Naoyk1212
|
| 提出日時 | 2016-07-28 21:53:52 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 215 bytes |
| 記録 | |
| コンパイル時間 | 224 ms |
| コンパイル使用メモリ | 6,528 KB |
| 実行使用メモリ | 16,384 KB |
| 最終ジャッジ日時 | 2026-04-17 11:17:27 |
| 合計ジャッジ時間 | 2,048 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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