Previous Next
0 / 13
Module DEMO-33-61DEMO-OOP-33

Support Ticket Summary

DEMO-OOP-33 โ€ข Object Oriented Programming

Browser-only practice

Problem Statement

Read a ticket code, issue title, and room code, then print a support summary.

Input Format

Input is given as whitespace-separated tokens in this order:

  1. ticket code
  2. issue title
  3. room code

Output Format

Print the exact report in this order:

  1. Ticket
  2. Issue
  3. Room
  4. Status

Sample Testcases

Submit runs every public testcase in this browser. Results and code never leave this device.

Sample #1
Public sample
T1
Printer
A1
Ticket: T1
Issue: Printer
Room: A1
Status: OPEN
Input: ticket code = "T1", issue title = "Printer", room code = "A1".
Key calculation(s): status = "OPEN" | "Ticket: " + "T1" = "Ticket: T1" | "Issue: " + "Printer" = "Issue: Printer".
Output:
Ticket: T1
Issue: Printer
Room: A1
Status: OPEN
Sample #2
Public sample
T2
Scanner
B4
Ticket: T2
Issue: Scanner
Room: B4
Status: OPEN
Input: ticket code = "T2", issue title = "Scanner", room code = "B4".
Key calculation(s): status = "OPEN" | "Ticket: " + "T2" = "Ticket: T2" | "Issue: " + "Scanner" = "Issue: Scanner".
Output:
Ticket: T2
Issue: Scanner
Room: B4
Status: OPEN

Web terminal

C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.

Saved in this browser
Editor settings