結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-06-09 21:32:08 |
| 言語 | Haskell (9.14.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 2 ms / 5,000 ms |
| + 257µs | |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 6,345 ms |
| コンパイル使用メモリ | 196,096 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-12 10:39:16 |
| 合計ジャッジ時間 | 6,625 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.14.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 two further locations.
Suggested fix: Please use spaces instead.
|
2 | name <- getLine
| ^^^^^^^^
[2 of 2] Linking a.out
ソースコード
main = do name <- getLine c <- return . length . filter (/= '.') . concat . lines =<< getContents putStrLn $ (if name == "yukiko" then ["yukiko", "oda"] else ["oda", "yukiko"])!!(mod c 2)