Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
141277 郑雨心 13分苹果 C++ Accepted 0 MS 272 KB 166 2025-12-21 19:07:45

Tests(10/10):


Code:

#include <iostream> using namespace std; int main() { int n; cin >> n; int result = n * (n + 1) / 2; cout << result << endl; return 0; }