Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
149448 赖泓宇 13分苹果 C++ Accepted 1 MS 272 KB 154 2026-03-13 18:07:03

Tests(10/10):


Code:

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