結果
| 問題 |
No.646 逆ピラミッド
|
| コンテスト | |
| ユーザー |
gon_027
|
| 提出日時 | 2018-09-09 17:12:28 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 363 bytes |
| コンパイル時間 | 419 ms |
| コンパイル使用メモリ | 54,336 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-23 15:30:10 |
| 合計ジャッジ時間 | 1,051 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
#define p(x) cout << x << endl;
#define el cout << endl;
int main(){
cin.tie(0);
ios::sync_with_stdio(false);
int n;
cin >> n;
for(int i = 0; i < n; ++i){
for(int j = 0; j < n - i - 1; ++j){
cout << n;
}
cout << n;
cout << endl;
}
}
gon_027