#include<ctype.h> int searchS(int *dp, int maxRoom, char ch) { for(int i = 0;i < maxRoom; i++) { if(dp[i] == ch) { return 1; } } return 0; } int searchC(char *s, int count, char ch) { for(int i = 0; i < count; i++) { if(s[i] == ch) { ...