Run ID:115752
提交时间:2025-04-04 10:33:52
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,t,sum=0; cin>>n>>m; for(int i=n;i<=m;i++){ t=i; while(t>0){ if(t%10==4 || t%100==62){ sum++; } t=t/10; } } cout<<m-n+2-sum; return 0; }