結果
| 問題 |
No.32 貯金箱の憂鬱
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2022-08-08 10:16:05 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 27 ms / 5,000 ms |
| コード長 | 368 bytes |
| コンパイル時間 | 608 ms |
| コンパイル使用メモリ | 70,524 KB |
| 最終ジャッジ日時 | 2025-01-30 19:24:48 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
#include <iostream>
#include <list>
#include <vector>
#include <string>
#include <stdio.h>
#include <stdint.h>
using namespace std;
using uint = unsigned int;
using ll = long long;
int main()
{
ll L;
cin >> L;
ll M;
cin >> M;
ll N;
cin >> N;
M += N / 25;
N %= 25;
L += M / 4;
M %= 4;
L %= 10;
cout << N + M + L << endl;
return 0;
}