結果

問題 No.756 チャンパーノウン定数 (1)
ユーザー chikepluschikeplus
提出日時 2019-01-24 18:19:03
言語 F#
(F# 4.0)
結果
AC  
実行時間 85 ms / 2,000 ms
コード長 293 bytes
コンパイル時間 3,491 ms
コンパイル使用メモリ 161,020 KB
実行使用メモリ 24,796 KB
最終ジャッジ日時 2023-10-14 09:41:23
合計ジャッジ時間 6,563 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
22,732 KB
testcase_01 AC 83 ms
22,728 KB
testcase_02 AC 82 ms
22,712 KB
testcase_03 AC 82 ms
22,684 KB
testcase_04 AC 82 ms
22,696 KB
testcase_05 AC 83 ms
22,984 KB
testcase_06 AC 82 ms
22,696 KB
testcase_07 AC 82 ms
22,904 KB
testcase_08 AC 84 ms
22,876 KB
testcase_09 AC 83 ms
22,876 KB
testcase_10 AC 83 ms
20,600 KB
testcase_11 AC 84 ms
24,644 KB
testcase_12 AC 83 ms
24,780 KB
testcase_13 AC 83 ms
22,920 KB
testcase_14 AC 83 ms
22,752 KB
testcase_15 AC 85 ms
24,796 KB
testcase_16 AC 83 ms
22,656 KB
testcase_17 AC 83 ms
22,592 KB
testcase_18 AC 82 ms
22,704 KB
testcase_19 AC 82 ms
23,000 KB
testcase_20 AC 83 ms
20,848 KB
testcase_21 AC 83 ms
22,636 KB
testcase_22 AC 83 ms
22,620 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let inputs = System.Console.ReadLine().Split(' ')
let args = [for str in inputs do yield int(str) ]

  
let num = List.head args

let rec concat lt =
    match lt with
    | [] -> ""
    | x::xs -> x.ToString() + (concat xs)

let ress = concat [0..num ]

printfn "%c" (ress.ToString()).[num]  
0