結果
問題 |
No.2312 Turtleman and Gaming Console
|
ユーザー |
![]() |
提出日時 | 2025-08-07 21:45:30 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 79 ms / 2,000 ms |
コード長 | 239 bytes |
コンパイル時間 | 9,999 ms |
コンパイル使用メモリ | 198,112 KB |
実行使用メモリ | 30,880 KB |
最終ジャッジ日時 | 2025-08-07 21:45:45 |
合計ジャッジ時間 | 14,409 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (610 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
open System let input () = stdin.ReadLine() let n = input () |> int let a = input () let b = input () let p i = a.[i] = 'o' && b.[i] = 'o' if Seq.exists p [ 0..n - 1 ] then "Lucky Turtleman" else "Unlucky Turtleman" |> printfn "%s"