#include #include #define BUFSIZE 30 int main(void) { int t,i,j,num; char s[BUFSIZE]; scanf("%d",&t); for(i=0;i