結果
問題 | No.646 逆ピラミッド |
ユーザー |
![]() |
提出日時 | 2020-04-09 18:42:37 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 444 bytes |
コンパイル時間 | 1,487 ms |
コンパイル使用メモリ | 165,624 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-13 20:15:11 |
合計ジャッジ時間 | 2,039 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
/** * author: TakeruOkuyama * created: 2020-04-09 14:53:46 **/ #include <bits/stdc++.h> #define rep(i, n) for(int i = 0; i < (n); i++) using namespace std; using ll = long long; using P = pair<int, int>; const int MOD = 1000000007; int main(){ int N; cin >> N; rep(i, N){ rep(j, N - i){ cout << N; } cout << endl; } return 0;} /** * g++ code.cpp * ./a.out * shift + ctrl + i **/