結果
問題 | No.1291 小手調べ |
ユーザー |
![]() |
提出日時 | 2020-11-20 22:11:36 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 351 bytes |
コンパイル時間 | 1,683 ms |
コンパイル使用メモリ | 192,980 KB |
最終ジャッジ日時 | 2025-01-16 02:25:36 |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 4 |
ソースコード
#define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; #include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; rep(i,n){ int m; cin>>m; if(m==1){ cout<<10<<endl; continue; } cout<<9; rep(j,m-1) cout<<0; cout<<endl; } return 0; }