結果
| 問題 |
No.646 逆ピラミッド
|
| コンテスト | |
| ユーザー |
neko_the_shadow
|
| 提出日時 | 2018-03-17 23:33:37 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 37 ms / 2,000 ms |
| コード長 | 185 bytes |
| コンパイル時間 | 557 ms |
| コンパイル使用メモリ | 66,140 KB |
| 最終ジャッジ日時 | 2025-01-05 09:18:15 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#include<iostream>
using namespace std;
int main()
{
int n;
cin >> n;
for (int x = n; x > 0; x--) {
for (int y = 0; y < x; y++) cout << n;
cout << endl;
}
return 0;
}
neko_the_shadow