結果

問題 No.169 何分かかるの!?
ユーザー h_tyokinuhata
提出日時 2016-01-25 01:57:44
言語 Java
(openjdk 23)
結果
AC  
実行時間 118 ms / 1,000 ms
コード長 257 bytes
コンパイル時間 2,024 ms
コンパイル使用メモリ 73,944 KB
実行使用メモリ 41,448 KB
最終ジャッジ日時 2024-09-21 16:11:22
合計ジャッジ時間 5,424 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int K = sc.nextInt(), S = sc.nextInt();
		
		double result = (double)S / (100 - K) * 100;
		
		System.out.println((int)result);
	}
}
0