結果
| 問題 | No.32 貯金箱の憂鬱 |
| コンテスト | |
| ユーザー |
tanukidon
|
| 提出日時 | 2018-03-18 23:11:30 |
| 言語 | Ruby (4.0.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 139 bytes |
| 記録 | |
| コンパイル時間 | 202 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-12-30 03:28:40 |
| 合計ジャッジ時間 | 2,255 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 11 |
コンパイルメッセージ
Main.rb:8: warning: `*' after local variable or literal is interpreted as binary operator Main.rb:8: warning: even though it seems like argument prefix Syntax OK
ソースコード
k = gets.to_i m = gets.to_i n = gets.to_i i = n / 25 n -= (i * 25) m += i j = m / 4 m -= (j *100) k += j l = k / 10 k -= (l * 1000) p n+m+k
tanukidon