|  | 
|  | 
| вернуться в форум | id there anybody know how to solve 1244 without array[1..100000] ???Re: id there anybody know how to solve 1244 without array[1..100000] ??? This task can be solved with usage of array [1 .. 50000] (in cases when "empty mass" more than 50000 you can solve the problem for cards in the deck and then "reverse" an answer. More hemorroy, but less memory... | 
 | 
|