|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
[numbers] Submitting the contest: last question
Quote:
Quote:
I don't speak english very well, and this confused me. Today is 1 Nov 2003, deadline is on 3, so i have to send my script! I have some problems understanding this: what to ouput, what to write in logfile? checkme != 1 write the total log file with the results checkme == 1 write what? log file? with only the results? I'm VERY CONFUSED Thanks all |
|
#2
|
|||
|
|||
|
[numbers] RE: Submitting the contest: last question
if(checkme==1) {
/* output a HTML form that I can enter 6 numbers and a target number into. This will enable me to check any single problem. No need to output a log file */ } elseif (checkme != 1) { /* output the total number of solutions. also output a log file with results. */ } |
|
#3
|
|||
|
|||
|
[numbers] RE: Submitting the contest: last question
To clarify, if '&checkme=1' is appended we must present a form for Matt to enter a single problem, which then gets solved when the form gets submitted, and I assume that this solving gets shown on-screen, without a logfile.
However, if 'checkme' is not there, we should expect an input file to be provided, by something something like '&input=somefile.txt', and only then should we write a logfile. This is how I understand it. This isn't rocket-science. And in the logfile we must show the problem and then all the solutions on the lines below. |
|
#4
|
|||
|
|||
|
[numbers] RE: Submitting the contest: last question
Thanks! And now, really the last
Quote:
only good and no-duplicated results? Or we have to output something like found 70 candidate results. ... .. // results with duplicates .. ... after removing duplicates i have 20 results: ... .. // non-duplicated ones ... ... ? _____________________________ And, second: if checkme==1 we will have no input file, only the set of numbers you will enter, isn't it? after this i submit my script =) |
|
#5
|
|||
|
|||
|
[numbers] RE: Submitting the contest: last question
Just the good final results need to be in the log file...
|
|
#6
|
||||
|
||||
|
[numbers] RE: Submitting the contest: last question
Quote:
Quote:
These two statements contradict each other. |
|
#7
|
|||
|
|||
|
[numbers] RE: Submitting the contest: last question
Actually, never mind... just read this:
Quote:
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > [numbers] Submitting the contest: last question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|