// #include <bits/stdc++.h> // using namespace std; // int main() { // int n,x; // cin>>n>>x; // int count=0; // for(int i=1;i<=n;i++){ // int x0=i; // while(x0!=0){ // if(x0%10==x){ // count+=1; // } // x0/=10; // } // } // cout<<count; // } #include <bits/stdc++.h>...