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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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.
阅读全文
摘要:#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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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 <=
阅读全文
摘要: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
阅读全文
摘要: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.
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:Jury Compromise Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 33737 Accepted: 9109 Special Judge Description In Frobnia, a far-away count
阅读全文

浙公网安备 33010602011771号