| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 17585 | lulu | 求和 | C++ | Accepted | 0 MS | 244 KB | 161 | 2023-05-14 17:33:18 |
#include<bits/stdc++.h> using namespace std; int main() { int N; cin>>N; int cnt=0; for(int i=1;i<=N;i++){ cnt+=i; } cout<<cnt; return 0; }