結果

問題 No.221 犯罪都市
ユーザー aaaaasatoriaaaaasatori
提出日時 2018-02-23 21:12:03
言語 Java21
(openjdk 21)
結果
AC  
実行時間 110 ms / 5,000 ms
コード長 261 bytes
コンパイル時間 2,735 ms
コンパイル使用メモリ 73,952 KB
実行使用メモリ 54,328 KB
最終ジャッジ日時 2024-04-17 19:20:02
合計ジャッジ時間 5,212 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 105 ms
54,012 KB
testcase_01 AC 107 ms
54,120 KB
testcase_02 AC 107 ms
54,208 KB
testcase_03 AC 110 ms
54,164 KB
testcase_04 AC 96 ms
53,156 KB
testcase_05 AC 106 ms
53,908 KB
testcase_06 AC 94 ms
52,704 KB
testcase_07 AC 108 ms
53,932 KB
testcase_08 AC 104 ms
54,188 KB
testcase_09 AC 106 ms
53,884 KB
testcase_10 AC 102 ms
53,508 KB
testcase_11 AC 105 ms
53,836 KB
testcase_12 AC 108 ms
54,328 KB
testcase_13 AC 106 ms
54,108 KB
testcase_14 AC 108 ms
54,236 KB
testcase_15 AC 92 ms
52,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No221 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int bunshi = 10000 - N;
		int bunbo = 10000 + 98*N;
		System.out.println((double)bunshi/bunbo * 100);
	}
}
0