随笔分类 - online judge poj
摘要:Segments Time Limit: 1000MS Memory Limit: 65536K Description Given n segments in the two dimensional space, write a program, which determines if there
阅读全文
摘要:Tree Time Limit: 1000MS Memory Limit: 30000K Description Give a tree with n vertices,each edge has a length(positive integer less than 1001). Define d
阅读全文
摘要:Ikki's Story IV - Panda's Trick Time Limit: 1000MS Memory Limit: 131072K Total Submissions: 9990 Accepted: 3673 Description liympanda, one of Ikki’s f
阅读全文
摘要:Corn Fields Time Limit: 2000MS Memory Limit: 65536K Description Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 1
阅读全文
摘要:青蛙的约会 Time Limit: 1000MS Memory Limit: 10000K Description 两 只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为止。可是它 们出发之前忘记了一件很重要的事情,
阅读全文
摘要:C Looooops Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 23616 Accepted: 6517 Description A Compiler Mystery: We are given a C-language s
阅读全文
摘要:Death to Binary? Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 1707 Accepted: 529 Description The group of Absurd Calculation Maniacs has
阅读全文
摘要:Farey Sequence Time Limit: 1000MS Memory Limit: 65536K Description The Farey Sequence Fn for any integer n with n >= 2 is the set of irreducible ratio
阅读全文
摘要:1619 - Feel Good Time limit: 3.000 seconds Bill is developing a new mathematical theory for human emotions. His recent investigations are dedi- cated
阅读全文
摘要:Mayor's posters Description The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their
阅读全文
摘要:Milking Time Description Bessie is such a hard-working cow. In fact, she is so focused on maximizing her productivity that she decides to schedule her
阅读全文
摘要:Sumsets Description Farmer John commanded his cows to search for different sets of numbers that sum to a given number. The cows use only numbers that
阅读全文
摘要:To the Max Description Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or gre
阅读全文
摘要:Tree Recovery Description Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees
阅读全文
摘要:Phone List Description Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let's say th
阅读全文
摘要: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
阅读全文
摘要:Buy Tickets Description Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue… The L
阅读全文
摘要:Longge's problem Description Longge is good at mathematics and he likes to think about hard mathematical problems which will be solved by some gracefu
阅读全文
摘要:Jessica's Reading Problem Description Jessica's a very lovely girl wooed by lots of boys. Recently she has a problem. The final exam is coming, yet sh
阅读全文
摘要:Biorhythms Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description Some people believe that there are thr
阅读全文