結果

問題 No.1291 小手調べ
ユーザー _m_c_u_m_c_u
提出日時 2020-11-22 00:14:10
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 313 bytes
コンパイル時間 501 ms
コンパイル使用メモリ 64,216 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-30 22:21:11
合計ジャッジ時間 1,105 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    string s = "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000";
    int n, d;
    cin >> n;
    for(int i=0; i<n; i++){
        cin >> d;
        cout << 9 << s.substr(0,d-1) << endl;
    }
    return 0;
}
0