Run ID:148814

提交时间:2026-03-01 15:37:04

#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; } return false; } int main() { int n,m,s=0; cin>>n>>m; for(int i=n;i<=m;i++){ int t=i; if(tichu(t)){ continue; } s++; } cout<<s<<endl; return 0; }