結果

問題 No.682 Average
ユーザー taktak
提出日時 2018-08-10 02:20:17
言語 F#
(F# 4.0)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 197 bytes
コンパイル時間 14,700 ms
コンパイル使用メモリ 191,016 KB
実行使用メモリ 31,140 KB
最終ジャッジ日時 2023-10-24 12:59:53
合計ジャッジ時間 7,770 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
31,140 KB
testcase_01 AC 62 ms
31,140 KB
testcase_02 AC 63 ms
31,128 KB
testcase_03 AC 63 ms
31,132 KB
testcase_04 AC 62 ms
31,136 KB
testcase_05 AC 63 ms
31,120 KB
testcase_06 AC 63 ms
31,132 KB
testcase_07 AC 61 ms
31,136 KB
testcase_08 AC 62 ms
31,132 KB
testcase_09 AC 61 ms
31,132 KB
testcase_10 AC 61 ms
31,132 KB
testcase_11 AC 62 ms
31,132 KB
testcase_12 AC 61 ms
31,136 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (806 ms)。
MSBuild のバージョン 17.7.3+8ec440e68 (.NET)
  main -> /home/judge/data/code/bin/Release/net7.0/main.dll
  main -> /home/judge/data/code/bin/Release/net7.0/publish/

ソースコード

diff #

let t = stdin.ReadLine().Split() |> Array.map int in [|t.[0] ..  t.[1]|]
|> Array.where(fun i -> 
    let s = t.[0] + t.[1] + i
    let d = s / 3
    s = d * 3)
|> Array.length 
|> stdout.WriteLine
0