Round 1B: Square Math

157 correct small sets and 69 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (156 sets)
Java (40 sets)
Python (13 sets)
C# (9 sets)
Pascal (5 sets)
Haskell (2 sets)
Ruby (1 set)

Submission Origin

Russia (49 contestants)
China (14 contestants)
Poland (12 contestants)
United States (8 contestants)
Belarus (6 contestants)
Japan (6 contestants)
Romania (5 contestants)
United Kingdom (5 contestants)
Bulgaria (4 contestants)
Germany (4 contestants)
Netherlands (4 contestants)
Ukraine (4 contestants)
Slovakia (3 contestants)
Spain (3 contestants)
India (2 contestants)
Singapore (2 contestants)
South Korea (2 contestants)
Sweden (2 contestants)
Switzerland (2 contestants)
Australia (1 contestant)
Austria (1 contestant)
Bangladesh (1 contestant)
Belgium (1 contestant)
Bolivia (1 contestant)
Czech Republic (1 contestant)
Denmark (1 contestant)
Egypt (1 contestant)
Estonia (1 contestant)
France (1 contestant)
Georgia (1 contestant)
Hong Kong (1 contestant)
Hungary (1 contestant)
Israel (1 contestant)
Latvia (1 contestant)
Lithuania (1 contestant)
Mexico (1 contestant)
Moldova (1 contestant)
Norway (1 contestant)
Portugal (1 contestant)