Run ID:122410
提交时间:2025-06-15 20:45:18
#include<iostream> using namespace std; int main() { int m, k, n, b, i; cin >> m >> k; n = m; i = 0; while (n>=1) { b = n % 10; if (b==3) { i++; } n /= 10; } if (m % 19 == 0 && i == k) cout << "YES"; else cout << "NO"; return 0; }