Round 1A: Ratatouille

1948 correct small sets and 1347 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (2280 sets)
Python (486 sets)
Java (331 sets)
C# (57 sets)
Haskell (17 sets)
C (14 sets)
Ruby (14 sets)
Scala (13 sets)
Go (10 sets)
PHP (8 sets)
D (7 sets)
Kotlin (6 sets)
OCaml (6 sets)
Rust (6 sets)
JavaScript (5 sets)
Perl (5 sets)
F# (4 sets)
MATLAB (3 sets)
CJam (2 sets)
Dart (2 sets)
Julia (2 sets)
Lisp (2 sets)
Lua (2 sets)
R (2 sets)
Clojure (1 set)
Pascal (1 set)
Swift (1 set)

Submission Origin

China (347 contestants)
United States (287 contestants)
Japan (150 contestants)
Russia (128 contestants)
India (105 contestants)
Canada (80 contestants)
South Korea (80 contestants)
Taiwan (73 contestants)
Brazil (52 contestants)
Vietnam (38 contestants)
Poland (32 contestants)
Australia (31 contestants)
Ukraine (30 contestants)
Thailand (29 contestants)
France (27 contestants)
Hong Kong (27 contestants)
Germany (25 contestants)
Singapore (23 contestants)
Belarus (20 contestants)
Argentina (19 contestants)
Bangladesh (18 contestants)
Israel (18 contestants)
Indonesia (16 contestants)
Egypt (15 contestants)
Hungary (14 contestants)
Romania (14 contestants)
New Zealand (13 contestants)
Czech Republic (12 contestants)
Iran (12 contestants)
United Kingdom (12 contestants)
Philippines (11 contestants)
Belgium (10 contestants)
Kazakhstan (10 contestants)
Netherlands (10 contestants)
Slovakia (10 contestants)
Bulgaria (8 contestants)
Colombia (8 contestants)
Lithuania (7 contestants)
Switzerland (7 contestants)
? (6 contestants)
Georgia (6 contestants)
Italy (6 contestants)
Peru (6 contestants)
Sweden (6 contestants)
Greece (5 contestants)
Mexico (5 contestants)
Norway (4 contestants)
South Africa (4 contestants)
Spain (4 contestants)
Antarctica (3 contestants)
Austria (3 contestants)
Denmark (3 contestants)
Finland (3 contestants)
Iceland (3 contestants)
Latvia (3 contestants)
Malaysia (3 contestants)
Portugal (3 contestants)
Serbia (3 contestants)
Slovenia (3 contestants)
Venezuela (3 contestants)
Azerbaijan (2 contestants)
Chile (2 contestants)
Croatia (2 contestants)
Cyprus (2 contestants)
Ireland (2 contestants)
Kyrgyzstan (2 contestants)
Macedonia (2 contestants)
Moldova (2 contestants)
Puerto Rico (2 contestants)
Uzbekistan (2 contestants)
Armenia (1 contestant)
Bolivia (1 contestant)
Dominican Republic (1 contestant)
Lebanon (1 contestant)
Luxembourg (1 contestant)
Macau (1 contestant)
Malta (1 contestant)
Mongolia (1 contestant)
Morocco (1 contestant)
Saudi Arabia (1 contestant)
Syria (1 contestant)
Tunisia (1 contestant)
Turkey (1 contestant)
Turkmenistan (1 contestant)
United Arab Emirates (1 contestant)