結果
| 問題 |
No.1291 小手調べ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-30 08:46:40 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 381 bytes |
| コンパイル時間 | 802 ms |
| コンパイル使用メモリ | 65,536 KB |
| 最終ジャッジ日時 | 2025-01-16 10:21:15 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 |
ソースコード
#line 1 "main.cpp"
#include <iostream>
using namespace std;
void solve() {
int n;
cin >> n;
if (n == 1) {
cout << 10 << "\n";
return;
}
cout << 9;
--n;
while (n--) cout << 0;
cout << "\n";
}
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
int q;
cin >> q;
while (q--) solve();
return 0;
}