Round 2: Fresh Chocolate

2505 correct small sets and 1797 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (3330 sets)
Python (457 sets)
Java (305 sets)
C# (65 sets)
C (26 sets)
Ruby (22 sets)
Kotlin (16 sets)
Scala (14 sets)
Go (13 sets)
Haskell (12 sets)
D (7 sets)
Rust (5 sets)
OCaml (4 sets)
Groovy (3 sets)
Julia (3 sets)
Pascal (3 sets)
F# (2 sets)
JavaScript (2 sets)
Lua (2 sets)
R (2 sets)
Swift (2 sets)
Visual Basic (2 sets)
WRAPL (2 sets)
Q (1 set)

Submission Origin

China (415 contestants)
Russia (277 contestants)
Japan (217 contestants)
United States (207 contestants)
South Korea (101 contestants)
India (94 contestants)
Taiwan (89 contestants)
Poland (73 contestants)
Brazil (60 contestants)
Ukraine (58 contestants)
Vietnam (58 contestants)
Canada (48 contestants)
Belarus (37 contestants)
Bangladesh (36 contestants)
Germany (35 contestants)
Thailand (35 contestants)
Singapore (34 contestants)
Australia (33 contestants)
France (32 contestants)
Hungary (31 contestants)
Egypt (28 contestants)
Hong Kong (26 contestants)
United Kingdom (26 contestants)
Indonesia (25 contestants)
Iran (24 contestants)
Romania (24 contestants)
Sweden (22 contestants)
Israel (20 contestants)
Netherlands (20 contestants)
Slovakia (20 contestants)
Argentina (16 contestants)
Czech Republic (16 contestants)
Italy (15 contestants)
New Zealand (13 contestants)
Philippines (13 contestants)
Croatia (12 contestants)
Finland (12 contestants)
Spain (12 contestants)
Colombia (10 contestants)
Lithuania (10 contestants)
Belgium (9 contestants)
Bulgaria (9 contestants)
Georgia (9 contestants)
Kazakhstan (9 contestants)
Peru (9 contestants)
Latvia (8 contestants)
South Africa (8 contestants)
Austria (7 contestants)
Greece (7 contestants)
Switzerland (7 contestants)
Norway (6 contestants)
Slovenia (6 contestants)
Uzbekistan (6 contestants)
Armenia (5 contestants)
Jordan (5 contestants)
Portugal (5 contestants)
? (4 contestants)
Moldova (4 contestants)
Macedonia (3 contestants)
Malaysia (3 contestants)
Morocco (3 contestants)
Serbia (3 contestants)
Syria (3 contestants)
Antarctica (2 contestants)
Cyprus (2 contestants)
Denmark (2 contestants)
Iceland (2 contestants)
Ireland (2 contestants)
Kyrgyzstan (2 contestants)
Lebanon (2 contestants)
Turkey (2 contestants)
Venezuela (2 contestants)
Azerbaijan (1 contestant)
Bolivia (1 contestant)
British Virgin Islands (1 contestant)
Chile (1 contestant)
Dominican Republic (1 contestant)
Estonia (1 contestant)
Mexico (1 contestant)
Nepal (1 contestant)
Puerto Rico (1 contestant)
Saudi Arabia (1 contestant)
Sri Lanka (1 contestant)
Tajikistan (1 contestant)
Tunisia (1 contestant)
Turkmenistan (1 contestant)
Western Sahara (1 contestant)