結果

問題 No.547 未知の言語
ユーザー Nobita GomuNobita Gomu
提出日時 2017-10-18 16:14:02
言語 F#
(F# 4.0)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 279 bytes
コンパイル時間 4,266 ms
コンパイル使用メモリ 150,636 KB
実行使用メモリ 25,452 KB
最終ジャッジ日時 2023-09-08 09:48:35
合計ジャッジ時間 7,472 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 89 ms
23,308 KB
testcase_01 AC 88 ms
23,380 KB
testcase_02 AC 89 ms
23,336 KB
testcase_03 AC 89 ms
23,340 KB
testcase_04 AC 89 ms
23,332 KB
testcase_05 AC 89 ms
23,360 KB
testcase_06 AC 88 ms
25,372 KB
testcase_07 AC 92 ms
25,452 KB
testcase_08 AC 92 ms
23,304 KB
testcase_09 AC 95 ms
23,432 KB
testcase_10 AC 92 ms
23,324 KB
testcase_11 AC 90 ms
23,544 KB
testcase_12 AC 92 ms
23,280 KB
testcase_13 AC 91 ms
23,320 KB
testcase_14 AC 91 ms
23,432 KB
testcase_15 AC 90 ms
25,364 KB
testcase_16 AC 91 ms
21,232 KB
testcase_17 AC 89 ms
23,280 KB
testcase_18 AC 90 ms
23,452 KB
testcase_19 AC 90 ms
23,424 KB
testcase_20 AC 91 ms
23,296 KB
testcase_21 AC 90 ms
23,296 KB
testcase_22 AC 90 ms
23,284 KB
testcase_23 AC 89 ms
23,292 KB
testcase_24 AC 91 ms
25,396 KB
testcase_25 AC 91 ms
23,348 KB
testcase_26 AC 89 ms
23,312 KB
testcase_27 AC 91 ms
23,324 KB
testcase_28 AC 89 ms
23,344 KB
testcase_29 AC 90 ms
23,340 KB
testcase_30 AC 90 ms
23,356 KB
testcase_31 AC 88 ms
23,348 KB
testcase_32 AC 91 ms
23,236 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

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
0