Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
4282 黄宜洋 13分苹果 C++ Accepted 0 MS 260 KB 185 2024-08-15 16:03:56

Tests(10/10):


Code:

#include <list> #include <iostream> int main(){ int n,s=0; scanf("%d",&n); for(int i=1;i<=n;i++){ s=i+s; } printf("%d",s); return 0; }