摘要: Similar WordTime Limit 1000msMemory Limit 65536Kdescription It was a crummy day for Lur. He failed to pass to the CET-6 (College English Test Band-6). Looking back on how it was in last year gone by, he gradually noticed he had fled too many English Lessons. But he determines to memorize words on h. 阅读全文
posted @ 2013-05-05 20:38 剑不飞 阅读(241) 评论(0) 推荐(0)
摘要: Dart gameTime Limit 1000msMemory Limit 65536Kdescription Darts originated in Australia. Australia's aborigines initially for hunting and hit the enemy's weapon. A game of darts in which the players attempt to score points by throwing the darts at a target. Figure:DART BOARD Darts movement r. 阅读全文
posted @ 2013-05-05 20:02 剑不飞 阅读(200) 评论(0) 推荐(0)
摘要: #include #include #define N 50 HANDLE hConsole; void gotoxy(int x, int y) { COORD coord; coord.X = x; coord.Y = y; SetConsoleCursorPosition(hConsole, coord); } int main() { int i,j,k; hConsole = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleTextAttribute(hConsole, FOREGROUND_RED|FOREGROUND_BLU... 阅读全文
posted @ 2013-05-05 16:13 剑不飞 阅读(279) 评论(0) 推荐(0)
摘要: The minimum square sumTime Limit 1000msMemory Limit 65536Kdescription Given a prime p (p #include #include #include #include using namespace std; int main() { long long p; while (cin>>p) { if (p==2) cout << "2" << endl; else if((p-3)%4==0) cout << 2*p*p << end 阅读全文
posted @ 2013-05-05 14:36 剑不飞 阅读(279) 评论(0) 推荐(0)
摘要: Car race gameTime Limit 1000msMemory Limit 65536Kdescription Bob is a game programming specialist. In his new car race game, there are some racers(n means the amount of racers (1 output For each data set in the input print on a separate line, on the standard output, the integer that represe... 阅读全文
posted @ 2013-05-05 14:19 剑不飞 阅读(251) 评论(0) 推荐(0)