竞赛
考级
#include <iostream> using namespace std; int main(){ int n; cin>>n; cout<<(1+n)*n/2<<endl; return 0; }
共41条
提交答案之后,这里将显示提交结果~