結果
| 問題 |
No.646 逆ピラミッド
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-30 02:32:37 |
| 言語 | Go (1.23.4) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 204 bytes |
| コンパイル時間 | 10,520 ms |
| コンパイル使用メモリ | 235,908 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-09-30 17:24:53 |
| 合計ジャッジ時間 | 11,245 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
// No.646 逆ピラミッド
package main
import (
"fmt"
"strconv"
"strings"
)
func main() {
var n int
fmt.Scan(&n)
for i := n; i > 0; i-- {
fmt.Println(strings.Repeat(strconv.Itoa(n), i))
}
}