結果

問題 No.1291 小手調べ
ユーザー tadanoningen
提出日時 2020-11-20 22:17:47
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 356 bytes
コンパイル時間 693 ms
コンパイル使用メモリ 73,540 KB
最終ジャッジ日時 2025-01-16 02:29:21
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 1 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<string>
#include<vector>

using namespace std;

int main(){
    int n;
    cin >> n;
    vector<string> ans(n,"");
    for(int i=0;i < n;i++){
        int d;
        cin >> d;
        ans[i] = "9";
        for(int j=1;j < d;j++){
            ans[i] += '0';
        }
    }
    for(auto x: ans) cout << x << endl;
    return 0;
}
0