Qualification Round: Deceitful War

11124 correct small sets and 10209 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (10134 sets)
Java (4381 sets)
Python (3638 sets)
C (909 sets)
C# (877 sets)
Ruby (321 sets)
Haskell (145 sets)
PHP (128 sets)
Scala (108 sets)
JavaScript (101 sets)
Perl (96 sets)
Go (73 sets)
MATLAB (59 sets)
OCaml (34 sets)
Pascal (31 sets)
Visual Basic (28 sets)
D (20 sets)
Groovy (20 sets)
F# (19 sets)
Clojure (18 sets)
Lisp (16 sets)
Lua (14 sets)
Objective-C (14 sets)
R (12 sets)
CoffeeScript (11 sets)
Scheme (9 sets)
Erlang (8 sets)
J (4 sets)
Kotlin (4 sets)
Rust (4 sets)
Dart (3 sets)
PL/SQL (3 sets)
Shell (3 sets)
ActionScript (2 sets)
Cache (2 sets)
CJam (2 sets)
Cobra (2 sets)
Factor (2 sets)
Fortran (2 sets)
Julia (2 sets)
MoonScript (2 sets)
Octave (2 sets)
PowerShell (2 sets)
Processing (2 sets)
Smalltalk (2 sets)
Standard ML (2 sets)
TCL (2 sets)
WRAPL (2 sets)
Basic (1 set)
Event Related Model (1 set)
Golfscript (1 set)
Hack (1 set)
Inform 7 (1 set)
LLVM (1 set)
PostScript (1 set)

Submission Origin

India (2274 contestants)
China (1621 contestants)
United States (1264 contestants)
Russia (441 contestants)
Japan (311 contestants)
Taiwan (299 contestants)
Canada (276 contestants)
Brazil (228 contestants)
South Korea (225 contestants)
France (221 contestants)
Poland (221 contestants)
Ukraine (211 contestants)
Australia (168 contestants)
Germany (155 contestants)
Egypt (146 contestants)
Romania (139 contestants)
Vietnam (138 contestants)
Indonesia (132 contestants)
Spain (127 contestants)
Thailand (126 contestants)
Bangladesh (124 contestants)
United Kingdom (121 contestants)
Hong Kong (110 contestants)
Singapore (91 contestants)
Pakistan (83 contestants)
Mexico (82 contestants)
Israel (79 contestants)
Greece (74 contestants)
Belarus (73 contestants)
Hungary (73 contestants)
Italy (73 contestants)
Argentina (72 contestants)
Netherlands (63 contestants)
Turkey (62 contestants)
Czech Republic (58 contestants)
Sweden (55 contestants)
Iran (54 contestants)
Slovakia (53 contestants)
Sri Lanka (51 contestants)
Belgium (47 contestants)
Colombia (46 contestants)
South Africa (46 contestants)
New Zealand (41 contestants)
Philippines (40 contestants)
Switzerland (39 contestants)
Bulgaria (37 contestants)
Venezuela (31 contestants)
Lithuania (30 contestants)
Portugal (26 contestants)
Finland (25 contestants)
Chile (24 contestants)
Norway (24 contestants)
Bolivia (23 contestants)
Latvia (23 contestants)
Austria (22 contestants)
Malaysia (21 contestants)
Kazakhstan (18 contestants)
Nigeria (18 contestants)
Slovenia (18 contestants)
Croatia (17 contestants)
Denmark (17 contestants)
Serbia (17 contestants)
Georgia (16 contestants)
Lebanon (15 contestants)
Morocco (15 contestants)
Tunisia (15 contestants)
Armenia (13 contestants)
Ireland (13 contestants)
Jordan (13 contestants)
Moldova (12 contestants)
Palestinian Territory (12 contestants)
Peru (12 contestants)
Macedonia (11 contestants)
Iceland (10 contestants)
Nepal (9 contestants)
Dominican Republic (7 contestants)
Azerbaijan (6 contestants)
Ecuador (6 contestants)
Afghanistan (5 contestants)
Albania (5 contestants)
Cameroon (5 contestants)
Estonia (5 contestants)
Ethiopia (5 contestants)
North Korea (5 contestants)
Uzbekistan (5 contestants)
Costa Rica (4 contestants)
Cyprus (4 contestants)
Jamaica (4 contestants)
Kyrgyzstan (4 contestants)
Uruguay (4 contestants)
Algeria (3 contestants)
Luxembourg (3 contestants)
Aruba (2 contestants)
Bosnia and Herzegovina (2 contestants)
Burundi (2 contestants)
Guatemala (2 contestants)
Guernsey (2 contestants)
Guyana (2 contestants)
Iraq (2 contestants)
Kuwait (2 contestants)
Madagascar (2 contestants)
Seychelles (2 contestants)
Syria (2 contestants)
Antigua and Barbuda (1 contestant)
Barbados (1 contestant)
Bhutan (1 contestant)
Cayman Islands (1 contestant)
Cuba (1 contestant)
El Salvador (1 contestant)
Gabon (1 contestant)
Ghana (1 contestant)
Grenada (1 contestant)
Ivory Coast (1 contestant)
Kenya (1 contestant)
Laos (1 contestant)
Liechtenstein (1 contestant)
Macau (1 contestant)
Malta (1 contestant)
Martinique (1 contestant)
Monaco (1 contestant)
Mongolia (1 contestant)
Papua New Guinea (1 contestant)
Rwanda (1 contestant)
Saint Vincent (1 contestant)
Saudi Arabia (1 contestant)
Sierra Leone (1 contestant)
Tajikistan (1 contestant)
Tanzania (1 contestant)
Togo (1 contestant)
Tonga (1 contestant)
Tuvalu (1 contestant)
Uganda (1 contestant)
Vatican City (1 contestant)
Yemen (1 contestant)
Zimbabwe (1 contestant)