Round 1A: Password Problem

3506 correct small sets and 2329 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (3212 sets)
Java (1021 sets)
Python (719 sets)
C# (253 sets)
C (241 sets)
Ruby (70 sets)
Haskell (63 sets)
Pascal (38 sets)
Perl (34 sets)
PHP (31 sets)
MATLAB (19 sets)
JavaScript (18 sets)
D (17 sets)
Scala (16 sets)
F# (9 sets)
OCaml (8 sets)
Clojure (7 sets)
Go (6 sets)
Lisp (5 sets)
Lua (5 sets)
Gosu (4 sets)
Groovy (4 sets)
R (4 sets)
Scheme (4 sets)
Julia (3 sets)
Visual Basic (3 sets)
ActionScript (2 sets)
Octave (2 sets)
WRAPL (2 sets)
Basic (1 set)
Clay (1 set)
Erlang (1 set)
Factor (1 set)
J (1 set)
PostScript (1 set)
Racket (1 set)
Spreadsheet (1 set)

Submission Origin

China (839 contestants)
United States (510 contestants)
Japan (268 contestants)
India (253 contestants)
Russia (132 contestants)
Taiwan (120 contestants)
Canada (104 contestants)
South Korea (97 contestants)
Australia (87 contestants)
Brazil (86 contestants)
Poland (68 contestants)
Ukraine (62 contestants)
Thailand (52 contestants)
Hong Kong (49 contestants)
France (46 contestants)
United Kingdom (40 contestants)
Vietnam (36 contestants)
Singapore (32 contestants)
Bangladesh (31 contestants)
Argentina (29 contestants)
Indonesia (29 contestants)
Germany (28 contestants)
Spain (27 contestants)
Hungary (23 contestants)
New Zealand (23 contestants)
Belarus (22 contestants)
Egypt (21 contestants)
Israel (20 contestants)
Colombia (18 contestants)
Iran (18 contestants)
Mexico (17 contestants)
Romania (16 contestants)
Greece (15 contestants)
Italy (15 contestants)
... (12 contestants)
Peru (12 contestants)
Sweden (12 contestants)
Bulgaria (11 contestants)
Croatia (11 contestants)
Netherlands (10 contestants)
Slovakia (10 contestants)
Turkey (10 contestants)
Lithuania (9 contestants)
Serbia (9 contestants)
Switzerland (9 contestants)
Latvia (8 contestants)
Norway (8 contestants)
Sri Lanka (8 contestants)
Venezuela (8 contestants)
Portugal (7 contestants)
Czech Republic (6 contestants)
Lebanon (6 contestants)
South Africa (6 contestants)
Austria (5 contestants)
Bolivia (5 contestants)
Denmark (5 contestants)
Morocco (5 contestants)
Chile (4 contestants)
Finland (4 contestants)
Kazakhstan (4 contestants)
Philippines (4 contestants)
Algeria (3 contestants)
Azerbaijan (3 contestants)
Belgium (3 contestants)
Dominican Republic (3 contestants)
Malaysia (3 contestants)
Pakistan (3 contestants)
Slovenia (3 contestants)
Armenia (2 contestants)
Estonia (2 contestants)
Georgia (2 contestants)
Ghana (2 contestants)
Iceland (2 contestants)
Ireland (2 contestants)
Kyrgyzstan (2 contestants)
Moldova (2 contestants)
Uzbekistan (2 contestants)
Albania (1 contestant)
Benin (1 contestant)
Cameroon (1 contestant)
Costa Rica (1 contestant)
Cuba (1 contestant)
Ecuador (1 contestant)
Ethiopia (1 contestant)
Fiji (1 contestant)
Guatemala (1 contestant)
Ivory Coast (1 contestant)
Jordan (1 contestant)
Kenya (1 contestant)
Luxembourg (1 contestant)
Macau (1 contestant)
Madagascar (1 contestant)
Mongolia (1 contestant)
Netherlands Antilles (1 contestant)
Nicaragua (1 contestant)
Palestinian Territory (1 contestant)
Paraguay (1 contestant)
Saint Kitts and Nevis (1 contestant)
Sudan (1 contestant)
Tunisia (1 contestant)
U.S. Virgin Islands (1 contestant)
United Arab Emirates (1 contestant)
Uruguay (1 contestant)