結果

問題 No.138 化石のバージョン
ユーザー 826814741_6826814741_6
提出日時 2019-01-19 17:45:40
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 205 bytes
コンパイル時間 4,233 ms
コンパイル使用メモリ 154,812 KB
実行使用メモリ 25,200 KB
最終ジャッジ日時 2023-09-25 04:04:11
合計ジャッジ時間 9,174 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 91 ms
23,088 KB
testcase_01 AC 89 ms
23,100 KB
testcase_02 AC 88 ms
23,072 KB
testcase_03 AC 88 ms
23,076 KB
testcase_04 AC 87 ms
24,964 KB
testcase_05 AC 88 ms
23,012 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 88 ms
22,968 KB
testcase_17 AC 89 ms
23,080 KB
testcase_18 AC 89 ms
23,152 KB
testcase_19 AC 88 ms
22,952 KB
testcase_20 AC 92 ms
25,008 KB
testcase_21 AC 88 ms
23,096 KB
testcase_22 AC 89 ms
25,132 KB
testcase_23 AC 89 ms
23,080 KB
testcase_24 AC 88 ms
22,980 KB
testcase_25 AC 88 ms
23,008 KB
testcase_26 WA -
testcase_27 AC 88 ms
23,080 KB
testcase_28 AC 89 ms
23,148 KB
testcase_29 AC 88 ms
23,084 KB
testcase_30 AC 87 ms
23,268 KB
testcase_31 AC 88 ms
21,052 KB
testcase_32 AC 88 ms
22,940 KB
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 f a = if a = None then "YES" else "NO"

Seq.zip (Seq.map int (g ())) (Seq.map int (g ()))
|> Seq.tryFind (fun e -> (fst e) < (snd e))
|> f
|> printfn "%s"
0