Round 2: Cheating a Boolean Tree

1495 correct small sets and 1313 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (2000 sets)
Java (354 sets)
C# (144 sets)
Python (142 sets)
Pascal (45 sets)
C (43 sets)
Ruby (28 sets)
Haskell (12 sets)
Perl (12 sets)
Visual Basic (6 sets)
Lisp (4 sets)
OCaml (4 sets)
ActionScript (2 sets)
JavaScript (2 sets)
Lua (2 sets)
PHP (2 sets)
Scheme (2 sets)
MATLAB (1 set)
Scala (1 set)

Submission Origin

China (324 contestants)
United States (165 contestants)
Russia (160 contestants)
Poland (79 contestants)
India (64 contestants)
Ukraine (61 contestants)
Japan (58 contestants)
South Korea (42 contestants)
Brazil (37 contestants)
Germany (28 contestants)
Canada (25 contestants)
Belarus (24 contestants)
Taiwan (24 contestants)
Bangladesh (23 contestants)
Bulgaria (22 contestants)
Australia (21 contestants)
Romania (21 contestants)
Argentina (20 contestants)
Singapore (20 contestants)
Slovakia (20 contestants)
Netherlands (16 contestants)
Hungary (14 contestants)
Spain (14 contestants)
United Kingdom (14 contestants)
Egypt (11 contestants)
Serbia and Montenegro (11 contestants)
Thailand (11 contestants)
Hong Kong (10 contestants)
Israel (10 contestants)
Colombia (9 contestants)
France (9 contestants)
Mexico (8 contestants)
Sweden (8 contestants)
Indonesia (7 contestants)
South Africa (7 contestants)
Switzerland (7 contestants)
Czech Republic (6 contestants)
Georgia (6 contestants)
Portugal (6 contestants)
Croatia (5 contestants)
Denmark (5 contestants)
New Zealand (5 contestants)
Peru (5 contestants)
Austria (4 contestants)
Italy (4 contestants)
Kazakhstan (4 contestants)
Latvia (4 contestants)
Venezuela (4 contestants)
Vietnam (4 contestants)
Greece (3 contestants)
Lithuania (3 contestants)
Belgium (2 contestants)
Chile (2 contestants)
Estonia (2 contestants)
Macedonia (2 contestants)
Malaysia (2 contestants)
Moldova (2 contestants)
Norway (2 contestants)
Sri Lanka (2 contestants)
Bolivia (1 contestant)
Cambodia (1 contestant)
Dominican Republic (1 contestant)
Ireland (1 contestant)
Lebanon (1 contestant)
Philippines (1 contestant)
Turkey (1 contestant)
United Arab Emirates (1 contestant)
Virgin Islands (1 contestant)