60分求解
查看原帖
60分求解
1063628
eee2010楼主2023/8/14 19:35
#include<bits/stdc++.h>
using namespace std;

unsigned long long s;
unsigned long long n;
int t[3];
int main(){
	cin>>n;
	for(int i=1;i<=n;i++){
		s=t[1]+i;
		t[1]=s;
		cout<<s<<endl;
	}
	
	
	
	return 0;
} 
2023/8/14 19:35
加载中...