Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which means it moves back to the or ...
分类:
其他好文 时间:
2017-10-17 16:37:59
阅读次数:
172
Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of ...
问题描述 小C非常热衷于挑战自我,国庆假期他准备骑着自行车从福州前往成都再沿川藏线前往拉萨。川藏线的沿途有着非常美丽的风景,但在这一路上也有着很多的艰难险阻,路况变化多端,而小C的体力十分有限,因此在每天的骑行前设定好目的地、同时合理分配好自己的体力是一件非常重要的事情。 可供小C选择的道路构成了一 ...
分类:
其他好文 时间:
2017-10-17 10:02:47
阅读次数:
142
Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which means it moves back to the or ...
分类:
其他好文 时间:
2017-10-13 19:09:45
阅读次数:
137
T1 临江仙 旧梦 题目背景 闻道故园花陌,今年奼紫嫣红。扬帆直渡水千重。东君何解意,送我一江风。 还是昔时庭院,终得醉卧花丛。残更惊醒月明中。流光如旧岁,多少梦成空。 题目描述 #define goodcatdog gcd #define important i #define judge j 神 ...
分类:
其他好文 时间:
2017-10-12 20:27:37
阅读次数:
183
一.程序设计思想。 该程序我写了俩个类,分别是game类和Guess_number类,game类用于写各种操作,首先写一个start_game函数,用于提示玩家开始游戏,然后用judge函数进行判断,cycle_game1和cycle_game2分别用于循环输入数字和提示玩家是否继续游戏。用构造函数 ...
分类:
其他好文 时间:
2017-10-10 14:38:10
阅读次数:
175
F题:quadratic equation 时间限制: 2 秒 内存限制: 128 MB | 提交: 277 解决: 44 题目描述 With given integers a,b,c, you are asked to judge whether the following statement i ...
分类:
其他好文 时间:
2017-10-06 15:27:40
阅读次数:
213
题目: Ants Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 6852 Accepted: 2153 Special Judge Description Young naturalist Bill studies ants i ...
分类:
其他好文 时间:
2017-10-05 17:19:38
阅读次数:
197
Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. Example 1: Example 2: Note: s ...
分类:
其他好文 时间:
2017-10-02 09:31:27
阅读次数:
163
传送门 Description You have 4 cards each containing a number from 1 to 9. You need to judge whether they could operated through *, /, +, -, (, )to get th ...
分类:
其他好文 时间:
2017-09-30 16:22:59
阅读次数:
218