【Codeforces Round #695 (Div. 2) A】Wizard of Orz
of Codeforces div round
2023-09-14 09:03:41 时间
题目链接
翻译
translation
题解
98901234....
写题解的时候才发现题目名字里有个ORZ
代码
/*
*/
#include <bits/stdc++.h>
using namespace std;
int main(){
#ifdef LOCAL_DEFINE
freopen("in.txt", "r", stdin);
#endif
ios::sync_with_stdio(0),cin.tie(0);
int T;
cin >> T;
while (T--){
int n;
cin >> n;
if (n == 1){
cout << 9 << endl;
}else{
cout << 9;
int cur = 8;
for (int i = 2;i <= n; i++){
cout << cur%10;
cur++;
}
cout<<endl;
}
}
return 0;
}
相关文章
- 154页微软GPT研究报告(全中文版) 《通用人工智能火花:GPT-4早期试验(Sparks of Artifificial General...)》
- ORA-26571: string.string.string: number of arguments (string) does not match replication catalog ORACLE 报错 故障修复 远程处理
- ORA-41714: invalid use of window specification with SESSION/TRANSACTION duration ORACLE 报错 故障修复 远程处理
- ORA-01083: value of parameter “string” is inconsistent with that of other instances ORACLE 报错 故障修复 远程处理
- ORA-09909: Malloc of scratch buffer failed. ORACLE 报错 故障修复 远程处理
- MySQL:Unlock the Potential of Your Databases!(mysqlpdb)
- Introducing B85 Linux: The Next Generation of Computing(b85linux)
- Embedded Linux: The Power of Wang Dongshan(嵌入式linux韦东山)
- Exploring the Advantages of FC Storage for Linux Environments(linuxfc存储)