結果
問題 |
No.218 経験値1.5倍
|
ユーザー |
![]() |
提出日時 | 2016-08-18 17:41:14 |
言語 | F# (F# 4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 411 bytes |
コンパイル時間 | 8,784 ms |
コンパイル使用メモリ | 194,852 KB |
実行使用メモリ | 32,520 KB |
最終ジャッジ日時 | 2024-11-07 19:27:48 |
合計ジャッジ時間 | 10,586 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 WA * 6 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (234 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/
ソースコード
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 % b) <> 0 then 1 else 0 (if (3 * t2) > (t1 * 2) then "NO" else "YES") |> printfn "%s" let mySol = new Sol() mySol.Solve()