摘要:
You have a necklace of N red, white, or blue beads (3 2 #include 3 #include 4 #include 5 #define maxn 1111 6 using namespace std; 7 int c; 8 char s... 阅读全文
摘要:
Is Friday the 13th really an unusual event?That is, does the 13th of the month land on a Friday less often than on any other day of the week? To answe... 阅读全文
摘要:
A group of NP (2 ≤ NP ≤ 10) uniquely named friends has decided to exchange gifts of money. Each of these friends might or might not give some money to... 阅读全文
摘要:
Your Ride Is HereIt is a well-known fact that behind every good comet is a UFO. These UFOs often come to collect loyal supporters from here on Earth. ... 阅读全文