結果

問題 No.221 犯罪都市
ユーザー aaaaasatori
提出日時 2018-02-23 21:12:03
言語 Java
(openjdk 23)
結果
AC  
実行時間 139 ms / 5,000 ms
コード長 261 bytes
コンパイル時間 3,489 ms
コンパイル使用メモリ 74,692 KB
実行使用メモリ 41,964 KB
最終ジャッジ日時 2024-10-09 13:26:22
合計ジャッジ時間 6,641 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

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