結果

問題 No.796 well known
ユーザー chike_pluschike_plus
提出日時 2019-04-08 09:27:01
言語 F#
(F# 4.0)
結果
AC  
実行時間 454 ms / 2,000 ms
コード長 241 bytes
コンパイル時間 4,814 ms
コンパイル使用メモリ 156,724 KB
実行使用メモリ 31,124 KB
最終ジャッジ日時 2023-09-14 15:37:45
合計ジャッジ時間 10,250 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
22,420 KB
testcase_01 AC 61 ms
22,160 KB
testcase_02 AC 60 ms
22,304 KB
testcase_03 AC 61 ms
22,364 KB
testcase_04 AC 345 ms
30,372 KB
testcase_05 AC 384 ms
30,552 KB
testcase_06 AC 454 ms
29,100 KB
testcase_07 AC 142 ms
22,308 KB
testcase_08 AC 379 ms
28,536 KB
testcase_09 AC 262 ms
24,392 KB
testcase_10 AC 434 ms
31,104 KB
testcase_11 AC 107 ms
22,232 KB
testcase_12 AC 224 ms
24,340 KB
testcase_13 AC 335 ms
24,368 KB
testcase_14 AC 184 ms
22,256 KB
testcase_15 AC 236 ms
24,348 KB
testcase_16 AC 452 ms
31,124 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let ``No.796 well known``() =
  stdin.ReadLine()
  |> int
  |> fun arg ->
    seq {for i in  [1..arg-1] do yield 3 |> int }
    |> Seq.iter (fun s -> s |> stdout.Write ; stdout.Write " ") 
    stdout.WriteLine 1

  ()
``No.796 well known``()
0