| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 154356 | 姚旭鸿 | 12奇数和与偶数和 | C++ | Wrong Answer | 1 MS | 268 KB | 291 | 2026-05-30 13:27:12 |
#include<bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b; for(int i=a;i<=b;i++) { if(a%2==0) { cout<<a+i; } else { cout<<a+i; } } return 0; }
------Input------
5 103
------Answer-----
2646 2700
------Your output-----
101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108