CF1608A Find Array题解
binaryBard · · 题解
读题点这里
更好的阅读体验点这里
这就是一道大水题啊!
题目简述
给定一个整数
-
1 \le a_{i} \le 10^9 -
a_{1}<a_{2}<...<a_{n} -
思路分析
这道题目其实非常简单。
我们不难发现,当
如果你发现了其它方法,那当然很好,但是一定要注意
完整代码
#include <bits/stdc++.h>
using namespace std;
int t,n;
int main(){
cin>>t;
while(t--){
cin>>n;
for(int i=1;i<=n;i++){
cout<<i+1<<" ";
}
cout<<endl;
}
//system("pause");
return 0;
}
提交记录
点个赞,关注一下再走吧! QWQ