結果

問題 No.1256 連続整数列
ユーザー thglaflsthglafls
提出日時 2023-04-30 18:03:02
言語 F#
(F# 4.0)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 124 bytes
コンパイル時間 11,894 ms
コンパイル使用メモリ 185,260 KB
実行使用メモリ 30,592 KB
最終ジャッジ日時 2024-04-29 23:09:57
合計ジャッジ時間 14,113 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
30,208 KB
testcase_01 AC 67 ms
30,464 KB
testcase_02 AC 69 ms
30,592 KB
testcase_03 AC 66 ms
30,592 KB
testcase_04 AC 68 ms
30,304 KB
testcase_05 AC 68 ms
30,464 KB
testcase_06 AC 68 ms
30,336 KB
testcase_07 AC 68 ms
30,464 KB
testcase_08 AC 68 ms
30,592 KB
testcase_09 AC 69 ms
30,304 KB
testcase_10 AC 69 ms
30,464 KB
testcase_11 AC 67 ms
30,460 KB
testcase_12 AC 65 ms
30,580 KB
testcase_13 AC 68 ms
30,464 KB
testcase_14 AC 68 ms
30,304 KB
testcase_15 AC 69 ms
30,432 KB
testcase_16 AC 68 ms
30,464 KB
testcase_17 AC 70 ms
30,336 KB
testcase_18 AC 69 ms
30,584 KB
testcase_19 AC 66 ms
30,208 KB
testcase_20 AC 70 ms
30,460 KB
testcase_21 AC 67 ms
30,208 KB
testcase_22 AC 68 ms
30,336 KB
testcase_23 AC 68 ms
30,592 KB
testcase_24 AC 67 ms
30,208 KB
testcase_25 AC 68 ms
30,328 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (289 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 calc n = if n = 1 then "NO" else "YES"

let main =
    let input = stdin.ReadLine() |> int
    printfn "%s" (calc input)
0