結果
| 問題 |
No.32 貯金箱の憂鬱
|
| コンテスト | |
| ユーザー |
siguma323
|
| 提出日時 | 2016-05-08 18:58:57 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 497 bytes |
| コンパイル時間 | 850 ms |
| コンパイル使用メモリ | 82,456 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-23 02:19:16 |
| 合計ジャッジ時間 | 1,397 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
#include <vector>
#include <string>
#include <algorithm>
#include <numeric>
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <utility>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <iterator>
#include <cmath>
#include <iomanip>
using namespace std;
using ull = unsigned long long;
using ll = long long;
int main()
{
int l,m,n;
cin >> l >> m >> n;
m += n/25;
n%=25;
l += m/4;
m%=4;
l%=10;
cout << l + m + n << endl;
}
siguma323