| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 76582 | 刘泽熙 | 13奇数和与偶数和 | C++ | Compile Error | 0 MS | 0 KB | 202 | 2024-06-02 15:24:58 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,sum=0,com=1,ou,ji; cin>>n; for(int i=1;i<=n;i++){ if(i%2==0){ ou=ou+i; }else{ ji=ji+i; } } coutji<<" "<<ou; }
Main.cc: In function 'int main()': Main.cc:13:2: error: 'coutji' was not declared in this scope coutji<<" "<