Round 1B: Close Match

2847 correct small sets and 938 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (2415 sets)
Python (622 sets)
Java (419 sets)
C# (113 sets)
Ruby (39 sets)
C (36 sets)
Haskell (27 sets)
Scala (17 sets)
Go (15 sets)
JavaScript (9 sets)
PHP (9 sets)
OCaml (8 sets)
Kotlin (5 sets)
Perl (5 sets)
F# (4 sets)
Lua (4 sets)
Julia (3 sets)
Pascal (3 sets)
Swift (3 sets)
Visual Basic (3 sets)
CJam (2 sets)
MATLAB (2 sets)
Rust (2 sets)
Ada (1 set)
Clojure (1 set)
CoffeeScript (1 set)
D (1 set)
Erlang (1 set)
Factor (1 set)
Groovy (1 set)
Lisp (1 set)
Objective-C (1 set)
Picat (1 set)
Q (1 set)
Racket (1 set)
Scheme (1 set)
WRAPL (1 set)

Submission Origin

China (290 contestants)
Russia (279 contestants)
India (277 contestants)
United States (231 contestants)
Japan (174 contestants)
Ukraine (92 contestants)
South Korea (84 contestants)
Poland (80 contestants)
Bangladesh (78 contestants)
France (72 contestants)
Brazil (61 contestants)
Canada (59 contestants)
Egypt (59 contestants)
Taiwan (58 contestants)
Germany (47 contestants)
Romania (44 contestants)
Belarus (43 contestants)
Thailand (38 contestants)
United Kingdom (36 contestants)
Israel (35 contestants)
Vietnam (35 contestants)
Hong Kong (34 contestants)
Slovakia (33 contestants)
Netherlands (30 contestants)
Italy (29 contestants)
Czech Republic (28 contestants)
Hungary (27 contestants)
Australia (26 contestants)
Iran (26 contestants)
Argentina (23 contestants)
Indonesia (22 contestants)
Kazakhstan (22 contestants)
Spain (20 contestants)
Lithuania (19 contestants)
Bulgaria (18 contestants)
Singapore (17 contestants)
Colombia (16 contestants)
Sweden (15 contestants)
Belgium (14 contestants)
South Africa (14 contestants)
Switzerland (12 contestants)
Croatia (11 contestants)
Denmark (11 contestants)
Greece (11 contestants)
Philippines (11 contestants)
Serbia (11 contestants)
Turkey (11 contestants)
Portugal (10 contestants)
Georgia (9 contestants)
Mexico (9 contestants)
Latvia (8 contestants)
Norway (8 contestants)
New Zealand (7 contestants)
Venezuela (7 contestants)
? (6 contestants)
Finland (6 contestants)
Moldova (6 contestants)
Peru (6 contestants)
Austria (5 contestants)
Estonia (5 contestants)
Ireland (5 contestants)
Slovenia (5 contestants)
Bolivia (4 contestants)
Lebanon (4 contestants)
Sri Lanka (4 contestants)
Uzbekistan (4 contestants)
Chile (3 contestants)
Iceland (3 contestants)
Kyrgyzstan (3 contestants)
Macedonia (3 contestants)
Armenia (2 contestants)
Azerbaijan (2 contestants)
Ethiopia (2 contestants)
Jordan (2 contestants)
Luxembourg (2 contestants)
Macau (2 contestants)
Nepal (2 contestants)
Pakistan (2 contestants)
Saudi Arabia (2 contestants)
Tajikistan (2 contestants)
Tunisia (2 contestants)
Turkmenistan (2 contestants)
Bosnia and Herzegovina (1 contestant)
Cameroon (1 contestant)
Cyprus (1 contestant)
Malaysia (1 contestant)
Morocco (1 contestant)
Nigeria (1 contestant)
Palestine (1 contestant)
Paraguay (1 contestant)
Puerto Rico (1 contestant)
Rwanda (1 contestant)
Uruguay (1 contestant)