結果
問題 | No.646 逆ピラミッド |
ユーザー |
![]() |
提出日時 | 2018-12-22 13:03:54 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 366 bytes |
コンパイル時間 | 1,560 ms |
コンパイル使用メモリ | 164,984 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-25 10:09:32 |
合計ジャッジ時間 | 2,301 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include<bits/stdc++.h> using namespace std; #define REP(i,a,b) for(int (i)=(a);(i)<(int)(b);++(i)) #define RREP(i,a,b) for(int (i)=(a);(i)>=(int)(b);--(i)) typedef long long ll; typedef pair<ll, ll> P; const int MOD = 1000000007; int main(){ int n; cin >> n; RREP(i,n,1){ REP(j,0,i) cout << n; cout << endl; } return 0; }