結果

問題 No.646 逆ピラミッド
ユーザー %20
提出日時 2018-02-11 11:58:43
言語 Haskell
(9.10.1)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 102 bytes
コンパイル時間 5,843 ms
コンパイル使用メモリ 172,160 KB
実行使用メモリ 5,760 KB
最終ジャッジ日時 2024-11-15 18:12:53
合計ジャッジ時間 6,437 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.8.2/environments/default
[1 of 2] Compiling Main             ( Main.hs, Main.o )
[2 of 2] Linking a.out

ソースコード

diff #

f _ 0 0=""
f n y 0="\n"++f n(y-1)(y-1)
f n y x=show n++f n y(x-1)

main=do
 n<-readLn
 putStr$f n n n
0