結果
問題 | No.1291 小手調べ |
ユーザー | spihill |
提出日時 | 2021-01-09 13:30:56 |
言語 | C++17 (gcc 13.2.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 220 bytes |
コンパイル時間 | 2,138 ms |
コンパイル使用メモリ | 198,264 KB |
実行使用メモリ | 4,388 KB |
最終ジャッジ日時 | 2023-08-11 03:55:49 |
合計ジャッジ時間 | 2,824 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,380 KB |
testcase_01 | AC | 2 ms
4,380 KB |
testcase_02 | AC | 2 ms
4,380 KB |
testcase_03 | AC | 1 ms
4,384 KB |
testcase_04 | AC | 2 ms
4,388 KB |
ソースコード
#include<bits/stdc++.h> using namespace std; int main() { int Q; cin >> Q; while (Q--) { int N; cin >> N; if (N - 1) cout << 9 << string(N-1, '0') << endl; else cout << 10 << endl; } }