結果

問題 No.169 何分かかるの!?
ユーザー YukimotoPGYukimotoPG
提出日時 2019-02-14 13:31:18
言語 Java21
(openjdk 21)
結果
AC  
実行時間 142 ms / 1,000 ms
コード長 233 bytes
コンパイル時間 1,953 ms
コンパイル使用メモリ 71,428 KB
実行使用メモリ 56,372 KB
最終ジャッジ日時 2023-10-11 12:34:10
合計ジャッジ時間 6,573 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
56,232 KB
testcase_01 AC 136 ms
56,188 KB
testcase_02 AC 135 ms
55,856 KB
testcase_03 AC 134 ms
54,480 KB
testcase_04 AC 137 ms
56,204 KB
testcase_05 AC 137 ms
55,868 KB
testcase_06 AC 136 ms
55,764 KB
testcase_07 AC 136 ms
56,352 KB
testcase_08 AC 137 ms
56,160 KB
testcase_09 AC 135 ms
56,344 KB
testcase_10 AC 136 ms
56,012 KB
testcase_11 AC 135 ms
56,172 KB
testcase_12 AC 134 ms
56,372 KB
testcase_13 AC 136 ms
56,036 KB
testcase_14 AC 136 ms
55,932 KB
testcase_15 AC 138 ms
56,044 KB
testcase_16 AC 138 ms
55,852 KB
testcase_17 AC 138 ms
56,252 KB
testcase_18 AC 137 ms
56,272 KB
testcase_19 AC 140 ms
55,856 KB
testcase_20 AC 142 ms
56,272 KB
testcase_21 AC 135 ms
55,652 KB
testcase_22 AC 137 ms
54,040 KB
testcase_23 AC 136 ms
55,700 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		
		double k = 100 - sc.nextDouble(); double s = sc.nextDouble();
		System.out.println((int)(s*100/k));
		
	}
}
0