結果
| 問題 |
No.146 試験監督(1)
|
| コンテスト | |
| ユーザー |
tottoripaper
|
| 提出日時 | 2015-02-15 22:22:26 |
| 言語 | Haskell (9.10.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 174 bytes |
| コンパイル時間 | 4,850 ms |
| コンパイル使用メモリ | 177,664 KB |
| 実行使用メモリ | 202,880 KB |
| 最終ジャッジ日時 | 2024-06-23 20:23:45 |
| 合計ジャッジ時間 | 11,004 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 2 MLE * 1 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.8.2/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) [2 of 2] Linking a.out
ソースコード
import Control.Monad main = do n <- readLn cds <- replicateM n (liftM (map read . words) getLine) let s = sum . map (\[c, d] -> (c+1) `div` 2 * d) $ cds in print s
tottoripaper