Big Dispatch - console output


#1

Expected all the values to be printed… within the for loop… it just prints one value
Is there some settings to be changed - to get the entire output?

### Console output

Game informationAction (Output Stream)Debug (Errors Stream)

### Game information:

Amount of boxes: 696

    ### Standard Output Stream:

    41.52696

### Game information:

Failure. Invalid output: 41.52696

Code:

import sys
import math

# Auto-generated code below aims at helping you parse
# the standard input according to the problem statement.

box_count = int(input())
for i in range(box_count):
    weight, volume = [float(j) for j in input().split()]
    print(weight)

# Write an action using print
# To debug: print("Debug messages...", file=sys.stderr)

print("0 0 0 0 0 ...")

#2

Your output gets stopped as soon as you output an invalid line to stdout. If you want to print debug information you need to print to stderr:

print(weight, file=sys.stderr)


#3

Thank you… That helps.


#4

The Great Dispatch has been closed by agreement with the sponsor. It may return.


Optimization games are disappearing?
#5

This very sad new should be placed in its own thread IMHO