Run ID:148812
提交时间:2026-03-01 15:30:23
#include<bits/stdc++.h> using namespace std; bool tichu(int n){ while(n!=0){ if(n%10==4||n%100==62){ return true; } n/=10; } } int main() { int n,m,s=0; cin>>n>>m; for(int i=n;i<=m;i++){ if(tichu(i)){ continue; } s++; } cout<<s<<endl; return 0; }