| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 323806 | 丁虞轩 | 【C3-T】求整数段和 | C++ | Wrong Answer | 0 | 4 MS | 252 KB | 226 | 2025-05-23 18:46:48 |
#include<iostream> using namespace std; int main(){ int a,b,Sum=0,j=0; cin>>a>>b; for(int i=a;i<=b;i++){ cout<<i<<" "; Sum+=i; j+=1; if(j%5==0)cout<<endl; } cout<<endl<<"Sum"<<"="<<Sum; return 0; }