結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
|
提出日時 | 2015-05-25 17:41:20 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 230 bytes |
コンパイル時間 | 990 ms |
コンパイル使用メモリ | 157,408 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-06 08:25:16 |
合計ジャッジ時間 | 1,480 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 WA * 9 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int t; int s = 0; cin>>t; s += t * 1; cin>>t; s += t * 25; cin>>t; s += t * 100; int u = 0; s %= 1000; u += s / 100; s%=100; u += s / 25; s %= 25; cout << u + s << endl; }