結果

問題 No.169 何分かかるの!?
ユーザー koukonkokoukonko
提出日時 2015-12-13 14:50:04
言語 Java21
(openjdk 21)
結果
AC  
実行時間 45 ms / 1,000 ms
コード長 424 bytes
コンパイル時間 2,218 ms
コンパイル使用メモリ 72,492 KB
実行使用メモリ 49,672 KB
最終ジャッジ日時 2023-10-13 14:55:30
合計ジャッジ時間 4,523 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
49,324 KB
testcase_01 AC 44 ms
49,092 KB
testcase_02 AC 43 ms
49,564 KB
testcase_03 AC 43 ms
49,208 KB
testcase_04 AC 44 ms
49,184 KB
testcase_05 AC 43 ms
49,440 KB
testcase_06 AC 43 ms
49,108 KB
testcase_07 AC 44 ms
49,260 KB
testcase_08 AC 45 ms
49,160 KB
testcase_09 AC 44 ms
49,064 KB
testcase_10 AC 44 ms
49,224 KB
testcase_11 AC 43 ms
48,968 KB
testcase_12 AC 44 ms
49,296 KB
testcase_13 AC 44 ms
49,224 KB
testcase_14 AC 44 ms
47,740 KB
testcase_15 AC 45 ms
49,304 KB
testcase_16 AC 44 ms
49,016 KB
testcase_17 AC 43 ms
49,152 KB
testcase_18 AC 43 ms
49,072 KB
testcase_19 AC 44 ms
49,672 KB
testcase_20 AC 43 ms
49,164 KB
testcase_21 AC 45 ms
49,120 KB
testcase_22 AC 44 ms
49,324 KB
testcase_23 AC 43 ms
47,180 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		BufferedReader read = new BufferedReader(new InputStreamReader(System.in));
		try {
			int K = Integer.parseInt(read.readLine());
			int S = Integer.parseInt(read.readLine());

			System.out.println((long)(S / ((100.0 - K) / 100)));

		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
0