Online Judge
Toggle navigation
C++题库系统 OJ
首页
问题列表
状态
排行榜
登录
首页
状态
76367
Run ID
作者
问题
语言
测评结果
Time
Memory
代码长度
提交时间
76367
田苒彤
13分苹果
C++
Accepted
1 MS
276 KB
122
2024-06-02 13:54:47
Tests(10/10):
Code:
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; cout<<(1+n)*n/2; return 0; }