Run ID:125995
提交时间:2025-07-15 17:05:20
#include <iostream> using namespace std; int main(){ int n,m; cin>>n>>m; int sum=m-n+1; int k=0; for(int i=n;i<=m;i++){ int x=i; while(x>0){ if(x%10==4||x%100==62){ k++; break; } x=x/10; } cout<<sum-k; } return 0; }