結果
| 問題 | 
                            No.306 さいたま2008
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2016-04-22 14:51:22 | 
| 言語 | Haskell  (9.10.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 3 ms / 2,000 ms | 
| コード長 | 136 bytes | 
| コンパイル時間 | 1,270 ms | 
| コンパイル使用メモリ | 181,540 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2025-02-14 12:13:11 | 
| 合計ジャッジ時間 | 2,247 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 26 | 
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.10.1/environments/default
[1 of 2] Compiling Main             ( Main.hs, Main.o )
Main.hs:2:1: warning: [GHC-94817] [-Wtabs]
    Tab character found here, and in one further location.
    Suggested fix: Please use spaces instead.
  |
2 |         [xa, ya, xb, yb] <- getContents >>= return . concat . map (map read . words) . lines
  | ^^^^^^^^
[2 of 2] Linking a.out
            
            ソースコード
main = do [xa, ya, xb, yb] <- getContents >>= return . concat . map (map read . words) . lines print $ xa * (yb - ya) / (xa + xb) + ya