結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
|
提出日時 | 2021-10-22 18:54:18 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 269 bytes |
コンパイル時間 | 1,496 ms |
コンパイル使用メモリ | 168,604 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-22 22:33:53 |
合計ジャッジ時間 | 2,091 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { long l,m,n; int sum = 0; cin >> l >> m >> n; // 1¥ → 25¥ m += (n/25); l += (m/4); // ¥25→¥100 sum += l/1000 + l; cout << to_string(sum) << endl; return 0; }