結果
| 問題 |
No.32 貯金箱の憂鬱
|
| コンテスト | |
| ユーザー |
yuma_shobon1108
|
| 提出日時 | 2016-11-11 14:40:07 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 335 bytes |
| コンパイル時間 | 2,076 ms |
| コンパイル使用メモリ | 73,796 KB |
| 実行使用メモリ | 54,164 KB |
| 最終ジャッジ日時 | 2024-11-25 08:07:54 |
| 合計ジャッジ時間 | 3,833 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 9 |
ソースコード
import java.util.Scanner;
class Question032
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
int one = scan.nextInt();
int tf = scan.nextInt();
int oh = scan.nextInt();
tf += one/25;
one = one%25;
oh += tf/4;
tf = tf%4;
oh = oh%10;
System.out.println(one+tf+oh);
}
}
yuma_shobon1108