結果
| 問題 |
No.646 逆ピラミッド
|
| コンテスト | |
| ユーザー |
tempura_pp
|
| 提出日時 | 2018-02-09 22:22:27 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 474 bytes |
| コンパイル時間 | 898 ms |
| コンパイル使用メモリ | 75,904 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-08 15:06:52 |
| 合計ジャッジ時間 | 1,729 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#include <iostream>
#include <vector>
#include<algorithm>
#include<iomanip>
#include<queue>
using namespace std;
#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define REP(i,m,n) for(int i=m;i<(int)(n);i++)
typedef pair<double,int> pint;
typedef long long ll;
const int inf = 1<<29;
const ll longinf = 1LL<<60;
int dx[4]={1,0,-1,0}, dy[4]={0,1,0,-1};
int main(){
int n;cin>>n;
rep(i,n){
for(int j=n-i;j>0;j--)
cout<<n;
cout<<endl;
}
return 0;
}
tempura_pp