上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 38 下一页
摘要: DZY Loves Chessboard CodeForces - 445A DZY 喜欢棋盘,他很享受棋盘上的游戏。 他有一个 n 行和 m 列的棋盘。棋盘上的某些单元格是坏的位置,其他的是好的位置。对于每个好位置的单元格,DZY 希望在上面放一枚棋子。每枚棋子要么是白色的,要么是黑色的。在放置了 阅读全文
posted @ 2019-03-22 19:32 yccdu 阅读(253) 评论(0) 推荐(0) 编辑
摘要: Valera and Plates CodeForces - 369A Valera is a lazy student. He has m clean bowls and k clean plates. Valera has made an eating plan for the next n d 阅读全文
posted @ 2019-03-22 19:29 yccdu 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Books CodeForces - 279B When Valera has got some free time, he goes to the library to read some books. Today he's got t free minutes to read. That's w 阅读全文
posted @ 2019-03-22 19:27 yccdu 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Lucky Ticket CodeForces - 146A Petya loves lucky numbers very much. Everybody knows that lucky numbers are positive integers whose decimal record cont 阅读全文
posted @ 2019-03-22 19:26 yccdu 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Shortest path of the king CodeForces - 3A 棋盘上的国王被单独放置。尽管他是孤独的,但并未伤心,因为他有事关全局的重要性。例如,他必须正式访问方格 t 。由于国王不习惯于浪费自己的时间,因此他想用最小的移动步数,从自己的当前位置 s 抵达方格 t 。请帮助他达 阅读全文
posted @ 2019-03-22 19:23 yccdu 阅读(309) 评论(0) 推荐(0) 编辑
摘要: P2698 [USACO12MAR]花盆Flowerpot 题目描述 Farmer John has been having trouble making his plants grow, and needs your help to water them properly. You are giv 阅读全文
posted @ 2019-03-22 17:48 yccdu 阅读(202) 评论(0) 推荐(0) 编辑
摘要: P2397 yyy loves Maths VI (mode) 题目背景 自动上次redbag用加法好好的刁难过了yyy同学以后,yyy十分愤怒.他还击给了redbag一题,但是这题他惊讶的发现自己居然也不会,所以只好找你 题目描述 udp2:第一题因为语言性质问题,比赛结束后将所有c/c++的程序 阅读全文
posted @ 2019-03-22 17:32 yccdu 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Circle Line CodeForces - 278A 郑州地铁的圆线有n个车站。 我们知道所有邻近站点之间的距离: d[1]是第1站和第2站之间的距离;d[2]是第2站和第3站之间的距离;… d[n - 1]是第n-1和第n个站之间的距离;d[n]是第n个站和第1个站之间的距离。列车沿着两个方 阅读全文
posted @ 2019-03-21 22:12 yccdu 阅读(281) 评论(1) 推荐(1) 编辑
摘要: Way Too Long Words CodeForces - 71A XUPT_ACM的杨队是一个强迫症晚期的大神,他特别反感长单词,就像 "localization" 和"internationalization" 。 于是睿智的杨队想出了一个方法来节约写单词的时间, 如果单词的长度严格大于10 阅读全文
posted @ 2019-03-21 21:56 yccdu 阅读(296) 评论(1) 推荐(1) 编辑
摘要: Watermelon CodeForces - 4A Qingyu有一个简单的问题想让你解决。 输入一个数,如果它是2,或者它是奇数,输出NO,否则输出YES。 很简单吧,因此你应该很快解决。 输入 输入只有一行,包含一个整数$n$ 输出 输出只有一行,包含YES或者NO 示例 输入:2 输出:NO 阅读全文
posted @ 2019-03-21 21:42 yccdu 阅读(236) 评论(1) 推荐(1) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 38 下一页