結果
問題 |
No.547 未知の言語
|
ユーザー |
|
提出日時 | 2017-10-18 16:14:02 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 364 ms / 2,000 ms |
コード長 | 279 bytes |
コンパイル時間 | 9,847 ms |
コンパイル使用メモリ | 190,132 KB |
実行使用メモリ | 35,032 KB |
最終ジャッジ日時 | 2024-06-26 02:52:07 |
合計ジャッジ時間 | 22,606 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 33 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (297 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
let split = fun (s:string) -> s.Split ' ' stdin.ReadLine () |> ignore Seq.zip (stdin.ReadLine () |> split) (stdin.ReadLine () |> split) |> Seq.mapi (fun i e -> i+1, e) |> Seq.filter (fun (i, e) -> (fst e) <> (snd e)) |> Seq.head |> fun (i, (a, b)) -> printf "%d\n%s\n%s\n" i a b