2016年7月13日
摘要: Balanced Lineup Description For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides 阅读全文
posted @ 2016-07-13 20:03 qzgxlx 阅读(188) 评论(0) 推荐(0) 编辑
摘要: I Hate It Problem Description 很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。 Input 本 阅读全文
posted @ 2016-07-13 19:32 qzgxlx 阅读(184) 评论(0) 推荐(0) 编辑
摘要: A Simple Problem with Integers Description You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation 阅读全文
posted @ 2016-07-13 18:56 qzgxlx 阅读(205) 评论(0) 推荐(0) 编辑