The system currently imposes a limit on the amount of output that a solution may generate. Since some problems may require large amounts of output, implement the following:
Define two named constants in the code: MAX_OUTPUT_LENGTH and MAX_OUTPUT_DISPLAY_LENGTH.
MAX_OUTPUT_LENGTH is the maximum amount of output that a submission may generate. Output larger than this will be truncated and not stored.
MAX_OUTPUT_DISPLAY_LENGTH is the maximum amount of output that will be displayed in the web interface
Modify that code that manages the Submission objects to store only MAX_OUTPUT_DISPLAY_LENGTH amount of data in the Submission object's outputs instance variable. Append the value "... additional data not displayed ..." at the end if the amount of data exceeds MAX_OUTPUT_DISPLAY_LENGTH.
The system currently imposes a limit on the amount of output that a solution may generate. Since some problems may require large amounts of output, implement the following:
Define two named constants in the code: MAX_OUTPUT_LENGTH and MAX_OUTPUT_DISPLAY_LENGTH. MAX_OUTPUT_LENGTH is the maximum amount of output that a submission may generate. Output larger than this will be truncated and not stored. MAX_OUTPUT_DISPLAY_LENGTH is the maximum amount of output that will be displayed in the web interface Modify that code that manages the Submission objects to store only MAX_OUTPUT_DISPLAY_LENGTH amount of data in the Submission object's outputs instance variable. Append the value "... additional data not displayed ..." at the end if the amount of data exceeds MAX_OUTPUT_DISPLAY_LENGTH.