Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147440 孔声豪 神秘数字 C++ Compile Error 0 MS 0 KB 223 2026-02-05 11:09:37

Tests(0/0):


Code:

#include <iostream> using namespace std; int main(){ int a; cin>>a; while(1){ a++; if(b%3==2&&b%5==3&&b%7==2){ cout<<b<<endl; break; } } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:12: error: 'b' was not declared in this scope
         if(b%3==2&&b%5==3&&b%7==2){
            ^