摘要:
#include #include char s[128] = {0};char stack[128] = {0};int stackFloorNum = 0;void push(char a){ stackFloorNum++; stack[stackFloorNum-1] = a; return; }void pop(){ stack[stackFloorNum-1] = 0; stackFloorNum--; return; }int match(char a, char b){ if((a== '(' && b == ')') || (a 阅读全文
摘要:
1 #include 2 #include 3 4 char tortName[200][80] = {{0}}; 5 char tortSort[200][80] = {{0}}; 6 7 int find(int x) 8 { 9 int i = 0;10 11 for(i = 0; i p1)52 {53 firstMove = tortNum-1-j;54 break;55 }56 p1 = p2;57 ... 阅读全文