Round 1A: Proper Shuffle

333 correct small sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (203 sets)
Python (48 sets)
Java (44 sets)
C# (9 sets)
C (4 sets)
Haskell (4 sets)
Go (3 sets)
Perl (3 sets)
MATLAB (2 sets)
OCaml (2 sets)
Scala (2 sets)
D (1 set)
Fortran (1 set)
JavaScript (1 set)
Kotlin (1 set)
PHP (1 set)
R (1 set)
Ruby (1 set)
Visual Basic (1 set)

Submission Origin

United States (79 contestants)
China (63 contestants)
Japan (30 contestants)
Russia (28 contestants)
Taiwan (16 contestants)
Canada (13 contestants)
South Korea (9 contestants)
Brazil (8 contestants)
Poland (6 contestants)
Ukraine (6 contestants)
Argentina (5 contestants)
Czech Republic (5 contestants)
Australia (4 contestants)
Belarus (4 contestants)
France (4 contestants)
India (4 contestants)
Indonesia (4 contestants)
Singapore (4 contestants)
Bulgaria (3 contestants)
Hong Kong (3 contestants)
Georgia (2 contestants)
Germany (2 contestants)
Hungary (2 contestants)
Serbia (2 contestants)
Slovakia (2 contestants)
South Africa (2 contestants)
Spain (2 contestants)
Sweden (2 contestants)
Armenia (1 contestant)
Belgium (1 contestant)
Cayman Islands (1 contestant)
Egypt (1 contestant)
Iran (1 contestant)
Israel (1 contestant)
Italy (1 contestant)
Kazakhstan (1 contestant)
Mexico (1 contestant)
Netherlands (1 contestant)
New Zealand (1 contestant)
North Korea (1 contestant)
Norway (1 contestant)
Pakistan (1 contestant)
Philippines (1 contestant)
Romania (1 contestant)
Switzerland (1 contestant)
Thailand (1 contestant)
United Kingdom (1 contestant)