摘要:
DescriptionBessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 2 #include 3 #include 4 #includ...
阅读全文
posted @ 2015-11-11 21:34
pb2016
阅读(189)
推荐(0)
摘要:
DescriptionFarmer John completed his new barn just last week, complete with all the latest milking technology. Unfortunately, due to engineering probl...
阅读全文
posted @ 2015-11-11 21:13
pb2016
阅读(152)
推荐(0)
摘要:
Problem DescriptionYou are given a sequence ofNintegers.You should choose some numbers(at least one),and make the product of them as big as possible.I...
阅读全文
posted @ 2015-10-18 11:55
pb2016
阅读(204)
推荐(0)
摘要:
Problem DescriptionThe Princess has been abducted by the BEelzebub feng5166, our hero Ignatius has to rescue our pretty Princess. Now he gets into fen...
阅读全文
posted @ 2015-10-15 21:26
pb2016
阅读(184)
推荐(0)
摘要:
DescriptionYou have a long drive by car ahead. You have a tape recorder, but unfortunately your best music is on CDs. You need to have it on tapes so ...
阅读全文
posted @ 2015-10-11 11:13
pb2016
阅读(609)
推荐(0)
摘要:
Problem Description电子科大本部食堂的饭卡有一种很诡异的设计,即在购买之前判断余额。如果购买一个商品之前,卡上的剩余金额大于或等于5元,就一定可以购买成功(即使购买后卡上余额为负),否则无法购买(即使金额足够)。所以大家都希望尽量使卡上的余额最少。 某天,食堂中有n种菜出售,每种菜...
阅读全文
posted @ 2015-10-10 21:33
pb2016
阅读(618)
推荐(0)
摘要:
Problem DescriptionMatt has N friends. They are playing a game together.Each of Matt’s friends has a magic number. In the game, Matt selects some (cou...
阅读全文
posted @ 2015-09-22 15:15
pb2016
阅读(191)
推荐(0)
摘要:
Problem DescriptionMatt’s friend K.Bro is an ACMer.Yesterday, K.Bro learnt an algorithm: Bubble sort. Bubble sort will compare each pair of adjacent i...
阅读全文
posted @ 2015-09-22 15:03
pb2016
阅读(244)
推荐(0)
摘要:
Problem DescriptionThere is a curious man called Matt.One day, Matt's best friend Ted is wandering on the non-negative half of the number line. Matt f...
阅读全文
posted @ 2015-09-22 14:33
pb2016
阅读(260)
推荐(0)
摘要:
Problem DescriptionClarke is a patient with multiple personality disorder. One day, Clarke turned into a student and read a book.Suddenly, a difficult...
阅读全文
posted @ 2015-09-21 13:40
pb2016
阅读(175)
推荐(0)