結果
| 問題 |
No.1291 小手調べ
|
| コンテスト | |
| ユーザー |
keisuke6
|
| 提出日時 | 2022-08-15 23:08:26 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 294 bytes |
| コンパイル時間 | 2,141 ms |
| コンパイル使用メモリ | 193,164 KB |
| 最終ジャッジ日時 | 2025-01-30 22:58:47 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 3 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int N;
cin>>N;
for(int i=0;i<N;i++){
int n;
cin>>n;
if(n == 1){
cout<<10<<endl;
return 0;
}
for(int j=0;j<n;j++) cout<<(j == 0)*9;
cout<<endl;
}
}
keisuke6