ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Yet Another Lights Problem
Statement
Submissions
Hall of Fame
Report Issue
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
2.0 seconds
1024 MiB
Log in
to submit!
If the statement isn't loading correctly, you can
open it in a new tab
.
Attachments
Solution Templates
Java
YALP.java
Python
YALP.py
C++
YALP.cpp
C
YALP.c
Problem info
Subtask 1 (25 points) has 9 cases.
Subtask 2 (18 points) has 12 cases.
Subtask 3 (25 points) has 11 cases.
Subtask 4 (25 points) has 14 cases.
Subtask 5 (7 points) has 54 cases.
This problem has a checker