結果

問題 No.646 逆ピラミッド
ユーザー iwltwm
提出日時 2018-03-08 19:13:22
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 226 bytes
コンパイル時間 431 ms
コンパイル使用メモリ 64,656 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-05 08:11:51
合計ジャッジ時間 932 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main(void) {
	int n; cin >> n;
	for (int i = n;i >=1;i--)
		for (int j = i;j >= 1;j--) {
			if (j != 1)
				cout << n << flush;
			else
				cout << n << endl;
		}
	cout << endl;
}
0