摘要:
Trung is bored with his mathematics homeworks. He takes a piece of chalk and starts writing a sequence ... 阅读全文
摘要:
题解:已知元素组成求解相对分子量,单个元素最多只有两位数两层if判断就可以了#includeusing namespace std;typedef long long ll;const int n=256;c... 阅读全文
摘要:
Table of Contents题目描述输入输出格式输入输出样例说明题目描述虽然Miss Medusa到了北京,领了科技创新奖,但是他还是觉得不满意。原因是,他发现很多人都和他一样获了科技创新奖,特别是其中... 阅读全文
摘要:
time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou... 阅读全文
摘要:
http://codeforces.com/contest/1108/problem/A题解:一段数轴上四个点,l1,r1,l2,r2,分别在l1,r1取一点,在l2,r2中取一点#include using... 阅读全文
摘要:
每个数字加上其各位数字之和会得到一个数字,现在已知这个最后加得的数字求原数字存表,查表https://cn.vjudge.net/problem/UVA-1583#include#include#includ... 阅读全文
摘要:
Problem StatementBob is a pirate looking for the greatest treasure the world has ever seen. The treasure... 阅读全文
摘要:
我们城市最高的建筑只有一部电梯。请求列表由N个正数组成。数字表示电梯将以指定顺序停在哪些楼层。将电梯向上移动一层需要6秒钟,向下移动一层楼需要4秒钟。电梯将在每个站点停留5秒钟。 对于给定的请求列表,您将计算... 阅读全文