|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
[numbers] Output format
OK, we know that the input file will contain random(5,50) "problems", each consisting of seven numbers in a line.
But i have doubts about the output format (with checkme=0). Should I output also 5-50 line, each with the number of posible solutions to the problem in the same line in the input file? e.g., as in: Or should I output another format? -- ivansanchez-at-escomposlinux-dot-org |
|
#2
|
|||
|
|||
|
[numbers] RE: Output format
Quote:
A single number is all you will output. |
|
#3
|
|||
|
|||
|
[numbers] RE: Output format
does the results should be returned as TXT or as HTML output? on both (checkme && input)?
also, the checkme=1 would call a html form to get the numbers entered? the returned values shoud appear on the same browser? if so, as txt or as html? like this; 1,2,3,6n 1+2+3n 2*3n 1*2*3n or like this: 1,2,3,6<br> 1+2+3<br> 2*3<br> 1*2*3<br> |
|
#4
|
|||
|
|||
|
[numbers] RE: Output format
For the checkme=1, yes you should display a HTML form. That form should display the answers in the same browser. I am not picky about those display results.
As for your first question, all you should output is a single number. No HTML tags or anything else. |
|
#5
|
|||
|
|||
|
[numbers] RE: Output format
so, I assume the results from the checkme=1 will have html tags (<br> at least) and the input=input.txt results would be only separated by n
this is correct? |
|
#6
|
||||
|
||||
|
[numbers] RE: RE: Output format
Quote:
I am not picky about the checkme=1 output. Display it as you will, as long as I can figure out what it is. As for the other way, there should be no n, no <br>, NOTHING EXCEPT A SINGLE NUMBER! Please read this quote from the rules again: Quote:
|
|
#7
|
|||
|
|||
|
[numbers] RE: Output format
ok! understood!
add every single result from every line! I was thinking it was add all the results from each line! ok thanks! |
|
#8
|
|||
|
|||
|
[numbers] RE: RE: RE: Output format
Quote:
Does it also apply to the logfile format, or do you want an specific format? |
|
#9
|
|||||
|
|||||
|
[numbers] RE: RE: RE: RE: Output format
Quote:
It says in the contest rules: Quote:
|
|
#10
|
|||
|
|||
|
[numbers] RE: Output format
As long as you follow what is in the rules about the log file, you will be fine. I am not going to be picky about one person showing:
8 + 9 = 17 and another: 8+9=17 That doesn't matter to me.... |
|
#11
|
||||
|
||||
|
[numbers] RE: Output format
How about showing it in post-fix or pre-fix notation?
8 9 + + 8 9 |
|
#12
|
|||
|
|||
|
[numbers] RE: Output format
Fine by me...
|
|
#13
|
|||
|
|||
|
[numbers] RE: RE: Output format
What about referring to another file in the log (e.g. each line of the log saying "see line #235433 of result_table.txt")
|
|
#14
|
|||
|
|||
|
[numbers] RE: Output format
No, please keep it all in one log file.
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > [numbers] Output format |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|