Round 1A: Mushroom Monster

4847 correct small sets and 4755 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (5356 sets)
Java (1680 sets)
Python (1432 sets)
C# (287 sets)
C (263 sets)
Ruby (104 sets)
Haskell (100 sets)
Scala (48 sets)
Go (42 sets)
JavaScript (33 sets)
Perl (33 sets)
PHP (28 sets)
MATLAB (26 sets)
OCaml (22 sets)
Lisp (14 sets)
D (12 sets)
Visual Basic (11 sets)
Groovy (10 sets)
Julia (8 sets)
Rust (8 sets)
R (7 sets)
Dart (6 sets)
CoffeeScript (5 sets)
Racket (5 sets)
Clojure (4 sets)
Lua (4 sets)
Octave (4 sets)
Scheme (4 sets)
Swift (4 sets)
ActionScript (2 sets)
AWK (2 sets)
Elixir (2 sets)
F# (2 sets)
J (2 sets)
Kotlin (2 sets)
Objective-C (2 sets)
Pascal (2 sets)
Processing (2 sets)
TCL (2 sets)
Event Related Model (1 set)
Golfscript (1 set)
NSIS (1 set)

Submission Origin

United States (791 contestants)
China (777 contestants)
India (641 contestants)
Japan (285 contestants)
Canada (192 contestants)
Russia (163 contestants)
Taiwan (161 contestants)
Brazil (131 contestants)
South Korea (122 contestants)
Australia (104 contestants)
Poland (81 contestants)
France (80 contestants)
Ukraine (71 contestants)
Singapore (67 contestants)
Egypt (66 contestants)
Germany (66 contestants)
Bangladesh (62 contestants)
Hong Kong (59 contestants)
Indonesia (56 contestants)
Thailand (45 contestants)
United Kingdom (43 contestants)
Vietnam (43 contestants)
Mexico (42 contestants)
Argentina (38 contestants)
Spain (33 contestants)
New Zealand (32 contestants)
Colombia (31 contestants)
Slovakia (29 contestants)
Belarus (26 contestants)
Hungary (26 contestants)
Czech Republic (22 contestants)
Israel (21 contestants)
Italy (20 contestants)
Romania (19 contestants)
Sri Lanka (19 contestants)
Turkey (19 contestants)
Belgium (17 contestants)
Portugal (17 contestants)
Venezuela (16 contestants)
Iran (15 contestants)
Lithuania (15 contestants)
Philippines (15 contestants)
Peru (14 contestants)
Bulgaria (13 contestants)
Finland (13 contestants)
Greece (13 contestants)
Sweden (13 contestants)
Netherlands (12 contestants)
Kazakhstan (10 contestants)
Switzerland (10 contestants)
Chile (9 contestants)
Lebanon (9 contestants)
Slovenia (8 contestants)
South Africa (8 contestants)
Austria (7 contestants)
Bolivia (7 contestants)
Georgia (6 contestants)
Latvia (6 contestants)
Morocco (6 contestants)
Serbia (6 contestants)
Tunisia (6 contestants)
Cyprus (5 contestants)
Armenia (4 contestants)
Iceland (4 contestants)
Malaysia (4 contestants)
Pakistan (4 contestants)
Guatemala (3 contestants)
Kyrgyzstan (3 contestants)
Luxembourg (3 contestants)
Moldova (3 contestants)
Norway (3 contestants)
Uzbekistan (3 contestants)
Antarctica (2 contestants)
Azerbaijan (2 contestants)
Benin (2 contestants)
Costa Rica (2 contestants)
Croatia (2 contestants)
Denmark (2 contestants)
Dominican Republic (2 contestants)
Estonia (2 contestants)
Ethiopia (2 contestants)
Ireland (2 contestants)
Jamaica (2 contestants)
Jordan (2 contestants)
Macedonia (2 contestants)
Mongolia (2 contestants)
Nepal (2 contestants)
Nigeria (2 contestants)
Saudi Arabia (2 contestants)
Unknown or Invalid Region (2 contestants)
Uruguay (2 contestants)
Algeria (1 contestant)
Bosnia and Herzegovina (1 contestant)
Cameroon (1 contestant)
Cayman Islands (1 contestant)
Greenland (1 contestant)
Guernsey (1 contestant)
Kuwait (1 contestant)
Macau (1 contestant)
Madagascar (1 contestant)
North Korea (1 contestant)
Palestine (1 contestant)
Saint Barthélemy (1 contestant)
Somalia (1 contestant)
Syria (1 contestant)
Tajikistan (1 contestant)
U.S. Virgin Islands (1 contestant)
Western Sahara (1 contestant)