SunQuest
           Older Contests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsOlder Contests

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old October 30th, 2003, 10:07 AM
Baphomet Baphomet is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Moscow, Russia
Posts: 11 Baphomet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Baphomet
[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)

Reply With Quote
  #2  
Old October 30th, 2003, 10:42 AM
ivansanchez ivansanchez is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Madrid, Spain
Posts: 35 ivansanchez User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to ivansanchez
[numbers] RE: Duplicates in input file

Quote:
Can input file contain duplicate problems?


Please read more carefully the main page:
Quote:
Updates: There will be no duplicate numbers in the input set!

Reply With Quote
  #3  
Old October 30th, 2003, 10:46 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
[numbers] RE: Duplicates in input file

Right, but Baphomet is asking if there will be duplicate problems.

Reply With Quote
  #4  
Old October 30th, 2003, 10:47 AM
maxhb maxhb is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Bremen, Germany
Posts: 48 maxhb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
[numbers] RE: RE: Duplicates in input file

Hi!
Quote:
Please read more carefully the main page

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

Reply With Quote
  #5  
Old October 30th, 2003, 11:43 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
[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?

Reply With Quote
  #6  
Old October 30th, 2003, 12:20 PM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
[numbers] RE: Duplicates in input file

While I am not saying that there will be duplicate problems, it is possible.

Quote:
And related question, if duplicates can take place, need I add identical solutions for other problems in log-file?


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.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > [numbers] Duplicates in input file


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway