Online Judge
Toggle navigation
C++题库系统 OJ
首页
问题列表
状态
排行榜
登录
首页
状态
164219
Run ID
作者
问题
语言
测评结果
Time
Memory
代码长度
提交时间
164219
王垚植
13分苹果
C++
Accepted
1 MS
276 KB
115
2026-11-01 13:52:46
Tests(10/10):
Code:
#include<iostream> using namespace std; int main(){ int n; cin>>n; cout<<(1+n)*n/2; return 0; }