結果

問題 No.221 犯罪都市
ユーザー kokoa1046
提出日時 2017-09-08 11:05:27
言語 Scheme
(Gauche-0.9.15)
結果
AC  
実行時間 23 ms / 5,000 ms
コード長 267 bytes
コンパイル時間 105 ms
コンパイル使用メモリ 5,120 KB
実行使用メモリ 16,256 KB
最終ジャッジ日時 2024-12-25 15:02:55
合計ジャッジ時間 1,315 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

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