結果

問題 No.221 犯罪都市
ユーザー kokoa1046kokoa1046
提出日時 2017-09-08 11:05:27
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 17 ms / 5,000 ms
コード長 267 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 12,008 KB
最終ジャッジ日時 2023-08-26 16:17:38
合計ジャッジ時間 1,277 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
11,736 KB
testcase_01 AC 16 ms
11,964 KB
testcase_02 AC 15 ms
11,996 KB
testcase_03 AC 15 ms
11,564 KB
testcase_04 AC 15 ms
11,844 KB
testcase_05 AC 15 ms
11,744 KB
testcase_06 AC 15 ms
11,732 KB
testcase_07 AC 15 ms
12,008 KB
testcase_08 AC 16 ms
11,976 KB
testcase_09 AC 15 ms
11,816 KB
testcase_10 AC 14 ms
11,728 KB
testcase_11 AC 15 ms
11,792 KB
testcase_12 AC 15 ms
11,872 KB
testcase_13 AC 15 ms
11,736 KB
testcase_14 AC 16 ms
11,984 KB
testcase_15 AC 15 ms
11,732 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

; Here your code !
(define n (read) )
(define guilty (*(/ 1 10000)n))
(define innocent (- 1 guilty))
(define capturedinnocent (/ innocent 100))
(define capturedguilty (*(/ guilty 100)99))
(print (inexact(*(/ capturedinnocent(+ capturedguilty capturedinnocent) )100)))
0