Qualification Round: Fly Swatter

1007 correct small sets and 652 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (902 sets)
Java (245 sets)
Python (176 sets)
C# (121 sets)
C (72 sets)
Pascal (28 sets)
Perl (26 sets)
Haskell (14 sets)
PHP (11 sets)
Ruby (10 sets)
Visual Basic (8 sets)
Lisp (7 sets)
MATLAB (7 sets)
JavaScript (5 sets)
OCaml (4 sets)
Groovy (2 sets)
J (2 sets)
Lua (2 sets)
Scheme (2 sets)
WRAPL (2 sets)
Basic (1 set)
Clojure (1 set)
D (1 set)
Erlang (1 set)
Maple (1 set)
R (1 set)
Scala (1 set)

Submission Origin

United States (145 contestants)
China (139 contestants)
Russia (123 contestants)
Ukraine (56 contestants)
Japan (55 contestants)
Poland (38 contestants)
South Korea (38 contestants)
Canada (28 contestants)
India (24 contestants)
Germany (23 contestants)
Brazil (22 contestants)
Australia (18 contestants)
Belarus (17 contestants)
France (16 contestants)
Slovakia (15 contestants)
Hungary (14 contestants)
United Kingdom (14 contestants)
Bulgaria (12 contestants)
Netherlands (12 contestants)
Spain (12 contestants)
Thailand (12 contestants)
Czech Republic (11 contestants)
Israel (10 contestants)
Singapore (9 contestants)
Taiwan (9 contestants)
South Africa (8 contestants)
Argentina (7 contestants)
Denmark (7 contestants)
Hong Kong (7 contestants)
Italy (7 contestants)
Austria (6 contestants)
Bangladesh (6 contestants)
Mexico (6 contestants)
Sweden (6 contestants)
Indonesia (5 contestants)
New Zealand (5 contestants)
Romania (5 contestants)
Switzerland (5 contestants)
Moldova (4 contestants)
Chile (3 contestants)
Latvia (3 contestants)
Portugal (3 contestants)
Venezuela (3 contestants)
Colombia (2 contestants)
Georgia (2 contestants)
Greece (2 contestants)
Ireland (2 contestants)
Jordan (2 contestants)
Lithuania (2 contestants)
Macedonia (2 contestants)
Norway (2 contestants)
Peru (2 contestants)
Serbia and Montenegro (2 contestants)
Sri Lanka (2 contestants)
Vietnam (2 contestants)
Algeria (1 contestant)
Armenia (1 contestant)
Belgium (1 contestant)
Bolivia (1 contestant)
Cambodia (1 contestant)
Croatia (1 contestant)
Egypt (1 contestant)
Estonia (1 contestant)
Finland (1 contestant)
Kazakhstan (1 contestant)
Lebanon (1 contestant)
Malta (1 contestant)
Saudi Arabia (1 contestant)
Turkey (1 contestant)
Virgin Islands (1 contestant)