結果
| 問題 |
No.1291 小手調べ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-20 21:25:28 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 813 bytes |
| コンパイル時間 | 1,585 ms |
| コンパイル使用メモリ | 167,384 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-23 12:37:07 |
| 合計ジャッジ時間 | 1,985 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 3 |
ソースコード
#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');
}
cout<<s<<endl;
}
return 0;
}