結果
| 問題 | No.32 貯金箱の憂鬱 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-03-24 11:26:02 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 281 bytes |
| 記録 | |
| コンパイル時間 | 175 ms |
| コンパイル使用メモリ | 28,032 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-01 21:02:02 |
| 合計ジャッジ時間 | 805 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 11 |
ソースコード
#include <stdio.h>
int main() {
int L=0,M=0,N=0,G=0,A=0;
scanf("%d, %d, %d", &L, &M, &N);
A += N % 25;
M += (N - N % 25) / 25;
A += M % 4;
L += (M - M % 4) / 4;
A += L % 10;
G += (L - L % 10) / 10;
A += G;
printf("%d\n", A);
return 0;
}