結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー |
![]() |
提出日時 | 2016-09-13 01:40:39 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 220 bytes |
コンパイル時間 | 408 ms |
コンパイル使用メモリ | 55,768 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-23 02:24:26 |
合計ジャッジ時間 | 951 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
#include <iostream>#include <string>using namespace std;int main(){int l, m, n, ans;cin >> l >> m >> n;m = m + n / 25;l = l + m / 4;ans = n % 25 + m % 4 + l % 10;cout << ans << endl;return 0;}