|  | 
|  | 
| back to board | How all AC program eated so small memory....  Please Read and Help! I have array, whose can give me all permutations, but for make answeri can have array [1..10^5] of longint; But this array eated 400kb.
 How to do this more easy???????????
Re: How all AC program eated so small memory....  Please Read and Help! Do you know how many different "Royal Flush" are there in thisproblem?
 It's more less than 10^5:)
 If you know this you'll slove this problem in using less memory.
 :)
 | 
 | 
|