結果

問題 No.646 逆ピラミッド
ユーザー trineutrontrineutron
提出日時 2020-04-10 20:44:43
言語 C++17
(gcc 13.2.0 + boost 1.83.0)
結果
OLE  
実行時間 -
コード長 220 bytes
コンパイル時間 1,881 ms
コンパイル使用メモリ 196,172 KB
実行使用メモリ 7,788 KB
最終ジャッジ日時 2023-10-13 17:14:42
合計ジャッジ時間 8,840 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 OLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
    int n;
    cin >> n;
    for (int i = n; i > 0; i++) {
        for (int j = 0; j < i; j++) {
            cout << n;
        }
        cout << endl;
    }
}
0