QOJ.ac
QOJ
The 2nd Universal Cup Finals is coming! Check out our event page, schedule, and competition rules!
Time Limit:
2 s
Memory Limit:
1024 MB
Total points:
100
Interactive
JOI Open Contest 2023
A. Ancient Machine 2
The problem is available in the following languages:
C++17, C++20