ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
A Mindbending Scenario
Statement
Submissions
Hall of Fame
Report Issue
Click here
if you would like help solving this problem
In 2025, this problem was updated to use a simpler way of handling input and output, called standard input and output. You can read more about this change by
clicking here
.
Time Limit
Memory Limit
0.05 seconds
256 MiB
Log in
to submit!
If the statement isn't loading correctly, you can
open it in a new tab
.
Attachments
Solution Templates
Java
mindbending.java
C++
mindbending.cpp
C
mindbending.c
Python
mindbending.py
Problem info
There are no subtasks. This problem has 11 test cases.