//觉得自己在字符串上面的能力好弱啊 so sad
Sample Input
4
9#23-9-12-12#19-20-5-1-12#1-20#12-5-1-19-20#15-14-5#10-5-23-5-12
1-14-4#12-5-1-22-5#20-8-5#13-21-19-5-21-13#9-14#20#13-9-14-21-20-5-19
1-6-20-5-18#20-8-5#15-16-5-14-9-14-7#15-6#20-8-5#5-24-8-9-2-9-20-9-15-14
7-15-15-4#12-21-3-11
Sample Output
I WILL STEAL AT LEAST ONE JEWEL
AND LEAVE THE MUSEUM IN T MINUTES
AFTER THE OPENING OF THE EXHIBITION
GOOD LUCK
1 #include<stdio.h> 2 3 #include<string.h> 4 5 int main() 6 7 { 8 9 int t,i; 10 11 char a[10000]; 12 13 char s[10001]; 14 15 scanf("%d",&t); 16 17 while(t--) 18 19 { 20 21 scanf("%s",s); 22 23 int l=strlen(s); 24 25 for(i=0;i<l;i++) 26 27 { 28 29 int sum=0; 30 31 if(s[i]=='#') 32 33 { 34 35 printf(" "); 36 37 continue; 38 39 } 40 41 while(s[i]!='#'&&s[i]!='-'&&s[i]!='