結果
| 問題 |
No.306 さいたま2008
|
| コンテスト | |
| ユーザー |
trineutron
|
| 提出日時 | 2019-06-14 16:17:21 |
| 言語 | Haskell (9.10.1) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 170 bytes |
| コンパイル時間 | 1,137 ms |
| コンパイル使用メモリ | 179,200 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2025-02-14 12:15:39 |
| 合計ジャッジ時間 | 2,098 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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 ) [2 of 2] Linking a.out
ソースコード
main = do
ps <- map (map read . words) . lines <$> getContents
print $ (ps !! 0 !! 0 * ps !! 1 !! 1 + ps !! 0 !! 1 * ps !! 1 !! 0) / (ps !! 0 !! 0 + ps !! 1 !! 0)
trineutron