結果

問題 No.138 化石のバージョン
ユーザー 826814741_6826814741_6
提出日時 2019-01-19 18:21:53
言語 F#
(F# 4.0)
結果
AC  
実行時間 94 ms / 5,000 ms
コード長 281 bytes
コンパイル時間 4,564 ms
コンパイル使用メモリ 155,460 KB
実行使用メモリ 25,232 KB
最終ジャッジ日時 2023-09-25 06:35:55
合計ジャッジ時間 9,720 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 92 ms
23,068 KB
testcase_01 AC 93 ms
23,088 KB
testcase_02 AC 90 ms
23,024 KB
testcase_03 AC 91 ms
25,232 KB
testcase_04 AC 94 ms
23,068 KB
testcase_05 AC 89 ms
23,200 KB
testcase_06 AC 91 ms
23,024 KB
testcase_07 AC 91 ms
25,072 KB
testcase_08 AC 92 ms
23,008 KB
testcase_09 AC 91 ms
23,136 KB
testcase_10 AC 92 ms
23,148 KB
testcase_11 AC 90 ms
23,164 KB
testcase_12 AC 91 ms
23,020 KB
testcase_13 AC 93 ms
23,128 KB
testcase_14 AC 91 ms
23,052 KB
testcase_15 AC 91 ms
23,024 KB
testcase_16 AC 85 ms
22,868 KB
testcase_17 AC 85 ms
23,040 KB
testcase_18 AC 85 ms
23,072 KB
testcase_19 AC 90 ms
25,192 KB
testcase_20 AC 90 ms
23,128 KB
testcase_21 AC 86 ms
24,968 KB
testcase_22 AC 90 ms
23,144 KB
testcase_23 AC 91 ms
25,192 KB
testcase_24 AC 90 ms
23,008 KB
testcase_25 AC 90 ms
23,016 KB
testcase_26 AC 89 ms
23,024 KB
testcase_27 AC 90 ms
23,192 KB
testcase_28 AC 89 ms
23,004 KB
testcase_29 AC 91 ms
23,020 KB
testcase_30 AC 90 ms
23,136 KB
testcase_31 AC 90 ms
25,016 KB
testcase_32 AC 91 ms
20,992 KB
testcase_33 AC 90 ms
23,028 KB
testcase_34 AC 90 ms
23,060 KB
testcase_35 AC 90 ms
22,996 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let g = stdin.ReadLine >> fun s -> s.Split '.'
let f0 e = (fst e) <> (snd e)
let f1 = function
    | Some e -> (fst e) > (snd e)
    | None -> true
let f2 b = if b then "YES" else "NO"

Seq.zip (Seq.map int (g ())) (Seq.map int (g ()))
|> Seq.tryFind f0
|> f1
|> f2
|> printfn "%s"
0