結果

問題 No.169 何分かかるの!?
ユーザー 水野嶺水野嶺
提出日時 2020-05-28 16:16:58
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 1,000 ms
コード長 301 bytes
コンパイル時間 1,929 ms
コンパイル使用メモリ 73,880 KB
実行使用メモリ 41,816 KB
最終ジャッジ日時 2024-04-21 05:41:59
合計ジャッジ時間 5,782 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
41,372 KB
testcase_01 AC 102 ms
39,788 KB
testcase_02 AC 117 ms
41,144 KB
testcase_03 AC 105 ms
40,044 KB
testcase_04 AC 112 ms
41,064 KB
testcase_05 AC 124 ms
41,560 KB
testcase_06 AC 120 ms
41,380 KB
testcase_07 AC 117 ms
41,132 KB
testcase_08 AC 105 ms
40,040 KB
testcase_09 AC 108 ms
40,028 KB
testcase_10 AC 121 ms
41,436 KB
testcase_11 AC 115 ms
41,276 KB
testcase_12 AC 105 ms
40,000 KB
testcase_13 AC 99 ms
40,128 KB
testcase_14 AC 123 ms
41,292 KB
testcase_15 AC 116 ms
41,280 KB
testcase_16 AC 106 ms
40,152 KB
testcase_17 AC 115 ms
41,312 KB
testcase_18 AC 114 ms
40,868 KB
testcase_19 AC 107 ms
40,052 KB
testcase_20 AC 106 ms
40,100 KB
testcase_21 AC 114 ms
41,024 KB
testcase_22 AC 116 ms
41,432 KB
testcase_23 AC 118 ms
41,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.lang.*;
import java.io.*;

class Main
{
	public static void main (String[] args) 
	{
		// 入力値の読み込み
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int s = sc.nextInt();
		
		int ans = s*100/(100-k);
		
		System.out.println(ans);
		
	}
}
0