| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 71187 | sh25_wangsj | 含k个3的数 | C++ | Accepted | 0 MS | 248 KB | 333 | 2025-10-24 15:44:42 |
#include <iostream> using namespace std; int main() { int a,b,c,d,e=0; cin>>a>>b; c=a; while(c!=0){ d=c%10; c=(c-d)/10; if(d==3){ e=e+1; } } if(a%19==0&&b==e){ cout<<"YES"; } else{ cout<<"NO"; } return 0; }