結果
| 問題 | No.32 貯金箱の憂鬱 |
| コンテスト | |
| ユーザー |
Ronlynes
|
| 提出日時 | 2017-01-28 23:53:32 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 276 bytes |
| コンパイル時間 | 672 ms |
| コンパイル使用メモリ | 57,440 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-23 21:33:33 |
| 合計ジャッジ時間 | 1,159 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 11 |
ソースコード
#include <iostream>
#include <algorithm>
#include <string>
using namespace std;
int main() {
int l, m, n, c_1, c_2, c_3, ans;
cin >> l;
cin >> m;
cin >> n;
c_1 = n/25;
c_2 =(m + c_1)/4;
c_3 = (l + c_2)/10;
ans = c_1 + c_2 + c_3;
cout << ans << endl;
return 0;
}
Ronlynes