Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79140 刘慕莀 满足条件的数 C++ Compile Error 0 MS 0 KB 196 2024-06-30 14:13:41

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ inta,b,c,x=2; cin>>a>>b>>c; while(2>1){ if(a/x==0,b/x==0&&b/x==0,c/x==0){ cout<<x; } x++; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:2: error: 'inta' was not declared in this scope
  inta,b,c,x=2;
  ^
Main.cc:4:7: error: 'b' was not declared in this scope
  inta,b,c,x=2;
       ^
Main.cc:4:9: error: 'c' was not declared in this scope
  inta,b,c,x=2;
         ^
Main.cc:4:11: error: 'x' was not declared in this scope
  inta,b,c,x=2;
           ^
Main.cc:5:7: error: 'a' was not declared in this scope
  cin>>a>>b>>c;
       ^