本文最后更新于 2189 天前,其中的信息可能已经有所发展或是发生改变。
#include<iostream>
using namespace std;
int main(){
int count=0;
for(int a=1;a<10;a++){
for(int b=0;b<10;b++){
for(int c=0;c<10;c++){
for(int d=0;d<10;d++){
for(int e=0;e<10;e++){
if(a!=4&&b!=4&&c!=4&&d!=4&&e!=4){
count++;
}
}
}
}
}
}
cout<<count;
return 0;
}