結果
| 問題 |
No.1291 小手調べ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-20 22:13:43 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 299 bytes |
| コンパイル時間 | 550 ms |
| コンパイル使用メモリ | 67,788 KB |
| 最終ジャッジ日時 | 2025-01-16 02:27:22 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 3 |
ソースコード
#include<iostream>
#include<string>
using namespace std;
int main(){
int n;
cin >> n;
for(int i=0;i < n;i++){
int d;
cin >> d;
string ans = "9";
for(int j=1;j < d;j++){
ans += '0';
}
cout << ans << endl;
}
return 0;
}