結果

問題 No.169 何分かかるの!?
ユーザー Mcpu3Mcpu3
提出日時 2018-04-14 20:22:30
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 1,000 ms
コード長 261 bytes
コンパイル時間 1,964 ms
コンパイル使用メモリ 71,740 KB
実行使用メモリ 56,128 KB
最終ジャッジ日時 2023-09-09 05:27:36
合計ジャッジ時間 6,246 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
56,020 KB
testcase_01 AC 124 ms
55,996 KB
testcase_02 AC 125 ms
55,984 KB
testcase_03 AC 124 ms
56,128 KB
testcase_04 AC 125 ms
55,664 KB
testcase_05 AC 124 ms
55,656 KB
testcase_06 AC 124 ms
54,168 KB
testcase_07 AC 123 ms
55,992 KB
testcase_08 AC 124 ms
55,960 KB
testcase_09 AC 125 ms
55,748 KB
testcase_10 AC 126 ms
55,924 KB
testcase_11 AC 126 ms
55,824 KB
testcase_12 AC 125 ms
56,000 KB
testcase_13 AC 124 ms
55,820 KB
testcase_14 AC 125 ms
55,956 KB
testcase_15 AC 126 ms
55,432 KB
testcase_16 AC 126 ms
55,640 KB
testcase_17 AC 127 ms
55,932 KB
testcase_18 AC 127 ms
55,636 KB
testcase_19 AC 125 ms
55,748 KB
testcase_20 AC 126 ms
55,964 KB
testcase_21 AC 125 ms
55,860 KB
testcase_22 AC 125 ms
55,804 KB
testcase_23 AC 126 ms
53,740 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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