結果

問題 No.221 犯罪都市
コンテスト
ユーザー kokoa1046
提出日時 2017-09-08 11:05:27
言語 Scheme
(Gauche-0.9.15)
コンパイル:
true
実行:
gosh _filename_
結果
AC  
実行時間 17 ms / 5,000 ms
+ 340µs
コード長 267 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 3 ms
コンパイル使用メモリ 9,900 KB
実行使用メモリ 16,512 KB
最終ジャッジ日時 2026-10-07 19:30:04
合計ジャッジ時間 1,793 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge4_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

; 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