|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
[numbers] Duplicates in input file
Can input file contain duplicate problems?
For example: 1,2,3,4,5,6,10 6,5,4,3,2,1,10 (I am too lazy to do additional checking of this) |
|
#2
|
||||
|
||||
|
[numbers] RE: Duplicates in input file
Quote:
Please read more carefully the main page: Quote:
|
|
#3
|
|||
|
|||
|
[numbers] RE: Duplicates in input file
Right, but Baphomet is asking if there will be duplicate problems.
|
|
#4
|
|||
|
|||
|
[numbers] RE: RE: Duplicates in input file
Hi!
Quote:
Please read more carefully the questions ;-) I guess there is a slight chance of having a problem twice in one input file as long as the numbers are created by random. AFAIK Matt said he would like to "tweak" the input files so that certain (classes of?) problems are contained. Probably it's not worth to optimize your program so that it would discover duplicate sets of input numbers... CU maxhb |
|
#5
|
|||
|
|||
|
[numbers] RE: Duplicates in input file
Ok, will be wait official answer of Matt
And related question, if duplicates can take place, need I add identical solutions for other problems in log-file? |
|
#6
|
|||
|
|||
|
[numbers] RE: Duplicates in input file
While I am not saying that there will be duplicate problems, it is possible.
Quote:
Each problem in the input file should be regarded as a unique problem regardless of whether it is a duplicate problem or not. So, let's say you had two identical problems in the input file and you came up with 10 ways to solve the problem, it would count as 20 ways because each unique problem has 10 ways to solve it. |
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > [numbers] Duplicates in input file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|