結果
| 問題 |
No.32 貯金箱の憂鬱
|
| コンテスト | |
| ユーザー |
yuma_shobon1108
|
| 提出日時 | 2016-11-11 14:47:44 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 134 ms / 5,000 ms |
| コード長 | 335 bytes |
| コンパイル時間 | 2,046 ms |
| コンパイル使用メモリ | 74,132 KB |
| 実行使用メモリ | 54,480 KB |
| 最終ジャッジ日時 | 2024-07-23 02:26:48 |
| 合計ジャッジ時間 | 4,202 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
import java.util.Scanner;
class Question032
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
int oh = scan.nextInt();
int tf = scan.nextInt();
int one = 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