結果
問題 | No.1291 小手調べ |
ユーザー | 👑 Nachia |
提出日時 | 2020-11-20 21:22:07 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 2,000 ms |
コード長 | 298 bytes |
コンパイル時間 | 2,786 ms |
コンパイル使用メモリ | 193,536 KB |
最終ジャッジ日時 | 2025-01-16 02:01:53 |
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 4 |
ソースコード
#include<bits/stdc++.h> using namespace std; using LL=long long; using ULL=unsigned long long; #define rep(i,n) for(int i=0;i<(n);i++) int main(){ int N; cin>>N; while(N--){ int d; cin>>d; if(d==1) cout<<10<<endl; else{ cout<<"9"; cout<<string(d-1,'0')<<endl; } } return 0; }