結果

問題 No.221 犯罪都市
ユーザー tailstails
提出日時 2015-06-05 22:28:26
言語 Perl
(5.38.0)
結果
AC  
実行時間 3 ms / 5,000 ms
コード長 70 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 5,304 KB
実行使用メモリ 4,748 KB
最終ジャッジ日時 2023-08-26 06:44:40
合計ジャッジ時間 990 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,748 KB
testcase_01 AC 3 ms
4,652 KB
testcase_02 AC 2 ms
4,680 KB
testcase_03 AC 2 ms
4,588 KB
testcase_04 AC 2 ms
4,492 KB
testcase_05 AC 3 ms
4,528 KB
testcase_06 AC 2 ms
4,540 KB
testcase_07 AC 2 ms
4,540 KB
testcase_08 AC 2 ms
4,648 KB
testcase_09 AC 2 ms
4,664 KB
testcase_10 AC 2 ms
4,564 KB
testcase_11 AC 2 ms
4,564 KB
testcase_12 AC 2 ms
4,560 KB
testcase_13 AC 2 ms
4,680 KB
testcase_14 AC 2 ms
4,644 KB
testcase_15 AC 2 ms
4,552 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$n=<>*100;
$y=$n*.99;
$x=(1e6-$n)*.01;
$r=1-$y/($x+$y);
print $r*100;
0