結果
| 問題 | No.1291 小手調べ | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2020-11-20 21:29:35 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 846 bytes | 
| コンパイル時間 | 1,501 ms | 
| コンパイル使用メモリ | 168,836 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-23 12:39:53 | 
| 合計ジャッジ時間 | 1,920 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 4 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
//#include <atcoder/all>
//using namespace atcoder;
template <typename T> bool chmax(T &u, const T z) { if (u < z) {u = z; return true;} else return false; }
template <typename T> bool chmin(T &u, const T z) { if (u > z) {u = z; return true;} else return false; }
#define ll long long
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
//#define endl "\n"
typedef pair<ll, ll> P;
const ll INF = 1e18;
//using mint = modint1000000007;
//using mint = modint998244353;
//const int INF=INT_MAX;
ll gcd(ll x, ll y) { return y ? gcd(y, x % y) : x; }
ll lcm(ll a, ll b){return a * b / gcd(a, b);}
int main(){
  int t;
  cin>>t;
  rep(i,t){
    int n;
    cin>>n;
    string s="9";
    for(int i=1;i<n;i++){
      s.push_back('0');
    }
    if(n==1)cout<<10<<endl;
    else cout<<s<<endl;
  }
  return 0;
}
            
            
            
        