結果
問題 |
No.646 逆ピラミッド
|
ユーザー |
![]() |
提出日時 | 2018-08-26 23:05:49 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 194 bytes |
コンパイル時間 | 11,081 ms |
コンパイル使用メモリ | 233,632 KB |
実行使用メモリ | 6,940 KB |
最終ジャッジ日時 | 2024-07-01 04:02:11 |
合計ジャッジ時間 | 11,663 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
package main import ( "fmt" "strings" "strconv" ) func main() { var N int fmt.Scan(&N) ele := strconv.Itoa(N) for N > 0 { fmt.Println(strings.Repeat(ele, N)) N-- } }