結果
| 問題 |
No.32 貯金箱の憂鬱
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-08 19:15:21 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 291 bytes |
| コンパイル時間 | 510 ms |
| コンパイル使用メモリ | 56,152 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-06-28 02:29:13 |
| 合計ジャッジ時間 | 976 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 9 |
ソースコード
#include <iostream>
using namespace std;
int main(int argc, char const* argv[]) {
int L, M, N, ans = 0;
cin >> L;
cin >> M;
cin >> N;
ans += L % 25;
M += L / 25;
ans += M % 4;
N += M / 4;
ans += N % 10;
cout << ans << endl;
return 0;
}