| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150089 | 曾钰涵 | 满足条件的数II | C++ | Compile Error | 0 MS | 0 KB | 293 | 2026-03-22 11:03:35 |
#include<iostream> using namespace std; int main(){ int m,k,n=0,v; cin>>m>>k; if(m%19==0){ while(m!=0){ v=m%10; m=m/10; if(v==3)n++; } } if(n=k)cout<<"Yes"<<endl; else cuut<<"No"<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:13:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(n=k)cout<<"Yes"<