結果

問題 No.218 経験値1.5倍
ユーザー kuuso1kuuso1
提出日時 2016-08-18 17:42:44
言語 F#
(F# 4.0)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 402 bytes
コンパイル時間 4,608 ms
コンパイル使用メモリ 163,484 KB
実行使用メモリ 24,692 KB
最終ジャッジ日時 2023-08-28 14:26:14
合計ジャッジ時間 8,153 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
22,684 KB
testcase_01 AC 76 ms
22,528 KB
testcase_02 AC 78 ms
22,640 KB
testcase_03 AC 76 ms
22,636 KB
testcase_04 AC 77 ms
24,652 KB
testcase_05 AC 76 ms
20,652 KB
testcase_06 AC 76 ms
22,808 KB
testcase_07 AC 76 ms
22,708 KB
testcase_08 AC 76 ms
24,680 KB
testcase_09 AC 76 ms
22,764 KB
testcase_10 AC 76 ms
22,724 KB
testcase_11 AC 77 ms
22,636 KB
testcase_12 AC 78 ms
24,620 KB
testcase_13 AC 76 ms
22,636 KB
testcase_14 AC 76 ms
24,692 KB
testcase_15 AC 77 ms
24,672 KB
testcase_16 AC 77 ms
22,640 KB
testcase_17 AC 77 ms
22,636 KB
testcase_18 AC 76 ms
22,584 KB
testcase_19 AC 77 ms
22,660 KB
testcase_20 AC 77 ms
22,584 KB
testcase_21 AC 79 ms
22,628 KB
testcase_22 AC 79 ms
24,604 KB
testcase_23 AC 79 ms
22,640 KB
testcase_24 AC 77 ms
24,680 KB
testcase_25 AC 76 ms
24,676 KB
testcase_26 AC 76 ms
20,660 KB
testcase_27 AC 76 ms
22,700 KB
testcase_28 AC 75 ms
22,636 KB
testcase_29 AC 76 ms
24,692 KB
testcase_30 AC 76 ms
22,640 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System
type Sol() =
    member this.Solve() = 
        let a = stdin.ReadLine() |> int
        let b = stdin.ReadLine() |> int
        let c = stdin.ReadLine() |> int
        
        let t1 = a/b + if (a % b) <> 0 then 1 else 0
        let t2 = a/c + if (a % c) <> 0 then 1 else 0
        (if (3 * t2) > (t1 * 2) then "NO" else "YES") |> printfn "%s"
        
let mySol = new Sol()
mySol.Solve()
0