Round 1B: The Next Number

2559 correct small sets and 1890 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (2805 sets)
Java (673 sets)
Python (358 sets)
C# (223 sets)
C (132 sets)
Pascal (57 sets)
Ruby (47 sets)
Perl (45 sets)
Haskell (37 sets)
PHP (28 sets)
MATLAB (9 sets)
Visual Basic (8 sets)
Lisp (4 sets)
Scheme (4 sets)
D (2 sets)
F# (2 sets)
Factor (2 sets)
Lua (2 sets)
OCaml (2 sets)
ActionScript (1 set)
Clojure (1 set)
CMake (1 set)
JavaScript (1 set)
Scala (1 set)

Submission Origin

China (350 contestants)
India (318 contestants)
United States (273 contestants)
Russia (262 contestants)
Poland (105 contestants)
Japan (99 contestants)
Brazil (77 contestants)
Ukraine (76 contestants)
South Korea (55 contestants)
Romania (54 contestants)
Canada (50 contestants)
Taiwan (42 contestants)
Belarus (38 contestants)
Germany (33 contestants)
Bangladesh (31 contestants)
Argentina (30 contestants)
Hungary (28 contestants)
Hong Kong (27 contestants)
United Kingdom (27 contestants)
Bulgaria (26 contestants)
Singapore (26 contestants)
France (25 contestants)
Spain (25 contestants)
Colombia (24 contestants)
Indonesia (22 contestants)
South Africa (22 contestants)
Thailand (22 contestants)
Vietnam (22 contestants)
Egypt (21 contestants)
Slovakia (21 contestants)
Israel (20 contestants)
Italy (20 contestants)
Netherlands (19 contestants)
Czech Republic (18 contestants)
Mexico (17 contestants)
Australia (14 contestants)
Serbia (13 contestants)
Portugal (12 contestants)
Switzerland (12 contestants)
Turkey (12 contestants)
Venezuela (12 contestants)
Lithuania (11 contestants)
Finland (10 contestants)
Peru (10 contestants)
Denmark (9 contestants)
Kazakhstan (9 contestants)
Latvia (9 contestants)
Sweden (8 contestants)
Armenia (7 contestants)
Estonia (7 contestants)
Belgium (6 contestants)
New Zealand (6 contestants)
Pakistan (6 contestants)
Austria (5 contestants)
Moldova (5 contestants)
Croatia (4 contestants)
Georgia (4 contestants)
Greece (4 contestants)
Slovenia (4 contestants)
Bolivia (3 contestants)
Macedonia (3 contestants)
Malaysia (3 contestants)
Morocco (3 contestants)
Sri Lanka (3 contestants)
Bosnia and Herzegovina (2 contestants)
Norway (2 contestants)
Philippines (2 contestants)
United Arab Emirates (2 contestants)
Uruguay (2 contestants)
Algeria (1 contestant)
Chile (1 contestant)
Dominican Republic (1 contestant)
Guatemala (1 contestant)
Ireland (1 contestant)
Lebanon (1 contestant)
Palestinian Territory (1 contestant)
Saudi Arabia (1 contestant)
St Vincent & Grenadines (1 contestant)
Uzbekistan (1 contestant)