Qualification Round: Infinite House of Pancakes

7799 correct small sets and 5439 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (8620 sets)
Java (1730 sets)
Python (1660 sets)
C# (330 sets)
C (192 sets)
Ruby (140 sets)
Haskell (127 sets)
Scala (58 sets)
PHP (42 sets)
JavaScript (40 sets)
Go (36 sets)
OCaml (29 sets)
Perl (25 sets)
MATLAB (20 sets)
D (19 sets)
F# (13 sets)
Pascal (13 sets)
Visual Basic (13 sets)
Groovy (10 sets)
Lisp (10 sets)
Rust (9 sets)
Clojure (8 sets)
R (8 sets)
Julia (5 sets)
Lua (4 sets)
Racket (4 sets)
Scheme (4 sets)
Swift (4 sets)
Octave (3 sets)
Shell (3 sets)
AWK (2 sets)
Elixir (2 sets)
Fortran (2 sets)
Haxe (2 sets)
Objective-C (2 sets)
PowerShell (2 sets)
Processing (2 sets)
Spreadsheet (2 sets)
CJam (1 set)
CoffeeScript (1 set)
Factor (1 set)
Golfscript (1 set)
Kotlin (1 set)
LOLCODE (1 set)
Mathematica (1 set)
Picat (1 set)
SQL (1 set)
TCL (1 set)
WRAPL (1 set)

Submission Origin

China (1375 contestants)
India (895 contestants)
United States (808 contestants)
Russia (556 contestants)
Japan (392 contestants)
Taiwan (233 contestants)
Poland (212 contestants)
Canada (196 contestants)
Ukraine (193 contestants)
South Korea (182 contestants)
France (177 contestants)
Brazil (134 contestants)
Egypt (118 contestants)
Australia (117 contestants)
Germany (112 contestants)
Bangladesh (103 contestants)
Vietnam (103 contestants)
Belarus (96 contestants)
Romania (90 contestants)
United Kingdom (87 contestants)
Hong Kong (79 contestants)
Thailand (78 contestants)
Indonesia (74 contestants)
Singapore (65 contestants)
Israel (63 contestants)
Italy (62 contestants)
Spain (59 contestants)
Iran (58 contestants)
Netherlands (58 contestants)
Slovakia (58 contestants)
Czech Republic (54 contestants)
Hungary (51 contestants)
Argentina (40 contestants)
Turkey (40 contestants)
Sweden (38 contestants)
Greece (36 contestants)
Colombia (34 contestants)
Belgium (30 contestants)
Peru (28 contestants)
Kazakhstan (27 contestants)
New Zealand (26 contestants)
South Africa (26 contestants)
Mexico (24 contestants)
Switzerland (24 contestants)
Bulgaria (23 contestants)
Georgia (22 contestants)
Serbia (22 contestants)
Finland (21 contestants)
Lithuania (21 contestants)
Norway (21 contestants)
Portugal (20 contestants)
Slovenia (20 contestants)
Latvia (19 contestants)
Croatia (16 contestants)
Sri Lanka (16 contestants)
Philippines (15 contestants)
Bolivia (14 contestants)
Armenia (12 contestants)
Venezuela (12 contestants)
Austria (10 contestants)
Denmark (10 contestants)
Pakistan (10 contestants)
Lebanon (9 contestants)
Morocco (9 contestants)
Uzbekistan (9 contestants)
Jordan (8 contestants)
Macedonia (8 contestants)
Moldova (8 contestants)
Ireland (7 contestants)
Palestine (7 contestants)
Benin (6 contestants)
Chile (6 contestants)
Kyrgyzstan (6 contestants)
Mongolia (6 contestants)
Tunisia (6 contestants)
Estonia (5 contestants)
Turkmenistan (5 contestants)
Cyprus (4 contestants)
Dominican Republic (4 contestants)
Iceland (4 contestants)
Nigeria (4 contestants)
Tajikistan (4 contestants)
Unknown or Invalid Region (4 contestants)
Azerbaijan (3 contestants)
Jamaica (3 contestants)
Nepal (3 contestants)
Syria (3 contestants)
Antarctica (2 contestants)
Luxembourg (2 contestants)
Macau (2 contestants)
Malaysia (2 contestants)
Malta (2 contestants)
Saudi Arabia (2 contestants)
Uruguay (2 contestants)
Åland Islands (2 contestants)
American Samoa (1 contestant)
Anguilla (1 contestant)
Bosnia and Herzegovina (1 contestant)
Cameroon (1 contestant)
Cayman Islands (1 contestant)
Cook Islands (1 contestant)
Costa Rica (1 contestant)
Ethiopia (1 contestant)
Gabon (1 contestant)
Greenland (1 contestant)
Guatemala (1 contestant)
Iraq (1 contestant)
Kenya (1 contestant)
Kosovo (1 contestant)
Mauritius (1 contestant)
Mozambique (1 contestant)
Myanmar (1 contestant)
Namibia (1 contestant)
North Korea (1 contestant)
Paraguay (1 contestant)
Rwanda (1 contestant)
Saint Barthélemy (1 contestant)
Somalia (1 contestant)
Togo (1 contestant)
U.S. Virgin Islands (1 contestant)
United Arab Emirates (1 contestant)
Western Sahara (1 contestant)