結果
問題 | No.571 3人兄弟(その2) |
ユーザー |
|
提出日時 | 2017-10-06 22:26:10 |
言語 | Haskell (9.10.1) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 242 bytes |
コンパイル時間 | 9,007 ms |
コンパイル使用メモリ | 174,592 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-17 01:42:13 |
合計ジャッジ時間 | 9,575 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 12 |
コンパイルメッセージ
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
ソースコード
importData.Listmain::IO()main = getContents >>= mapM_ putStrLn . map snd . reverse . sort . flip zip ["A", "B", "C"] . map toint . linestoint::String->IntInttoint u = (read x, negate . read $ y)where[x, y] = words u