Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148194 张晓冉 猜数字 C++ Compile Error 0 MS 0 KB 471 2026-02-09 21:06:47

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int c; cin>>c; while(c--){ int a,b,c_val; cin>>a>>b>>c_val; bool found = false; for(int x = 1000;x <= 9999;x++){ if(x%a == 0 && (x-1)%b == 0 && (x+2)%c_val == 0){ cout<<x<<endl; found = true; break; } } if(!found){ COUT<<"ipossible"<<endl; } } return 0 }


Run Info:

Main.cc: In function 'int main()':
Main.cc:18:9: error: 'COUT' was not declared in this scope
         COUT<<"ipossible"<