結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
|
提出日時 | 2022-01-09 18:37:52 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 382 bytes |
コンパイル時間 | 1,533 ms |
コンパイル使用メモリ | 165,516 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-14 10:27:45 |
合計ジャッジ時間 | 2,283 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 10 |
ソースコード
#include <bits/stdc++.h> #define rep(i,a,b) for(int i = (a); i < (b); i++) #define all(A) (A).begin(),(A).end() #define MOD 1000000007 using namespace std; using ll = long long; using Graph = vector<vector<int>>; int main() { int l,m,n; cin >> l >> m >> n; int total = l*100+m*25+n,ans = 0; ans += total/100; total /= 100; ans += total/25; total /= 25; cout << ans+total; }