結果

問題 No.99 ジャンピング駒
ユーザー regeregeregerege
提出日時 2016-04-09 23:46:29
言語 F#
(F# 4.0)
結果
AC  
実行時間 349 ms / 5,000 ms
コード長 214 bytes
コンパイル時間 11,844 ms
コンパイル使用メモリ 185,520 KB
実行使用メモリ 48,128 KB
最終ジャッジ日時 2024-04-14 23:38:02
合計ジャッジ時間 15,504 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

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

let N = int <| stdin.ReadLine()
let eo x = if x &&& 1 = 1 then 1L else 1L <<< 32
let f x = (x>>>32)-(x&&&0xFFFFFFFFL)
stdin.ReadLine().Split(' ')
|> Seq.map (int >> eo)
|> Seq.sum
|> f |> int |> abs
|> printfn "%d"
0