Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
154800 陈君竹 12奇数和与偶数和 C++ Compile Error 0 MS 0 KB 187 2026-05-31 09:26:03

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:10: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
     for(0<=m<=n<=1000;q++){
          ^
Main.cc:7:16: warning: comparison of constant '1000' with boolean expression is always true [-Wbool-compare]
     for(0<=m<=n<=1000;q++){
                ^
Main.cc:7:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
     for(0<=m<=n<=1000;q++){
             ^
Main.cc:7:22: warning: statement has no effect [-Wunused-value]
     for(0<=m<=n<=1000;q++){
                      ^
Main.cc:7:26: error: expected ';' before ')' token
     for(0<=m<=n<=1000;q++){
                          ^
Main.cc:8:18: error: 'i' was not declared in this scope
         cout<