ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1015. Test the Difference!

How all AC program eated so small memory.... Please Read and Help!
Posted by Reshetnikov Eugeny 18 Apr 2002 13:22
I have array, whose can give me all permutations, but for make answer
i 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!
Posted by ECUST Multistar 18 Apr 2002 13:44
Do you know how many different "Royal Flush" are there in this
problem?
It's more less than 10^5:)
If you know this you'll slove this problem in using less memory.
:)