Qualification Round: Bathroom Stalls
13983 correct small sets, 10822 correct large-1 sets, and 5954 correct large-2 sets. View problem statement or contest analysis.
Compact solutions
Jakube in CJam (56 B) aditsu in Golfscript (63 B) Vucub.Kame in C++ (176 B) angelp57 in Ruby (195 B) papachristoumarios in Python (225 B) Eagle1 in Python (227 B) bryanj in Shell (231 B) MarsUltor in Python (246 B) | agutowski in Python (246 B) kabochya in Python (257 B) dylan007 in Python (260 B) twobit in Python (263 B) tomohiro in Ruby (264 B) mistaken in C++ (264 B) xEGx in Python (266 B) Dorel in Python (270 B) | asokol in Python (272 B) kevinqli in Python (276 B) pse1202 in Python (277 B) kurena in Python (280 B) lpetru in Lisp (281 B) wdsr in Python (284 B) codedak in Python (284 B) pse1202 in Python (288 B) |
Solved in...
C++ (16693 sets) Python (6010 sets) Java (4841 sets) C# (916 sets) C (437 sets) Ruby (277 sets) Haskell (214 sets) JavaScript (211 sets) Go (174 sets) Scala (142 sets) PHP (109 sets) Rust (76 sets) Kotlin (73 sets) MATLAB (72 sets) Perl (49 sets) Swift (45 sets) OCaml (41 sets) Clojure (35 sets) D (24 sets) F# (23 sets) | Pascal (22 sets) Julia (19 sets) R (18 sets) Objective-C (14 sets) Visual Basic (14 sets) Lua (13 sets) Lisp (12 sets) Dart (11 sets) Groovy (11 sets) Racket (8 sets) J (6 sets) Scheme (6 sets) TypeScript (5 sets) CoffeeScript (4 sets) Elixir (4 sets) Picat (4 sets) Ada (3 sets) Crystal (3 sets) Erlang (3 sets) Factor (3 sets) | Mathematica (3 sets) Q (3 sets) Shell (3 sets) WRAPL (3 sets) AWK (2 sets) bc (2 sets) Cache (2 sets) Fortran (2 sets) Smalltalk (2 sets) Aheui (1 set) CJam (1 set) CMake (1 set) dc (1 set) Golfscript (1 set) Logo (1 set) PowerShell (1 set) Röda (1 set) Shakespeare (1 set) |
Submission Origin
India (2242 contestants) United States (1853 contestants) China (1241 contestants) Russia (688 contestants) Japan (545 contestants) South Korea (487 contestants) Canada (408 contestants) France (370 contestants) Taiwan (369 contestants) Brazil (321 contestants) Ukraine (316 contestants) Germany (268 contestants) Poland (266 contestants) Egypt (219 contestants) Australia (211 contestants) Vietnam (202 contestants) United Kingdom (184 contestants) Bangladesh (182 contestants) Italy (163 contestants) Israel (163 contestants) Thailand (162 contestants) Romania (158 contestants) Singapore (133 contestants) Indonesia (133 contestants) Spain (128 contestants) Hungary (122 contestants) Hong Kong (120 contestants) Belarus (113 contestants) Netherlands (105 contestants) Sweden (95 contestants) Iran (95 contestants) Mexico (90 contestants) Greece (86 contestants) Colombia (84 contestants) Turkey (83 contestants) Argentina (82 contestants) Slovakia (77 contestants) Belgium (74 contestants) Czech Republic (73 contestants) New Zealand (67 contestants) Switzerland (62 contestants) South Africa (60 contestants) Pakistan (52 contestants) Lithuania (48 contestants) Bulgaria (45 contestants) | Portugal (43 contestants) Philippines (43 contestants) Peru (39 contestants) ? (39 contestants) Kazakhstan (36 contestants) Austria (32 contestants) Morocco (31 contestants) Croatia (31 contestants) Venezuela (30 contestants) Tunisia (29 contestants) Finland (29 contestants) Ireland (27 contestants) Denmark (26 contestants) Bolivia (25 contestants) Slovenia (24 contestants) Norway (22 contestants) Latvia (22 contestants) Chile (22 contestants) Armenia (21 contestants) Georgia (20 contestants) Nigeria (19 contestants) Sri Lanka (18 contestants) Serbia (18 contestants) Moldova (18 contestants) Malaysia (17 contestants) Jordan (16 contestants) Macedonia (15 contestants) Lebanon (14 contestants) Iceland (13 contestants) Syria (11 contestants) Uzbekistan (10 contestants) Estonia (10 contestants) Azerbaijan (10 contestants) Nepal (9 contestants) Mongolia (7 contestants) Macau (7 contestants) Tajikistan (6 contestants) Cyprus (6 contestants) Antarctica (6 contestants) Algeria (6 contestants) Turkmenistan (5 contestants) Saudi Arabia (5 contestants) Kyrgyzstan (5 contestants) Jamaica (5 contestants) Ethiopia (5 contestants) | Ecuador (5 contestants) Cameroon (5 contestants) United Arab Emirates (4 contestants) Dominican Republic (4 contestants) Cuba (4 contestants) Costa Rica (4 contestants) Uruguay (3 contestants) Puerto Rico (3 contestants) Luxembourg (3 contestants) Kosovo (3 contestants) Benin (3 contestants) Albania (3 contestants) Uganda (2 contestants) U.S. Virgin Islands (2 contestants) Palestine (2 contestants) Mauritius (2 contestants) Malta (2 contestants) Kenya (2 contestants) Guadeloupe (2 contestants) Gabon (2 contestants) Bahamas (2 contestants) Western Sahara (1 contestant) Vatican City (1 contestant) Trinidad and Tobago (1 contestant) Togo (1 contestant) Svalbard and Jan Mayen (1 contestant) South Sudan (1 contestant) Réunion (1 contestant) Rwanda (1 contestant) Paraguay (1 contestant) Panama (1 contestant) North Korea (1 contestant) Nicaragua (1 contestant) Myanmar (1 contestant) Madagascar (1 contestant) Jersey (1 contestant) Isle of Man (1 contestant) Guernsey (1 contestant) Guatemala (1 contestant) Cambodia (1 contestant) Burkina Faso (1 contestant) Bosnia and Herzegovina (1 contestant) Bahrain (1 contestant) Aruba (1 contestant) Afghanistan (1 contestant) |