Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
64726 | laichihao | 【基础题】计算1+2+…+100的和 | C++ | Compile Error | 0 MS | 0 KB | 139 | 2025-04-25 15:44:25 |
#include<bits/stdc++.h> using namespace std; int main(){ int sum; for(int i=1;i<=100;i++) cnt+=i; cout<<cnt; return 0; }