Skip to main content

Setting Up the Practice Environment

The practice environment supports VNC and web ports, allowing the execution results to utilize not only plain text but also GUI and web-based practice environments.

Setting Up the Practice Environment (CLI Programming Type)

  1. In the newly added practice page, click the 'Create Example' button on the central left.

  2. Depending on the desired practice type, click the 'Use Template' or 'Create Manually' button.

    • Use Template: You can start from a structure that includes the necessary files by default.
    • Create Manually: You can start by creating files in the desired structure.
  3. (If you selected Use Template) Select the language to be used in the practice environment, then click the 'Next' button.

  4. Choose the practice environment from the list of available practice environments, and click the 'Use' button on the lower left.

    • On this screen, you can check the list and versions of libraries available in the practice environment.
  5. Set up the environment settings on the right tab according to the information below.

  6. Click the 'Save' button on the bottom right.

Do not exit this screen until you see the message "Saved successfully!"

Setting ItemDetailed Description
Practice EnvironmentThe practice environment that needs to be set according to the type and language of the practice problems.
Time Limit
  • Sets the maximum limiting time for execution/scoring.
  • If the set limit time is exceeded, execution/scoring will be forcibly terminated.
  • Can be set from a minimum of 1 second to a maximum of 1800 seconds.
Memory Limit
  • Sets the maximum amount of memory used during execution/scoring.
  • Can be set from a minimum of 64MB to a maximum of 4096MB.
TTY Terminal UsageEnabling terminal settings allows students to interact by entering commands in the console window during practice. It's advisable to disable this if the practice does not require utilizing the console window for input/output interactions.
GUI View Usage
  • VNC: Allows real-time confirmation of results executed through GUI interfaces such as Pygame and elicerrabbits via VNC.
  • HTTP: 8080: Connections are permitted on port 8080, and a web browser will open simultaneously.
  • It's advisable to disable this unless required.

If some items are not visible, please check the zoom ratio of the page.