結果

問題 No.32 貯金箱の憂鬱
ユーザー omc-testomc-test
提出日時 2016-08-04 13:14:55
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 5,000 ms
コード長 284 bytes
コンパイル時間 4,348 ms
コンパイル使用メモリ 71,488 KB
実行使用メモリ 56,008 KB
最終ジャッジ日時 2023-09-30 08:11:18
合計ジャッジ時間 5,475 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
56,008 KB
testcase_01 AC 125 ms
55,704 KB
testcase_02 AC 126 ms
55,268 KB
testcase_03 AC 126 ms
55,868 KB
testcase_04 AC 125 ms
55,860 KB
testcase_05 AC 125 ms
55,916 KB
testcase_06 AC 125 ms
55,936 KB
testcase_07 AC 127 ms
55,576 KB
testcase_08 AC 126 ms
55,708 KB
testcase_09 AC 125 ms
55,896 KB
testcase_10 AC 127 ms
55,904 KB
testcase_11 AC 127 ms
55,956 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class No0032 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int l = sc.nextInt();
		int m = sc.nextInt();
		int n = sc.nextInt();
		System.out.println((n%25) + ((n/25 + m) % 4) + (((n/25 + m) / 4 + l) % 10));
	}
}
0