Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
329399 | 孙一铭 | 【C1-3】求和 | C++ | Wrong Answer | 66 | 1 MS | 256 KB | 146 | 2025-07-08 09:52:06 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,s=0; cin>>n; for(int i=1;i<=n;i++){ s+=i; } cout<<s; return 0; }