摘要: 你有一个破损的键盘。键盘上的所有键都可以正常工作,但有时Home键或者End键会自动按下。你并不知道键盘存在这一问题,而是专心打稿子,甚至连显示器都没打开。当你打开显示器之后,展现在你面前的是一段悲剧文本。 输入 输入只有一行,即这份文件,这份文件只包含小写字母和'['以及']',"["表示HOME 阅读全文
posted @ 2018-05-12 12:52 oleolema 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1 #include"iostream" 2 #include"windows.h" 3 #include"time.h" 4 using namespace std; 5 6 //gotoxy() x是第x列,y是第y行 7 void gotoxy(int x, int y) //goto语句 8 { 9 COORD pos; 10 ... 阅读全文
posted @ 2018-05-12 12:49 oleolema 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 1 #include"iostream" 2 #include"windows.h" 3 using namespace std; 4 5 class Piece{ 6 private: 7 int *p; 8 int n; 9 public: 10 static int count; 11 static char **m... 阅读全文
posted @ 2018-05-12 12:47 oleolema 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 1 #include"iostream" 2 #include"string" 3 #include"stack" 4 using namespace std; 5 typedef string element; 6 struct ArcNode{ //边结点 7 int weight; 8 int adjuex; 9 A... 阅读全文
posted @ 2018-05-12 01:25 oleolema 阅读(186) 评论(0) 推荐(0) 编辑