摘要:
Silver Cow PartyTime Limit:2000MSMemory Limit:65536KTotal Submissions:13100Accepted:5881DescriptionOne cow from each o... 阅读全文
摘要:
D. Maximum ValueYou are given a sequenceaconsisting ofnintegers. Find the maximum possible value of(integer remainder ofaidiv... 阅读全文
摘要:
FroggerTime Limit:1000MSMemory Limit:65536KTotal Submissions:26519Accepted:8633DescriptionFreddy Frog is sitting on a stone in the middle of a lake. S... 阅读全文
摘要:
Til the Cows Come HomeTime Limit:1000MSMemory Limit:65536KTotal Submissions:30865Accepted:10432DescriptionBessie is out in the field and wants to get ... 阅读全文
摘要:
对于 ax≡b( mod n ) 转化为 ax - ny = b , 当 d = gcd( a, n ) 不是 d 的约数的时候不存在解,为何不存在解呢?设 a = k1*d , n = k2*d .那么式子可转化为 : d * (k1*x - k2*y) = b , 若 b % d != 0 ... 阅读全文
摘要:
CheerleadersDescriptionCCheerleadersIn most professional sporting events, cheerleaders play a major role in entertaining the spe... 阅读全文
摘要:
Sharing ChocolateChocolate in its many forms is enjoyed by millions of people around the world every day. It is a truly universal ca... 阅读全文
摘要:
Placing LamppostsDescriptionInputAs a part of the mission ‘Beautification of Dhaka City’, the government has decided to replace al... 阅读全文
摘要:
Double Shortest PathsAlice and Bob are walking in an ancient maze with a lot of caves and one-way passages connectingthem. They want... 阅读全文
摘要:
2014. Zhenya moves from parentsTime limit: 1.0 secondMemory limit: 64 MBZhenya moved from his parents’ home to study in other city. He didn’t take any... 阅读全文