結果
| 問題 | No.646 逆ピラミッド |
| コンテスト | |
| ユーザー |
Kutimoti_T
|
| 提出日時 | 2018-06-01 20:48:30 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 267 bytes |
| 記録 | |
| コンパイル時間 | 1,089 ms |
| コンパイル使用メモリ | 179,768 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2026-03-20 04:55:12 |
| 合計ジャッジ時間 | 1,974 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using i64 = long long;
#define rep(i,s,e) for(int (i) = (s);(i) <= (e);(i)++)
int N;
int main(){
cin >> N;
for(int i = N;i >= 1;i--){
vector<int> ans(i,N);
for(int a : ans) cout << a;
cout << endl;
}
}
Kutimoti_T