正文
增加 17 行删除 17 行
18 行未改动19202122232425262728293031323334353637383940414217 行未改动60616263646566676823 行未改动9293949596979899100149 行未改动全部展开2502512522532542552562572589 行未改动268269270271272273274275276151 行未改动全部展开18 行未改动bool tab[N + 10][N + 10];int len[N + 10], n;namespace CL{string Reserved_word[48] = {"asm", "double", "new", "switch","auto", "else", "operator", "template","break", "enum", "private", "this","case", "extern", "protected", "throw","catch", "float", "public", "try","char", "for", "register", "typedef","class", "friend", "return", "union","const", "goto", "short", "unsigned","continue", "if", "signed", "virtual","default", "inline", "sizeof", "void","delete", "int", "static", "volatile","do", "long", "struct", "while"};char Symbol[24] = {'~', '!', '%', '^', '&', '*', '(', ')', '-', '=','+', '[', ']', '{', '}', '|', ';', ':', '<', '>',',', '.', '?', '/'};inline int check_RW(int x, int y, int z){for(int i = 0; i < 48; i++){17 行未改动}}inline void print(){color(15);int flag__ = 0, flag___ = 0;for(int i = 0; i <= n; i++){int flag = a[i][0][1] == '#';int flag1 = 0, flag2 = 0;int flag_ = 0;23 行未改动flag2 ^= 1;if((flag1 || flag2) && !flag)color(10);if(!flag && !flag1 && !flag2){//输出keywordif(CL::check_RW(i, j, 1) != -1){gotoxy(i, j);int val = CL::check_RW(i, j, 1);color(14);149 行未改动全部展开if(tab[nowx][nowy + 1])nowy += 2;if(tab[nowx][nowy])nowy++;}inline int main(){while(1){if(_kbhit()){int ch = getch();9 行未改动if(tab[nowx][nowy])nowy -= 3;break;}case 0x48:{//方向键(↑)if(nowx){nowx--;nowy = min(nowy, len[nowx]);}151 行未改动全部展开18 行未改动19202122232425262728293031323334353637383940414217 行未改动60616263646566676823 行未改动9293949596979899100149 行未改动全部展开2502512522532542552562572589 行未改动268269270271272273274275276151 行未改动全部展开18 行未改动bool tab[N + 10][N + 10];int len[N + 10], n;namespace CL{string Reserved_word[48] = {"asm", "double", "new", "switch","auto", "else", "operator", "template","break", "enum", "private", "this","case", "extern", "protected", "throw","catch", "float", "public", "try","char", "for", "register", "typedef","class", "friend", "return", "union","const", "goto", "short", "unsigned","continue", "if", "signed", "virtual","default", "inline", "sizeof", "void","delete", "int", "static", "volatile","do", "long", "struct", "while"};char Symbol[24] = {'~', '!', '%', '^', '&', '*', '(', ')', '-', '=','+', '[', ']', '{', '}', '|', ';', ':', '<', '>',',', '.', '?', '/'};inline int check_RW(int x, int y, int z){for(int i = 0; i < 48; i++){17 行未改动}}inline void print(){color(15);int flag__ = 0, flag___ = 0;for(int i = 0; i <= n; i++){int flag = a[i][0][1] == '#';int flag1 = 0, flag2 = 0;int flag_ = 0;23 行未改动flag2 ^= 1;if((flag1 || flag2) && !flag)color(10);if(!flag && !flag1 && !flag2){//输出keywordif(CL::check_RW(i, j, 1) != -1){gotoxy(i, j);int val = CL::check_RW(i, j, 1);color(14);149 行未改动全部展开if(tab[nowx][nowy + 1])nowy += 2;if(tab[nowx][nowy])nowy++;}inline int main(){while(1){if(_kbhit()){int ch = getch();9 行未改动if(tab[nowx][nowy])nowy -= 3;break;}case 0x48:{//方向键(↑)if(nowx){nowx--;nowy = min(nowy, len[nowx]);}151 行未改动全部展开