| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 123007 | 王镜铭 | 12奇数和与偶数和 | C++ | Wrong Answer | 1 MS | 272 KB | 255 | 2025-06-22 13:19:13 |
#include<bits/stdc++.h> using namespace std; int main() { int a, b, c, d; cin >> a >> b; for (int e = 0; e <= a - b; e++) { if (d % 2 == 0) { c += e; } if (d % 2 == 1) { d += c; } } cout << c << " " << d; return 0; }
------Input------
5 103
------Answer-----
2646 2700
------Your output-----
8032280 4195064