結果
問題 | No.1291 小手調べ |
ユーザー |
|
提出日時 | 2020-11-20 21:27:01 |
言語 | C++17(clang Beta) (clang 13.0.0 + boost 1.78.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 505 bytes |
コンパイル時間 | 772 ms |
使用メモリ | 9,828 KB |
最終ジャッジ日時 | 2023-02-23 17:54:27 |
合計ジャッジ時間 | 1,891 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
テストケース
テストケース表示入力 | 結果 | 実行時間 使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
7,688 KB |
testcase_01 | AC | 2 ms
7,700 KB |
testcase_02 | AC | 2 ms
9,828 KB |
testcase_03 | AC | 2 ms
7,712 KB |
testcase_04 | AC | 1 ms
7,764 KB |
ソースコード
#include <algorithm> #include <cmath> #include <cstdio> #include <functional> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; using ll = long long; int main() { int n; cin >> n; while(n--) { int d; cin >> d; d--; if(d == 0) { cout << 10 << '\n'; } else { cout << 9; while(d--) { cout << 0; } cout << '\n'; } } return 0; }