結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー |
![]() |
提出日時 | 2016-04-19 00:14:23 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 95 ms / 5,000 ms |
コード長 | 110 bytes |
コンパイル時間 | 57 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-07-23 02:17:35 |
合計ジャッジ時間 | 1,851 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
コンパイルメッセージ
Syntax OK
ソースコード
l,m,n=3.times.map{gets.to_i}sum=100*l+25*m+nsum%=1000ans=0[100,25,1].each{|c|ans+=sum/csum%=c}p ans