11月6日寒假训练赛
时雨绮罗
这个作者很懒,什么都没留下…
展开
-
11月16日训练赛A
A Comrade Dujikov is busy choosing artists for Timofey’s birthday and is recieving calls from Taymyr from Ilia-alpinist. Ilia-alpinist calls every n minutes, i.e. in minutes n, 2n, 3n and so on. Artis...原创 2019-01-18 21:03:33 · 242 阅读 · 0 评论 -
11月16日训练赛B
B Young Timofey has a birthday today! He got kit of n cubes as a birthday present from his parents. Every cube has a number ai, which is written on it. Timofey put all the cubes in a row and went to u...原创 2019-01-18 21:09:24 · 118 阅读 · 0 评论 -
11月6日训练赛D
D 在一个国家仅有1分,2分,3分硬币,将钱N兑换成硬币有很多种兑法。请你编程序计算出共有多少种兑法。 代码一: #include<iostream> #include<cstdio> using namespace std; int main() { int money; int i,j,k; while(cin>>money) {int n=0; ...转载 2019-01-18 21:33:25 · 127 阅读 · 0 评论 -
11月16日训练赛E
E Mahmoud has n line segments, the i-th of them has length ai. Ehab challenged him to use exactly 3 line segments to form a non-degenerate triangle. Mahmoud doesn’t accept challenges unless he is sure...原创 2019-01-18 21:37:08 · 113 阅读 · 0 评论