結果

問題 No.166 マス埋めゲーム
ユーザー hum_op
提出日時 2016-04-14 22:27:34
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 284 bytes
コンパイル時間 6,686 ms
コンパイル使用メモリ 195,204 KB
実行使用メモリ 38,908 KB
最終ジャッジ日時 2024-10-04 08:56:06
合計ジャッジ時間 9,990 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10 WA * 5 RE * 5
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (243 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

let No166 () =
    let IN = Console.ReadLine().Split(' ')
    let mass = (Int32.Parse IN.[0]) * (Int32.Parse IN.[1])
    let N = int32 <| IN.[2]
    let K = int32 <| IN.[3]

    if mass % N = K - 1 then
        printfn "NO"
    else
        printfn "YES"

    ()
No166 ()
0