#include<stdio.h>
int main(){
int i,max;
char str[101];
while(scanf("%s",str)!=EOF){
i = 0;
max = -1;
while(str[i] != '\0'){
max = max > str[i] ? max : str[i];
i++;
}
i = 0;
while(str[i] != '\0'){
printf("%c",str[i]);
if(str[i] == max) printf("(max)");
i++;
}
printf("\n");
}
return 0;
}
hdoj_2025
最新推荐文章于 2020-05-10 00:56:08 发布