打印沙漏

# include<stdio.h> # include<string.h> # include<algorithm> using namespace std; int a[120]; int main(){ int T; scanf("%d",&T); while(T--){ int t=1; for(int i=1;i<=100;i++){ a[i]=t; t=t+2; }
相關文章
相關標籤/搜索