UVa oj AOAPC Volume 1. Elementary Problem Solving String (三)

2014-11-23 23:11:47 · 作者: · 浏览: 32
3 { int t;
44
45 while (1){
46 scanf("%d",&t);
47 getchar ();
48 if (!t) break;
49 for (i=0;i 50 gets(before[i]);
51 gets(after[i]);
52 }
53 gets(juzi);
54 for (i=0;i 55
56 while ( (where=pipei())>-1 ){
57 // printf("pipeizai %d,%d\n",where,i);
58 strins();
59 continue;
60 }
61 }
62 puts(juzi);
63 }
64 //////////////////////////////////
65 // system("pause");
66 return 0;
67 }
68 心得体会:注意debug,自己试几组测试数据……


最后:几道题都不难……却耗费了我好几天,以后要加快进度提高自己了,不然老是拖队友的后腿!!!

作者“菜鸟的AC之路”