結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
|
提出日時 | 2024-05-05 19:24:47 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 13 ms / 5,000 ms |
コード長 | 195 bytes |
コンパイル時間 | 2,085 ms |
コンパイル使用メモリ | 191,660 KB |
最終ジャッジ日時 | 2025-02-21 11:03:11 |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int L; cin >> L; int M; cin >> M; int N; cin >> N; M+=N/25; N%=25; L+=M/4; M%=4; L%=10; cout << L+M+N << endl; return 0; }