結果

問題 No.169 何分かかるの!?
ユーザー Maeda
提出日時 2025-08-25 15:54:56
言語 Java
(openjdk 23)
結果
AC  
実行時間 150 ms / 1,000 ms
コード長 303 bytes
コンパイル時間 2,655 ms
コンパイル使用メモリ 76,868 KB
実行使用メモリ 46,688 KB
最終ジャッジ日時 2025-08-25 15:55:04
合計ジャッジ時間 6,430 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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