結果

問題 No.646 逆ピラミッド
ユーザー taktak
提出日時 2018-04-11 03:09:13
言語 F#
(F# 4.0)
結果
AC  
実行時間 83 ms / 2,000 ms
コード長 136 bytes
コンパイル時間 4,201 ms
コンパイル使用メモリ 160,700 KB
実行使用メモリ 24,860 KB
最終ジャッジ日時 2023-09-09 04:03:05
合計ジャッジ時間 5,491 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
22,748 KB
testcase_01 AC 81 ms
24,748 KB
testcase_02 AC 81 ms
20,672 KB
testcase_03 AC 81 ms
22,932 KB
testcase_04 AC 81 ms
24,860 KB
testcase_05 AC 81 ms
22,748 KB
testcase_06 AC 83 ms
20,808 KB
testcase_07 AC 80 ms
22,880 KB
testcase_08 AC 80 ms
22,972 KB
testcase_09 AC 81 ms
22,832 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System

let N = Console.ReadLine()

[N |> int .. (-1) .. 1]
|> List.map (fun x -> String.replicate x N)
|> List.iter (printfn "%s")
0