题目链接:https://pintia.cn/problem-sets/994805260223102976/problems/994805273883951104
1 #include <math.h> 2 #include <stdio.h> 3 4 char hand[10][5],eye[10][5],mouse[10][5]; 5 6 int get_symbol(char p[][5]) //返回符号数 7 { 8 char c,i=0,j=0; 9 while( (c=getchar()) !=' ') 10 { 11 if( c == '[')//进入 12 { 13 while( (c=getchar()) != ']' )//退出 14 { 15 if(c == ' ') //读取到换行符返回 16 return (i-1); 17 p[i][j] = c; 18 j++; 19 20 } 21 p[i][j] = '