結果

問題 No.32 貯金箱の憂鬱
ユーザー kano_townkano_town
提出日時 2014-11-19 21:52:22
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 5,000 ms
コード長 309 bytes
コンパイル時間 3,381 ms
コンパイル使用メモリ 72,420 KB
実行使用メモリ 56,500 KB
最終ジャッジ日時 2023-09-30 07:46:33
合計ジャッジ時間 5,593 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,732 KB
testcase_01 AC 123 ms
55,748 KB
testcase_02 AC 123 ms
55,860 KB
testcase_03 AC 123 ms
53,760 KB
testcase_04 AC 123 ms
55,768 KB
testcase_05 AC 122 ms
56,500 KB
testcase_06 AC 123 ms
55,832 KB
testcase_07 AC 124 ms
55,508 KB
testcase_08 AC 122 ms
55,932 KB
testcase_09 AC 121 ms
55,584 KB
testcase_10 AC 120 ms
56,068 KB
testcase_11 AC 122 ms
55,864 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Yukicoder32 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int L = sc.nextInt();
		int M = sc.nextInt();
		int N = sc.nextInt();
		
		M += N / 25;
		L += M / 4;
		
		System.out.println(L % 10 + M % 4 + N % 25);
	}
}
0