Round 1C: Box Factory

1064 correct small sets and 308 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (926 sets)
Java (189 sets)
Python (126 sets)
C# (41 sets)
C (23 sets)
Haskell (14 sets)
Pascal (8 sets)
Ruby (8 sets)
Scala (7 sets)
Lisp (6 sets)
OCaml (6 sets)
F# (5 sets)
Clojure (3 sets)
Groovy (2 sets)
PHP (2 sets)
Scheme (2 sets)
Go (1 set)
JavaScript (1 set)
Perl (1 set)

Submission Origin

China (245 contestants)
Japan (78 contestants)
Russia (76 contestants)
India (58 contestants)
United States (56 contestants)
Ukraine (51 contestants)
Poland (33 contestants)
Taiwan (31 contestants)
France (28 contestants)
Egypt (21 contestants)
Australia (19 contestants)
Belarus (18 contestants)
Vietnam (18 contestants)
South Korea (17 contestants)
Bangladesh (16 contestants)
Germany (16 contestants)
Indonesia (16 contestants)
Hong Kong (15 contestants)
Thailand (14 contestants)
Netherlands (13 contestants)
Singapore (13 contestants)
Brazil (12 contestants)
Romania (11 contestants)
Sweden (11 contestants)
Slovakia (10 contestants)
Canada (9 contestants)
Israel (9 contestants)
Spain (9 contestants)
Switzerland (9 contestants)
Czech Republic (8 contestants)
Hungary (8 contestants)
Italy (8 contestants)
Colombia (7 contestants)
Croatia (7 contestants)
Greece (6 contestants)
United Kingdom (6 contestants)
Belgium (5 contestants)
Iran (5 contestants)
Argentina (4 contestants)
Bulgaria (4 contestants)
Peru (4 contestants)
South Africa (4 contestants)
Turkey (4 contestants)
... (3 contestants)
Armenia (3 contestants)
Austria (3 contestants)
Kazakhstan (3 contestants)
Lithuania (3 contestants)
Norway (3 contestants)
Pakistan (3 contestants)
Portugal (3 contestants)
Chile (2 contestants)
Denmark (2 contestants)
Mexico (2 contestants)
Morocco (2 contestants)
New Zealand (2 contestants)
Venezuela (2 contestants)
Algeria (1 contestant)
Andorra (1 contestant)
Bolivia (1 contestant)
Costa Rica (1 contestant)
Estonia (1 contestant)
Finland (1 contestant)
Georgia (1 contestant)
Iceland (1 contestant)
Kyrgyzstan (1 contestant)
Lebanon (1 contestant)
Palestinian Territory (1 contestant)
Saint Kitts and Nevis (1 contestant)
Serbia (1 contestant)
Tunisia (1 contestant)
United Arab Emirates (1 contestant)
Uruguay (1 contestant)