04 2019 档案

摘要:Largest Submatrix of All 1’s Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 8551 Accepted: 3089 Case Time Limit: 2000MS Description Given 阅读全文
posted @ 2019-04-29 11:22 断腿三郎 阅读(265) 评论(1) 推荐(0)
摘要:For the given sequence with n different elements find the number of increasing subsequences with k + 1elements. It is guaranteed that the answer is no 阅读全文
posted @ 2019-04-17 22:33 断腿三郎 阅读(305) 评论(0) 推荐(0)
摘要:Sereja has a sequence that consists of n positive integers, a1, a2, ..., an. First Sereja took a piece of squared paper and wrote all distinct non-emp 阅读全文
posted @ 2019-04-16 17:12 断腿三郎 阅读(237) 评论(0) 推荐(0)
摘要:Some mathematical background. This problem asks you to compute the expected value of a random variable. If you haven't seen those before, the simple d 阅读全文
posted @ 2019-04-16 16:22 断腿三郎 阅读(321) 评论(0) 推荐(0)
摘要:For a decimal number x with n digits (A nA n-1A n-2 ... A 2A 1), we define its weight as F(x) = A n * 2 n-1 + A n-1 * 2 n-2 + ... + A 2 * 2 + A 1 * 1. 阅读全文
posted @ 2019-04-10 12:55 断腿三郎 阅读(195) 评论(0) 推荐(0)
摘要:#define xhxj (Xin Hang senior sister(学姐)) If you do not know xhxj, then carefully reading the entire description is very important. As the strongest f 阅读全文
posted @ 2019-04-09 21:33 断腿三郎 阅读(527) 评论(1) 推荐(1)
摘要:Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is beautiful if and only if it is divisible by 阅读全文
posted @ 2019-04-09 16:45 断腿三郎 阅读(159) 评论(0) 推荐(0)
摘要:Problem Description The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number sequence o 阅读全文
posted @ 2019-04-08 23:30 断腿三郎 阅读(213) 评论(0) 推荐(0)
摘要:Description A straight dirt road connects two fields on FJ's farm, but it changes elevation more than FJ would like. His cows do not mind climbing up 阅读全文
posted @ 2019-04-08 18:58 断腿三郎 阅读(199) 评论(0) 推荐(0)
摘要:A group of contest writers have written n problems and want to use k of them in an upcoming contest. Each problem has a difficulty level. A contest is 阅读全文
posted @ 2019-04-08 17:37 断腿三郎 阅读(459) 评论(0) 推荐(0)
摘要:Bessie is such a hard-working cow. In fact, she is so focused on maximizing her productivity that she decides to schedule her next N (1 ≤ N ≤ 1,000,00 阅读全文
posted @ 2019-04-07 23:15 断腿三郎 阅读(162) 评论(0) 推荐(0)
摘要:Today is army day, but the servicemen are busy with the phalanx for the celebration of the 60th anniversary of the PRC. A phalanx is a matrix of size 阅读全文
posted @ 2019-04-07 11:43 断腿三郎 阅读(204) 评论(0) 推荐(0)
摘要:FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is labelled (p,q) where 0 <= 阅读全文
posted @ 2019-04-07 10:45 断腿三郎 阅读(188) 评论(0) 推荐(0)
摘要:Description FJ has purchased N (1 <= N <= 2000) yummy treats for the cows who get money for giving vast amounts of milk. FJ sells one treat per day an 阅读全文
posted @ 2019-04-06 23:46 断腿三郎 阅读(282) 评论(0) 推荐(0)
摘要:When the monkey professor leaves his class for a short time, all the monkeys go bananas. N monkeys are lined up sitting side by side on their chairs. 阅读全文
posted @ 2019-04-06 21:32 断腿三郎 阅读(342) 评论(0) 推荐(0)
摘要:Old Macdonald wants to build a new hen house for his hens. He buys a new rectangular area of size N by M. The night before he builds the hen house, sn 阅读全文
posted @ 2019-04-06 16:46 断腿三郎 阅读(204) 评论(0) 推荐(0)
摘要:The great dog detective Sherlock Bones is on the verge of a new discovery. But for this problem, he needs the help of his most trusted advisor -you- t 阅读全文
posted @ 2019-04-06 14:14 断腿三郎 阅读(363) 评论(0) 推荐(0)
摘要:There are two seagulls playing a very peculiar game. First they line up N unit squares in a line, all originally colored white. Let L be the length of 阅读全文
posted @ 2019-04-06 13:10 断腿三郎 阅读(278) 评论(0) 推荐(0)
摘要:Jury Compromise Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 33737 Accepted: 9109 Special Judge Description In Frobnia, a far-away count 阅读全文
posted @ 2019-04-03 00:11 断腿三郎 阅读(176) 评论(0) 推荐(0)