結果
| 問題 | 
                            No.89 どんどんドーナツどーんといこう!
                             | 
                    
| コンテスト | |
| ユーザー | 
                             neko_the_shadow
                         | 
                    
| 提出日時 | 2017-01-22 12:39:24 | 
| 言語 | Scheme  (Gauche-0.9.15)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 25 ms / 5,000 ms | 
| コード長 | 331 bytes | 
| コンパイル時間 | 244 ms | 
| コンパイル使用メモリ | 5,504 KB | 
| 実行使用メモリ | 16,384 KB | 
| 最終ジャッジ日時 | 2024-10-05 23:06:26 | 
| 合計ジャッジ時間 | 1,496 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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