結果
| 問題 | No.32 貯金箱の憂鬱 |
| コンテスト | |
| ユーザー |
kumakumaaaaa
|
| 提出日時 | 2020-08-02 17:56:51 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 377 bytes |
| 記録 | |
| コンパイル時間 | 1,809 ms |
| コンパイル使用メモリ | 164,552 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-19 03:43:29 |
| 合計ジャッジ時間 | 2,471 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 10 |
ソースコード
#include <bits/stdc++.h>
#define INF 2000000000000000000
#define ll long long
#define pll pair<ll, ll>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
ll L, M, N;
cin >> L >> M >> N;
ll all = L * 100 + 25 * M + N;
ll ans = 0;
ans += all / 100;
all /= 100;
ans += all / 25;
all /= 25;
ans += all;
cout << ans << "\n";
}
kumakumaaaaa