Round 1B: Falling Diamonds

935 correct small sets and 522 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (910 sets)
Java (194 sets)
Python (194 sets)
C# (32 sets)
C (29 sets)
Haskell (22 sets)
Pascal (18 sets)
Ruby (13 sets)
Go (7 sets)
Clojure (5 sets)
D (4 sets)
MATLAB (4 sets)
OCaml (4 sets)
Perl (4 sets)
Scala (4 sets)
Lisp (3 sets)
JavaScript (2 sets)
AWK (1 set)
Dart (1 set)
Erlang (1 set)
Groovy (1 set)
Objective-C (1 set)
PHP (1 set)
Visual Basic (1 set)

Submission Origin

China (171 contestants)
Russia (120 contestants)
United States (88 contestants)
Japan (71 contestants)
Poland (42 contestants)
Ukraine (38 contestants)
South Korea (25 contestants)
Belarus (24 contestants)
Canada (23 contestants)
Taiwan (21 contestants)
United Kingdom (20 contestants)
Hong Kong (17 contestants)
France (16 contestants)
Germany (15 contestants)
Australia (12 contestants)
India (12 contestants)
Sweden (12 contestants)
Thailand (12 contestants)
Brazil (11 contestants)
Netherlands (11 contestants)
Indonesia (10 contestants)
Israel (9 contestants)
Romania (8 contestants)
Slovakia (8 contestants)
Italy (7 contestants)
Latvia (7 contestants)
Argentina (6 contestants)
Belgium (6 contestants)
Iran (6 contestants)
Spain (6 contestants)
Vietnam (6 contestants)
Bulgaria (5 contestants)
Colombia (5 contestants)
Croatia (5 contestants)
Egypt (5 contestants)
Georgia (5 contestants)
Philippines (5 contestants)
South Africa (5 contestants)
Switzerland (5 contestants)
Czech Republic (4 contestants)
Hungary (4 contestants)
Singapore (4 contestants)
Bangladesh (3 contestants)
Finland (3 contestants)
Lithuania (3 contestants)
New Zealand (3 contestants)
Turkey (3 contestants)
Armenia (2 contestants)
Chile (2 contestants)
Greece (2 contestants)
Mongolia (2 contestants)
Peru (2 contestants)
Sri Lanka (2 contestants)
Austria (1 contestant)
Denmark (1 contestant)
Estonia (1 contestant)
Iceland (1 contestant)
Ireland (1 contestant)
Jamaica (1 contestant)
Kyrgyzstan (1 contestant)
Lebanon (1 contestant)
Malaysia (1 contestant)
Mexico (1 contestant)
Nepal (1 contestant)
Norway (1 contestant)
Portugal (1 contestant)
Serbia (1 contestant)
Slovenia (1 contestant)
Venezuela (1 contestant)