Thrilling Teleporter

(Omitted: only an external link/title is provided; the full statement, I/O format, and constraints are missing, so it cannot be reconstructed reliably.)

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: