摘要: Balanced LineupTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 29981Accepted: 14133Case Time Limit: 2000MSDescriptionFor the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides to organize a game of Ultimate Frisbee with som 阅读全文
posted @ 2013-10-28 02:35 Ramanujan 阅读(217) 评论(0) 推荐(0) 编辑
摘要: A Simple Problem with IntegersTime Limit: 5000MSMemory Limit: 131072KTotal Submissions: 50205Accepted: 14911Case Time Limit: 2000MSDescriptionYou have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number in a gi 阅读全文
posted @ 2013-10-28 02:33 Ramanujan 阅读(145) 评论(0) 推荐(0) 编辑