Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150084 孔声豪 满足条件的数II C++ Compile Error 0 MS 0 KB 299 2026-03-22 10:59:24

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int m,k,i,n; cin>>m>>k; if(m%19==0){ whlie(m!=0){ n=m%10; m/=10; if(n==3){ i++; } } } if(i==k)cout<<"YES"<<endl; else cout<<"NO"<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:16: error: 'whlie' was not declared in this scope
      whlie(m!=0){
                ^
Main.cc:4:14: warning: unused variable 'n' [-Wunused-variable]
    int m,k,i,n;
              ^