摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 const int N=21; 8 void Get_xy(int x,int y) //定位光标位置 9 { 10 HANDLE hout; 11 COORD pos; 12 pos.X=x*2; 13 pos.Y=y; 14 hout=GetStdHandle(STD_OUTPUT_HANDLE); 15 SetConsoleCursorPosition(hou... 阅读全文
posted @ 2013-06-22 17:40 风儿-zsj 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #define N 50 4 HANDLE hConsole; 5 void gotoxy(int x, int y) 6 { 7 COORD coord; 8 coord.X = x; 9 coord.Y = y; 10 SetConsoleCursorPosition(hConsole, coord); 11 } 12 void main() 13 { 14 int i,j,k; 15 hConsole = GetStdHandle(STD_OUTPUT_... 阅读全文
posted @ 2013-06-22 17:24 风儿-zsj 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 1 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 map M; 9 int main()10 {11 int n,m,i,score;12 char name[40];13 scanf("%d",&n);14 while(n--)15 {16 M.clear();17 int sum=0;18 scanf("%d",&m);19 getchar();20 f... 阅读全文
posted @ 2013-06-22 17:10 风儿-zsj 阅读(153) 评论(0) 推荐(0) 编辑