結果
| 問題 | No.104 国道 |
| コンテスト | |
| ユーザー |
trineutron
|
| 提出日時 | 2019-06-14 15:54:29 |
| 言語 | Haskell (9.14.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 5,000 ms |
| + 983µs | |
| コード長 | 132 bytes |
| 記録 | |
| コンパイル時間 | 9,881 ms |
| コンパイル使用メモリ | 193,016 KB |
| 実行使用メモリ | 9,984 KB |
| 最終ジャッジ日時 | 2026-09-20 22:17:56 |
| 合計ジャッジ時間 | 10,396 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 16 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.14.1/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) [2 of 2] Linking a.out
ソースコード
main = do
s <- getLine
print $ f 1 s
f i [] = i
f i (x:xs)
| x == 'L' = f (2 * i) xs
| otherwise = f (2 * i + 1) xs
trineutron