Round 1C: Senate Evacuation

5914 correct small sets and 5384 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (5838 sets)
Python (2265 sets)
Java (1902 sets)
C# (410 sets)
C (227 sets)
Ruby (126 sets)
JavaScript (70 sets)
PHP (67 sets)
Haskell (66 sets)
Go (51 sets)
Scala (49 sets)
MATLAB (27 sets)
Perl (19 sets)
Swift (16 sets)
OCaml (15 sets)
Groovy (13 sets)
Lua (13 sets)
Kotlin (10 sets)
Lisp (10 sets)
Rust (8 sets)
Clojure (7 sets)
R (7 sets)
Objective-C (6 sets)
Pascal (6 sets)
CoffeeScript (4 sets)
D (4 sets)
Dart (4 sets)
Julia (4 sets)
TypeScript (3 sets)
Visual Basic (3 sets)
AWK (2 sets)
Crystal (2 sets)
Erlang (2 sets)
F# (2 sets)
Factor (2 sets)
Picat (2 sets)
PowerShell (2 sets)
Racket (2 sets)
Scheme (2 sets)
Shell (2 sets)
TCL (2 sets)
WRAPL (2 sets)
J (1 set)

Submission Origin

India (1142 contestants)
China (467 contestants)
United States (399 contestants)
Russia (338 contestants)
Japan (269 contestants)
South Korea (232 contestants)
France (204 contestants)
Poland (147 contestants)
Ukraine (146 contestants)
Taiwan (131 contestants)
Germany (116 contestants)
Bangladesh (113 contestants)
Canada (105 contestants)
Australia (101 contestants)
Brazil (94 contestants)
United Kingdom (92 contestants)
Spain (89 contestants)
Vietnam (87 contestants)
Egypt (82 contestants)
Romania (79 contestants)
Thailand (79 contestants)
Hong Kong (64 contestants)
Hungary (59 contestants)
Israel (59 contestants)
Italy (59 contestants)
Singapore (59 contestants)
Netherlands (54 contestants)
Slovakia (51 contestants)
Indonesia (50 contestants)
Czech Republic (45 contestants)
Belarus (44 contestants)
Turkey (42 contestants)
Argentina (40 contestants)
Greece (40 contestants)
Iran (40 contestants)
Belgium (39 contestants)
Sweden (37 contestants)
New Zealand (36 contestants)
South Africa (33 contestants)
Switzerland (32 contestants)
Kazakhstan (29 contestants)
Lithuania (25 contestants)
Mexico (25 contestants)
Portugal (24 contestants)
Pakistan (20 contestants)
Slovenia (20 contestants)
Philippines (19 contestants)
Austria (18 contestants)
Croatia (18 contestants)
Colombia (16 contestants)
Finland (16 contestants)
? (15 contestants)
Bulgaria (15 contestants)
Georgia (15 contestants)
Denmark (14 contestants)
Sri Lanka (14 contestants)
Norway (11 contestants)
Tunisia (11 contestants)
Venezuela (11 contestants)
Latvia (10 contestants)
Morocco (10 contestants)
Peru (10 contestants)
Moldova (9 contestants)
Armenia (8 contestants)
Nigeria (8 contestants)
Bolivia (7 contestants)
Chile (7 contestants)
Iceland (7 contestants)
Ireland (7 contestants)
Azerbaijan (6 contestants)
Estonia (6 contestants)
Macedonia (6 contestants)
Serbia (6 contestants)
Uzbekistan (6 contestants)
Cameroon (4 contestants)
Malaysia (4 contestants)
Nepal (4 contestants)
Cyprus (3 contestants)
Ethiopia (3 contestants)
Kosovo (3 contestants)
Kyrgyzstan (3 contestants)
Mongolia (3 contestants)
Turkmenistan (3 contestants)
Benin (2 contestants)
Cuba (2 contestants)
Jordan (2 contestants)
Kenya (2 contestants)
Kuwait (2 contestants)
Lebanon (2 contestants)
Luxembourg (2 contestants)
Macau (2 contestants)
Saudi Arabia (2 contestants)
Syria (2 contestants)
Tajikistan (2 contestants)
Uruguay (2 contestants)
Afghanistan (1 contestant)
Albania (1 contestant)
Algeria (1 contestant)
Andorra (1 contestant)
Antarctica (1 contestant)
Bahrain (1 contestant)
Dominican Republic (1 contestant)
Guatemala (1 contestant)
Guinea (1 contestant)
Haiti (1 contestant)
Palestine (1 contestant)
Panama (1 contestant)
Puerto Rico (1 contestant)
Rwanda (1 contestant)
Sint Maarten (1 contestant)
Yemen (1 contestant)
Zimbabwe (1 contestant)
Ă…land Islands (1 contestant)