Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
146930 王晏林 消消乐 C++ Compile Error 0 MS 0 KB 209 2026-02-01 12:13:58

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int ge,shi,bai,i; for(i=100;i<1000;i++){ bai=i/100; shi=(i/10)%10; ge=i%10; if(b==s&&s==y){ cout<<i<<" "; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:6: error: 'b' was not declared in this scope
   if(b==s&&s==y){
      ^
Main.cc:9:9: error: 's' was not declared in this scope
   if(b==s&&s==y){
         ^
Main.cc:9:15: error: 'y' was not declared in this scope
   if(b==s&&s==y){
               ^
Main.cc:13:1: error: expected '}' at end of input
 }
 ^