上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 38 下一页
摘要: Drazil and His Happy Friends CodeForces - 515B Drazil有很多朋友,他们中有些人是快乐的,有些人是不快乐的。 Drazil想让他的朋友变得快乐。于是,他发明了以下的计划。 在他的朋友中,有n个男孩和m个女孩。我们把男孩从0到n-1编号,女孩从0到m- 阅读全文
posted @ 2019-03-29 21:27 yccdu 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Little Pigs and Wolves CodeForces - 116B Once upon a time there were several little pigs and several wolves on a two-dimensional grid of size n × m. E 阅读全文
posted @ 2019-03-29 21:24 yccdu 阅读(248) 评论(0) 推荐(0) 编辑
摘要: K-special Tables CodeForces - 625C 人们经常做一些疯狂的事来凸显自己。有的人跳舞,有的人撩妹,有的人立志成为顶级程序猿(例如某peng),还有的人喜欢收集有趣的数学对象 Alice对上面的东西都很喜欢。现在她想要得到一张k-特殊表。一个大小为n*n的特殊表需要满足一 阅读全文
posted @ 2019-03-28 20:55 yccdu 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Tetrahedron CodeForces - 166E You are given a tetrahedron. Let's mark its vertices with letters A, B, C and Dcorrespondingly. An ant is standing in th 阅读全文
posted @ 2019-03-28 20:40 yccdu 阅读(330) 评论(0) 推荐(0) 编辑
摘要: The Fibonacci Segment CodeForces - 365B You have array a1, a2, ..., an. Segment [l, r] (1 ≤ l ≤ r ≤ n) is good if ai = ai - 1 + ai - 2, for all i (l + 阅读全文
posted @ 2019-03-28 20:27 yccdu 阅读(190) 评论(0) 推荐(0) 编辑
摘要: More Cowbell CodeForces - 604B Kevin Sun wants to move his precious collection of n cowbells from Naperthrill to Exeter, where there is actually grass 阅读全文
posted @ 2019-03-27 21:57 yccdu 阅读(259) 评论(0) 推荐(0) 编辑
摘要: The Time CodeForces - 622B 给你当前的时间(24小时制):HH:MM。输出 x 分钟后的时间是多少?(24小时制) 不明白可以看看例子哦~ Input 第一行给出了当前时间,格式为: HH:MM (0 ≤ HH < 24, 0 ≤ MM < 60). 小时和分钟都给了两位数 阅读全文
posted @ 2019-03-27 21:54 yccdu 阅读(205) 评论(0) 推荐(0) 编辑
摘要: They Are Everywhere CodeForces - 701C 大B,年轻的口袋妖怪训练师,找到了一个由 n 间从左向右的房间组成的大房子。你可以从街道里走入任何一间房子,也可以从任何一间房子走到街道上。同时,你也可以从左边的一个房间走向右边的房间。房间 1 只和房间2相连 2 并且房间 阅读全文
posted @ 2019-03-27 21:42 yccdu 阅读(201) 评论(0) 推荐(0) 编辑
摘要: The Child and Toy CodeForces - 437C On Children's Day, the child got a toy from Delayyy as a present. However, the child is so naughty that he can't w 阅读全文
posted @ 2019-03-24 22:15 yccdu 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Tanya and Postcard CodeForces - 518B 有个小女孩决定给他的爸爸寄明信片。她已经想好了一句话(即长度为n的字符串s),包括大写和小写英文字母。但是他不会写字,所以她决定将报纸里的字母剪下来贴到明信片上,最好能够把字符串s拼凑出来。报纸里包含字符串t,包括大写和小写英 阅读全文
posted @ 2019-03-24 21:10 yccdu 阅读(215) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 38 下一页