結果

問題 No.218 経験値1.5倍
ユーザー kuuso1kuuso1
提出日時 2016-08-18 17:42:44
言語 F#
(F# 4.0)
結果
AC  
実行時間 80 ms / 2,000 ms
コード長 402 bytes
コンパイル時間 16,602 ms
コンパイル使用メモリ 188,940 KB
実行使用メモリ 30,848 KB
最終ジャッジ日時 2024-12-29 15:46:33
合計ジャッジ時間 19,804 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (727 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

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