結果
| 問題 |
No.1291 小手調べ
|
| コンテスト | |
| ユーザー |
shishimaiotoshi
|
| 提出日時 | 2021-08-20 23:04:55 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 380 bytes |
| コンパイル時間 | 2,176 ms |
| コンパイル使用メモリ | 195,344 KB |
| 最終ジャッジ日時 | 2025-01-24 00:21:15 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 3 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n, o) for(int i = o;i < (n);i++)
#define ou(x) cout << x << endl
#define ll long long
#define re return 0
int main(){
int n;
cin >> n;
std::vector<int> d(n);
rep(i, n, 0) cin >> d[i];
string s;
rep(i, n, 0){
s = '9';
rep(j, d[i] - 1, 0) s += '0';
ou(s);
}
re;
}
shishimaiotoshi