标签:iostream bsp led while mes 输入 spl gif str
2
1
2
1 4
1 #include<iostream> 2 using namespace std; 3 int main() 4 { 5 int t,n,v; 6 cin>>t; 7 while(t--) 8 { 9 int v=1,sum=0; 10 cin>>n; 11 for(int i=0;i<n;i++) 12 { 13 sum=(sum+v)%10000; 14 v=v+2; 15 } 16 cout << sum << endl; 17 } 18 return 0; 19 }
标签:iostream bsp led while mes 输入 spl gif str
原文地址:https://www.cnblogs.com/qing123tian/p/11107494.html