結果

問題 No.169 何分かかるの!?
ユーザー TwinkleStar74TwinkleStar74
提出日時 2017-10-01 02:11:20
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 513 bytes
コンパイル時間 3,555 ms
コンパイル使用メモリ 74,780 KB
実行使用メモリ 50,680 KB
最終ジャッジ日時 2024-04-27 17:00:32
合計ジャッジ時間 4,705 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 53 ms
50,076 KB
testcase_02 AC 51 ms
50,068 KB
testcase_03 WA -
testcase_04 AC 51 ms
50,448 KB
testcase_05 AC 48 ms
50,512 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 49 ms
50,284 KB
testcase_09 AC 47 ms
49,904 KB
testcase_10 AC 48 ms
50,536 KB
testcase_11 AC 49 ms
50,088 KB
testcase_12 AC 48 ms
50,196 KB
testcase_13 AC 48 ms
50,200 KB
testcase_14 AC 49 ms
50,436 KB
testcase_15 AC 47 ms
50,356 KB
testcase_16 AC 47 ms
50,312 KB
testcase_17 AC 47 ms
50,380 KB
testcase_18 WA -
testcase_19 AC 46 ms
49,964 KB
testcase_20 AC 48 ms
50,468 KB
testcase_21 AC 48 ms
50,052 KB
testcase_22 AC 49 ms
50,376 KB
testcase_23 AC 47 ms
50,280 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class No169 {

	public static void main(String[] args) {
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			double K = Double.parseDouble(br.readLine()) / 100;
			int S = Integer.parseInt(br.readLine());
			double ans = S / (1-K);
			System.out.println((int)ans);
		}catch(IOException e){
			e.getStackTrace();
		}catch(NumberFormatException e){
			e.getStackTrace();
		}
	}
}
0