Online Judge
Toggle navigation
C++题库系统 OJ
首页
问题列表
状态
排行榜
登录
首页
状态
113047
Run ID
作者
问题
语言
测评结果
Time
Memory
代码长度
提交时间
113047
郝宸菲
13分苹果
C++
Accepted
1 MS
268 KB
123
2025-03-15 11:24:35
Tests(10/10):
Code:
#include<iostream> using namespace std; int main(){ int n; cin>>n; cout<<n*(n+1)/2; return 0; }