Diagnostic Test 2016 Level 2
Problem 2: Gibe clays
In 1939 to 1945, Polska did an involuntary stint as the General Government, territory of the Third Reich. During the experience, Polska learned many new things about occupying territories.
As any smart countryball knows, the first step of clay acquisition is convincing the international community that you have legitimate claim to the clays in question. Polska can only claim to own clays that directly border it, which are the following:
Germany
Czech Republic
Slovakia
Ukraine
Belarus
Lithuania
Kaliningrad Oblast
Help Polska achieve his irredentist dreams by replacing all instances of those country names in textbooks with "Polska".
Sample Input
Five cities in Germany are Berlin, Hamburg, Munich, Cologne, and Frankfurt.
Sample Output
Five cities in Polska are Berlin, Hamburg, Munich, Cologne, and Frankfurt.
All Submissions
Best Solutions
Point Value: 3
Time Limit: 2.00s
Memory Limit: 16M
Added: Oct 13, 2016
Author: Cynthia
Languages Allowed:
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3
Comments (Search)