Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Programming Contests > PHP Programming Contests

PHP Programming Contests Everything to do with the PHP Programming Contests.

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 2003-05-06, 06:32 PM
Junior Member
 
Join Date: May 2003
Posts: 4
Phantom
Send a message via ICQ to Phantom
Default

How about tasks requiring advanced algorithms rather than backtracking? IMHO it's quite more interesting to develop a good solution for a difficult problem than implement heuristics...
Reply With Quote
  #22 (permalink)  
Old 2003-05-06, 08:11 PM
stuart's Avatar
Administrator
 
Join Date: Jan 2003
Location: Scotland
Posts: 472
stuart will become famous soon enoughstuart will become famous soon enough
Send a message via MSN to stuart
Default

Phantom - can you give a couple of examples? just so im certain what you mean.

Cheers
Reply With Quote
  #23 (permalink)  
Old 2003-05-06, 08:45 PM
Junior Member
 
Join Date: May 2003
Posts: 4
Phantom
Send a message via ICQ to Phantom
Default

Here is a big problemset: http://acm.uva.es/problemset/. Some of these are really very easy, and some of them really tough. What I would really like would be problems with big numbers of solutions with different time complexity for example: obvious exponential solution, quite tough O(N^2) solution and very tough linear time solution. There are dozens of problems of this kind. What about judging: you can have for example 10 testing sets each one with different size of input...
(It's easy to distinguish between solutions with different complexity. for example for N=1000: O(N) will count about 1000 times faster than O(N^2).)
And for each test accomplished in timelimit (with correct result of course), solution will receive one point. There is problem what to do if some solution received equal number of points. You can order them by for example submission time or total execution time. Maybe not bad idea is to give for example two or more tasks at one contest. It will cause bigger scores spreading.
But of course these tasks could be also judged in the same way you judged previous..., but this solution I mentioned favorizes good solutions over hackers' solutions.

I would be glad if you take my oppinion into consideration... If you are interested, I can give you a piece of advice about it...
Reply With Quote
  #24 (permalink)  
Old 2003-05-07, 03:50 AM
Junior Member
 
Join Date: Mar 2003
Location: UT
Posts: 16
wjensen
Default

The problem with doing contests with some sort of polynomial time complexity is that chances are there are already very good solutions to the problem readily available on the internet.

I also find it a little humorous that you talk about "advanced algorithms" as opposed to heuristic ("hacker") algorithms. I suppose you think simulated annealing and genetic algorithms are simple?

My point is that sometimes it takes a lot more cleverness to come up with an acceptable solution to an impossible problem than it is to use a cookie cutter solution in a new way.

Now don't get me wrong, I'm not saying that problems with polynomial time solutions are a bad idea for these contests. I think they would be fun also. I just don't think you should lump all heuristic algorithms together into the "hacker" category.
__________________
Wayne Jensen
Reply With Quote
  #25 (permalink)  
Old 2003-05-07, 09:46 PM
Guest
Guest
 
Posts: n/a
Default

Uhh my poor english level might cause some misunderstandings. I haven't called heuristic algorithms as "hacker" algorithms... I meant that solutions based on poor algorithm, but with lots of tricks signifficantly decreasing constant hidden under the 'O' sign. I had such a funny situation in one of contests, when for extremally simple task requiring just sorting (it was really easy to write linear time solution) one person wrote buble sort, but using trick with register variables in C and he received all possible points ;-), another example for what-I-mean hacker solution was using loop unrolling at code level.
I really appreciate good heuristic solutions, and I think these are very good and they very often require a lot of development effort. I would never call them hackers' solution. I know that many important problems nowadays are in NP-* or EXP classes. So these type solutions are the only available.
Maybe some words of defense for the solutions availibilty on the web: I took part in many algorithmical online contests and usually it is impossible, or very tough to find an apriopriate solution in the internet... It just depends on the problem because you can also find heursistic solutions over internet for many problems...
Reply With Quote
  #26 (permalink)  
Old 2003-05-07, 09:49 PM
Junior Member
 
Join Date: May 2003
Posts: 4
Phantom
Send a message via ICQ to Phantom
Default

Uhh, sorry - I forgot to log in.
Reply With Quote
  #27 (permalink)  
Old 2003-05-09, 10:44 PM
stuart's Avatar
Administrator
 
Join Date: Jan 2003
Location: Scotland
Posts: 472
stuart will become famous soon enoughstuart will become famous soon enough
Send a message via MSN to stuart
Default

Lots of good points, the truth is everyone likes different challenges!! I do intent to vary the contests and 'advanced algorithms' will certainly come up.
Phantom - send me an email if you have any good contest ideas
I wouild also like to say that many solutions to the contests may be found on the internet - I see that as a good thing, it lets people who do a little research see different angles before they write their own. And even if they do copy them it doesn't go to say it the best solution (and its not as much fun either).
Any ideas on contests - let me know.

cheers
Reply With Quote
  #28 (permalink)  
Old 2003-06-06, 07:57 PM
Member
 
Join Date: Apr 2003
Location: Poland
Posts: 41
cagrET
Default

In newest contest, link to judges is missing

http://www.php-editors.com/judges.php

btw.
why noone told me that there is a Winner's Cup image ?



its great ! im gonna put it on my website B)
Reply With Quote
  #29 (permalink)  
Old 2003-06-06, 08:24 PM
Member
 
Join Date: Apr 2003
Location: Poland
Posts: 41
cagrET
Default

yeah
it looks gosu on my site
http://cagret.prv.pl :P
Reply With Quote
  #30 (permalink)  
Old 2003-06-23, 03:22 PM
Junior Member
 
Join Date: Mar 2003
Location: Texas, USA
Posts: 3
PHPdev
Default

I must agree with many, that puzzles get old. Personally I liked seeing the different solutions to the puzzles for a while, but personally I dont see any real world use. I mean can not most puzzles be solved using AI search techniques.

Please do not take this as a complaint, I LOVE the contensts (although I have never entered), and think they give some of us challenges we need.

If you wanted to give a real world problem, and make it fair you could judge the contest based on when the project was submitted, vs how well it works. Meaning if the project was submitted on the frist day of the contest, and it worked flawlessly, then obviously the contest would be over. Too allowing only 1 submission per user, would curb the users who want to keep submitting a project every day until the contest is over. I can see how this too could be dificult to implement...

Thanks

PHPdev
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.0 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.0 (a popular PHP IDE) and NuCoder 1.4 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:13 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.