結果

問題 No.1291 小手調べ
ユーザー finefine
提出日時 2021-01-13 02:49:16
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 333 bytes
コンパイル時間 1,368 ms
コンパイル使用メモリ 166,788 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-05-01 12:29:23
合計ジャッジ時間 1,864 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
6,812 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 2 ms
6,944 KB
testcase_04 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

using ll = long long;

constexpr char newl = '\n';

int main() {
    cin.tie(nullptr);
    ios::sync_with_stdio(false);

    int n;
    cin >> n;
    for (int i = 0; i < n; i++) {
        int d;
        cin >> d;
        cout << "9" + string(d - 1, '0') << newl;
    }

    return 0;
}
0