| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5714 | C班-王硕 | 求偶数之和 | C++ | Compile Error | 0 | 0 MS | 0 KB | 204 | 2025-02-15 16:10:57 |
#include <iostream> using namespace std; int main(){ int n; int x = 0; cin>>n; for (int i = 1; i <= n; i++){ if(i % 2 == 0){ cout<<i<<endl; } } cout<<x += i<<endl; return 0 ; }