結果

問題 No.138 化石のバージョン
ユーザー regeregeregerege
提出日時 2016-06-19 00:17:08
言語 F#
(F# 4.0)
結果
AC  
実行時間 81 ms / 5,000 ms
コード長 218 bytes
コンパイル時間 5,059 ms
コンパイル使用メモリ 158,768 KB
実行使用メモリ 24,820 KB
最終ジャッジ日時 2023-08-28 13:41:56
合計ジャッジ時間 9,013 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
24,704 KB
testcase_01 AC 79 ms
22,644 KB
testcase_02 AC 81 ms
22,828 KB
testcase_03 AC 79 ms
22,580 KB
testcase_04 AC 80 ms
24,628 KB
testcase_05 AC 81 ms
20,720 KB
testcase_06 AC 81 ms
22,740 KB
testcase_07 AC 79 ms
24,820 KB
testcase_08 AC 79 ms
22,828 KB
testcase_09 AC 80 ms
20,660 KB
testcase_10 AC 81 ms
22,720 KB
testcase_11 AC 80 ms
24,772 KB
testcase_12 AC 80 ms
22,652 KB
testcase_13 AC 79 ms
22,832 KB
testcase_14 AC 79 ms
22,640 KB
testcase_15 AC 78 ms
22,828 KB
testcase_16 AC 81 ms
22,736 KB
testcase_17 AC 80 ms
20,724 KB
testcase_18 AC 80 ms
22,668 KB
testcase_19 AC 80 ms
22,728 KB
testcase_20 AC 80 ms
24,760 KB
testcase_21 AC 80 ms
22,648 KB
testcase_22 AC 80 ms
22,792 KB
testcase_23 AC 79 ms
22,632 KB
testcase_24 AC 81 ms
22,692 KB
testcase_25 AC 81 ms
22,688 KB
testcase_26 AC 78 ms
20,592 KB
testcase_27 AC 80 ms
22,836 KB
testcase_28 AC 79 ms
22,744 KB
testcase_29 AC 78 ms
22,644 KB
testcase_30 AC 80 ms
22,796 KB
testcase_31 AC 78 ms
20,672 KB
testcase_32 AC 78 ms
20,628 KB
testcase_33 AC 79 ms
24,688 KB
testcase_34 AC 80 ms
22,596 KB
testcase_35 AC 80 ms
22,672 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let f (s:string) =
    let arr = s.Split('.') |> Array.map int
    arr.[0] * 1000000 + arr.[1] * 1000 + arr.[2]
let N = f <| stdin.ReadLine()
let M = f <| stdin.ReadLine()
printfn "%s" <| if N >= M then "YES" else "NO"
0