#include<bits/stdc++.h>
using namespace std;
int a[] = {0,2,0,2,3};
int ans;
int main(){
for(int i = 12345678; i <= 98765432;i++){
int x = i,p = 4;
while(x){
int y = x % 10;
x /= 10;
if(y == a[p]) p--;
if(p == 0){
ans++;
break;
}
}
}
cout << 98765432 - 12345678 - ans + 1;
return 0;
}
0 回复
0 转发
0 喜欢
2 阅读



