結果

問題 No.1291 小手調べ
ユーザー Drice
提出日時 2020-11-20 22:29:18
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 283 bytes
コンパイル時間 307 ms
コンパイル使用メモリ 30,720 KB
実行使用メモリ 6,816 KB
最終ジャッジ日時 2024-07-23 13:22:11
合計ジャッジ時間 1,011 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<cstdio>

int main(){
    int n;
    scanf("%d",&n);
    for(int i = 0; i < n; i++){
        int d;
        scanf("%d",&d);
        if(d==1) printf("10");
        else printf("9");
        for(int j = 0; j < d-1; j++) printf("0");
        printf("\n");
    }
    return 0;
}
0