|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
judge bug!
if it's not a judge script bug ... than I gues this code will be the winner:
Code:
for($i=0; $i<50; $i++) {
for ($j=0; $j<50; $j++){
if($map[$i][$j] == 0){
$map[$i][$j]=1;
}
}
}
|
|
#2
|
|||
|
|||
|
RE: judge bug!
You are right, but zombie said that the released judge script is only an unoffical judge script.
I think the real judge script will compare the passed map to user with the map which is returned by the user. If the rooms(1's) are changed or moved, the script will be surely disqualified. |
|
#3
|
|||
|
|||
|
RE: judge bug!
the judge script (the one that you have) should detect that your result is INVALID!
if it doesn't, then please send me your script, and the map that you tested it on, and i will correct it.. |
|
#4
|
|||
|
|||
|
RE: judge bug!
my mistake!
I used my own validator, wich I build based on the comments from your script. The original script will find invalid maps. |
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Current Contest > judge bug! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|