Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
439359 陈梓霖 【C2-2】奇数求和 C++ 解答错误 33 2 MS 248 KB 156 2026-05-07 16:19:35

Tests(1/3):


#include<bits/stdc++.h> using namespace std; int main(){ int n,m,s=0; cin>>m>>n; for(int i=m;i<=n;i+=2){ s+=i; } cout<<s; return 0; }


测评信息: