Qualification Round: Saving the Universe

6759 correct small sets and 6257 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (5257 sets)
Java (3223 sets)
Python (1226 sets)
C# (1147 sets)
C (708 sets)
Perl (338 sets)
Ruby (224 sets)
PHP (214 sets)
Pascal (167 sets)
Visual Basic (103 sets)
Haskell (79 sets)
OCaml (36 sets)
MATLAB (28 sets)
Lisp (27 sets)
JavaScript (21 sets)
Scheme (21 sets)
Lua (12 sets)
Scala (8 sets)
Shell (8 sets)
D (6 sets)
Groovy (6 sets)
J (6 sets)
Objective-C (6 sets)
Basic (5 sets)
Clojure (5 sets)
ActionScript (4 sets)
Eiffel (4 sets)
Erlang (4 sets)
Octave (4 sets)
AutoIt (2 sets)
AWK (2 sets)
Mercury (2 sets)
Prolog (2 sets)
R (2 sets)
SQL (2 sets)
Standard ML (2 sets)
TCL (2 sets)
WRAPL (2 sets)

Submission Origin

India (1011 contestants)
United States (940 contestants)
China (866 contestants)
Russia (376 contestants)
Brazil (333 contestants)
Poland (197 contestants)
Japan (190 contestants)
South Korea (177 contestants)
Canada (173 contestants)
Ukraine (162 contestants)
Australia (135 contestants)
Germany (116 contestants)
Colombia (106 contestants)
United Kingdom (103 contestants)
Argentina (97 contestants)
Thailand (94 contestants)
Spain (89 contestants)
Taiwan (87 contestants)
France (84 contestants)
Romania (80 contestants)
Hungary (77 contestants)
Mexico (69 contestants)
Egypt (63 contestants)
Israel (62 contestants)
South Africa (52 contestants)
Bulgaria (50 contestants)
Pakistan (50 contestants)
Belarus (48 contestants)
Italy (47 contestants)
Singapore (47 contestants)
Czech Republic (45 contestants)
Slovakia (41 contestants)
Bangladesh (39 contestants)
Netherlands (39 contestants)
Hong Kong (36 contestants)
Sweden (35 contestants)
Indonesia (34 contestants)
Portugal (31 contestants)
Venezuela (31 contestants)
New Zealand (28 contestants)
Peru (26 contestants)
Switzerland (23 contestants)
Sri Lanka (21 contestants)
Austria (19 contestants)
Serbia and Montenegro (19 contestants)
Turkey (18 contestants)
Croatia (17 contestants)
Vietnam (16 contestants)
Denmark (15 contestants)
Lithuania (15 contestants)
Philippines (15 contestants)
Latvia (13 contestants)
Jordan (12 contestants)
Belgium (11 contestants)
Georgia (11 contestants)
Greece (10 contestants)
Moldova (10 contestants)
Morocco (10 contestants)
Norway (10 contestants)
Chile (9 contestants)
Ireland (9 contestants)
Estonia (8 contestants)
Lebanon (8 contestants)
Finland (7 contestants)
Kazakhstan (7 contestants)
Uruguay (7 contestants)
Macedonia (6 contestants)
Malaysia (6 contestants)
United Arab Emirates (6 contestants)
Cyprus (5 contestants)
Saudi Arabia (5 contestants)
Algeria (4 contestants)
Paraguay (4 contestants)
Afghanistan (3 contestants)
Azerbaijan (3 contestants)
Bolivia (3 contestants)
Palestinian Territory (3 contestants)
Armenia (2 contestants)
Bosnia and Herzegovina (2 contestants)
Costa Rica (2 contestants)
Dominican Republic (2 contestants)
Malta (2 contestants)
Slovenia (2 contestants)
Uzbekistan (2 contestants)
Albania (1 contestant)
Aruba (1 contestant)
Cambodia (1 contestant)
Ecuador (1 contestant)
Falkland Islands (Malvinas) (1 contestant)
Guatemala (1 contestant)
Iceland (1 contestant)
Iraq (1 contestant)
Kenya (1 contestant)
Kuwait (1 contestant)
Kyrgyzstan (1 contestant)
Macau (1 contestant)
Nepal (1 contestant)
Nicaragua (1 contestant)
Oman (1 contestant)
Puerto Rico (1 contestant)
Tunisia (1 contestant)
Uganda (1 contestant)
Virgin Islands (1 contestant)
Zimbabwe (1 contestant)