結果
| 問題 | No.32 貯金箱の憂鬱 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-10-17 16:45:54 |
| 言語 | C++23(gcc16) (gcc 16.2.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 5,000 ms |
| + 962µs | |
| コード長 | 278 bytes |
| 記録 | |
| コンパイル時間 | 1,514 ms |
| コンパイル使用メモリ | 154,376 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-10-17 16:45:57 |
| 合計ジャッジ時間 | 3,359 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
#include <iostream>
int main() {
using namespace std;
int l, m, n;
cin >> l >> m >> n;
int tot = l * 100 + m * 25 + n, ans = 0;
tot %= 1000;
ans += tot / 100;
tot %= 100;
ans += tot / 25;
tot %= 25;
ans += tot;
cout << ans << endl;
}