結果
| 問題 | No.89 どんどんドーナツどーんといこう! |
| コンテスト | |
| ユーザー |
neko_the_shadow
|
| 提出日時 | 2017-01-22 12:39:24 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
AC
|
| 実行時間 | 18 ms / 5,000 ms |
| コード長 | 331 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 6,400 KB |
| 実行使用メモリ | 16,512 KB |
| 最終ジャッジ日時 | 2026-04-21 07:49:04 |
| 合計ジャッジ時間 | 1,580 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
(use math.const)
(let ((c (string->number (read-line))))
(receive (r R)
(apply values (map string->number (string-split (read-line) #\space)))
(display
(/ (* (expt pi 2)
(expt (- R r) 2)
(+ R r)
c)
4))
(newline)))
neko_the_shadow