题源
题解
#include<iostream>
using namespace std;
int M,N,A,B,num,t;
int map[500][500];
int main(){
scanf("%d %d %d %d %d",&M,&N,&A,&B,&num);
for(int i=0;i<M;i++){
for(int j=0;j<N;j++){
scanf("%d",&t);
if(A<=t&&t<=B)map[M][N] = num;
else map[M][N] = t;
if(j != 0)cout << " ";
printf("%03d",map[M][N]);
}
printf("\n");
}
return 0;
}