找规律
SlienceAccept
「箴言4:23」 你要保守你心,胜过保守一切,因为一生的果效,是由心发出。
展开
-
Parity check[山东省第八届ACM大学生程序设计竞赛]
题目链接 Problem Description Fascinated with the computer games, Gabriel even forgets to study. Now she needs to finish her homework, and there is an easy problem: f(n)= She is required to calculate f...原创 2018-04-13 20:27:34 · 210 阅读 · 0 评论 -
悼念512汶川大地震遇难同胞——重建希望小学
Problem Description 下面是512汶川大地震部分受灾学校伤亡情况(惨痛!!) 1、 四川省都江堰市 聚源中学 伤亡情况:遇难学生人数(含失踪)320 详细说明: 一栋教学楼被震垮,该楼18个班420多名学生被埋,截至目前仅有不到100名获救。 2、 四川省绵阳市 北川县北川中学 伤亡情况:遇难学生人数(含失踪)1200多人 详细说明:学校教室损毁情况严重,六至七层高...原创 2017-07-28 23:51:45 · 791 阅读 · 0 评论 -
B. Mahmoud and a Triangle
题目链接 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 s...原创 2019-04-07 09:01:49 · 168 阅读 · 0 评论 -
Coloring Game (找规律+快速幂)
题目链接 David has a white board with 2×N grids.He decides to paint some grids black with his brush.He always starts at the top left corner and ends at the bottom right corner, where grids should be black...原创 2019-04-25 08:50:26 · 455 阅读 · 0 评论 -
B. Diagonal Walking v.2
题目链接 Mikhail walks on a Cartesian plane. He starts at the point (0,0), and in one move he can go to any of eight adjacent points. For example, if Mikhail is currently at the point (0,0), he can go to ...原创 2019-04-19 17:22:54 · 221 阅读 · 0 评论