結果

問題 No.221 犯罪都市
ユーザー dumshdumsh
提出日時 2016-11-19 22:45:06
言語 Java21
(openjdk 21)
結果
AC  
実行時間 40 ms / 5,000 ms
コード長 288 bytes
コンパイル時間 1,678 ms
コンパイル使用メモリ 71,388 KB
実行使用メモリ 49,500 KB
最終ジャッジ日時 2023-08-26 14:22:00
合計ジャッジ時間 3,192 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
49,408 KB
testcase_01 AC 38 ms
49,384 KB
testcase_02 AC 38 ms
49,244 KB
testcase_03 AC 38 ms
49,300 KB
testcase_04 AC 38 ms
49,132 KB
testcase_05 AC 39 ms
47,200 KB
testcase_06 AC 39 ms
49,116 KB
testcase_07 AC 38 ms
49,476 KB
testcase_08 AC 39 ms
49,136 KB
testcase_09 AC 37 ms
49,500 KB
testcase_10 AC 38 ms
49,196 KB
testcase_11 AC 38 ms
49,320 KB
testcase_12 AC 38 ms
49,280 KB
testcase_13 AC 38 ms
49,240 KB
testcase_14 AC 39 ms
49,352 KB
testcase_15 AC 38 ms
49,180 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		System.out.println((double)(1000000 - 100 * n)/(10000 + 98 * n));
	}
}
0