Round 1B: Safety in Numbers

2687 correct small sets and 2008 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (2919 sets)
Java (711 sets)
Python (509 sets)
C# (157 sets)
C (145 sets)
Haskell (42 sets)
Ruby (42 sets)
Pascal (33 sets)
PHP (28 sets)
Perl (17 sets)
MATLAB (12 sets)
JavaScript (10 sets)
Scala (10 sets)
Groovy (6 sets)
OCaml (6 sets)
Visual Basic (6 sets)
Clojure (4 sets)
D (4 sets)
Erlang (4 sets)
F# (4 sets)
Go (4 sets)
Gosu (4 sets)
Lisp (4 sets)
Scheme (3 sets)
Prolog (2 sets)
Shell (2 sets)
ActionScript (1 set)
Basic (1 set)
Golfscript (1 set)
Lua (1 set)
PowerShell (1 set)
R (1 set)

Submission Origin

China (547 contestants)
Russia (248 contestants)
United States (226 contestants)
India (201 contestants)
Japan (155 contestants)
Ukraine (113 contestants)
Poland (93 contestants)
Taiwan (87 contestants)
France (51 contestants)
South Korea (50 contestants)
Canada (49 contestants)
Belarus (46 contestants)
Brazil (45 contestants)
Thailand (36 contestants)
Hong Kong (35 contestants)
Germany (33 contestants)
United Kingdom (32 contestants)
Slovakia (30 contestants)
Bangladesh (29 contestants)
Indonesia (29 contestants)
Hungary (25 contestants)
Romania (25 contestants)
Vietnam (25 contestants)
Egypt (24 contestants)
Singapore (23 contestants)
Argentina (21 contestants)
Sweden (21 contestants)
Australia (20 contestants)
Italy (20 contestants)
Israel (19 contestants)
Spain (19 contestants)
Bulgaria (18 contestants)
Netherlands (17 contestants)
Greece (16 contestants)
South Africa (15 contestants)
Czech Republic (14 contestants)
Croatia (13 contestants)
Iran (13 contestants)
Mexico (13 contestants)
... (12 contestants)
Belgium (10 contestants)
Colombia (10 contestants)
Georgia (10 contestants)
Switzerland (10 contestants)
Latvia (9 contestants)
Peru (9 contestants)
Kazakhstan (8 contestants)
Lithuania (8 contestants)
Norway (7 contestants)
Portugal (7 contestants)
Serbia (7 contestants)
Estonia (6 contestants)
Turkey (6 contestants)
Armenia (5 contestants)
Lebanon (5 contestants)
Moldova (5 contestants)
Slovenia (5 contestants)
Austria (4 contestants)
Sri Lanka (4 contestants)
Chile (3 contestants)
Denmark (3 contestants)
Kyrgyzstan (3 contestants)
Macedonia (3 contestants)
Philippines (3 contestants)
Algeria (2 contestants)
Azerbaijan (2 contestants)
Bolivia (2 contestants)
Finland (2 contestants)
Mongolia (2 contestants)
Pakistan (2 contestants)
Uruguay (2 contestants)
Andorra (1 contestant)
Benin (1 contestant)
Cuba (1 contestant)
Dominican Republic (1 contestant)
Ecuador (1 contestant)
Iceland (1 contestant)
Ireland (1 contestant)
Luxembourg (1 contestant)
Morocco (1 contestant)
Namibia (1 contestant)
Netherlands Antilles (1 contestant)
Nicaragua (1 contestant)
Palestinian Territory (1 contestant)
United Arab Emirates (1 contestant)
Venezuela (1 contestant)