結果

問題 No.99 ジャンピング駒
ユーザー regeregeregerege
提出日時 2016-04-10 11:34:38
言語 F#
(F# 4.0)
結果
AC  
実行時間 348 ms / 5,000 ms
コード長 209 bytes
コンパイル時間 6,125 ms
コンパイル使用メモリ 192,348 KB
実行使用メモリ 48,000 KB
最終ジャッジ日時 2024-04-14 23:44:16
合計ジャッジ時間 9,141 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 348 ms
48,000 KB
testcase_01 AC 331 ms
47,744 KB
testcase_02 AC 334 ms
47,872 KB
testcase_03 AC 343 ms
47,872 KB
testcase_04 AC 330 ms
48,000 KB
testcase_05 AC 339 ms
47,872 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (219 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 #

stdin.ReadLine() |> ignore
let eo x = 0x100000000L-0xFFFFFFFFL*int64(x&&&1)
let f x = (x>>>32)-(x&&&0xFFFFFFFFL)
stdin.ReadLine().Split(' ')
|> Seq.map (int >> eo)
|> Seq.sum
|> f |> int |> abs
|> printfn "%d"
0