結果
| 問題 | No.1291 小手調べ | 
| コンテスト | |
| ユーザー |  hitonanode | 
| 提出日時 | 2020-11-20 23:11:49 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 300 bytes | 
| コンパイル時間 | 684 ms | 
| コンパイル使用メモリ | 66,304 KB | 
| 最終ジャッジ日時 | 2025-01-16 03:11:51 | 
| ジャッジサーバーID (参考情報) | judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 4 | 
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main()
{
    cin.tie(nullptr), ios::sync_with_stdio(false);
    int T;
    cin >> T;
    while (T--) {
        int N;
        cin >> N;
        if (N == 1) cout << "10\n";
        else cout << '9' << string(N - 1, '0') << '\n';
    }
}
            
            
            
        