A. Help Far Away Kingdom
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output
In a far away kingdom lived the King, the Prince, the Shoemaker, the Dressmaker and many other citizens. They lived happily until great trouble came into the Kingdom. The ACMers settled there.
Most damage those strange creatures inflicted upon the kingdom was that they loved high precision numbers. As a result, the Kingdom healers had alre......
阅读全文