結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
![]() |
提出日時 | 2019-02-24 20:57:02 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 204 bytes |
コンパイル時間 | 482 ms |
コンパイル使用メモリ | 116,864 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-30 13:37:28 |
合計ジャッジ時間 | 993 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 11 |
ソースコード
#include <iostream> using namespace std; int main(void) { int L, M, N; cin >> L >> M >> N; while (N >= 25) { N -= 25; M++; } while (M >= 10) { M -= 10; L++; } cout << L + M + N << endl; }