結果
問題 | No.646 逆ピラミッド |
ユーザー |
|
提出日時 | 2018-02-09 22:37:44 |
言語 | Haskell (9.10.1) |
結果 |
AC
|
実行時間 | 5 ms / 2,000 ms |
コード長 | 250 bytes |
コンパイル時間 | 8,876 ms |
コンパイル使用メモリ | 175,488 KB |
実行使用メモリ | 7,808 KB |
最終ジャッジ日時 | 2024-10-08 16:12:37 |
合計ジャッジ時間 | 9,103 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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
ソースコード
importControl.MonadreplicateM_main::IO()main = don <- getLinesolve n (read n)solve::String->Int->IO()solve s c| c == 0 = return ()| otherwise = doreplicateM_ c $ putStr sputStrLn ""solve s (c - 1)