Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69063 苏馨怡 13分苹果 C++ Accepted 1 MS 272 KB 149 2024-03-30 14:22:26

Tests(10/10):


Code:

#include <iostream> using namespace std; int main() { int n, s = 0; cin >> n; for (int i = 1; i <= n; i++) { s += i; } cout << s; }