ICPC 2024 vòng Quốc gia - D: Dune

View as PDF

Submit solution

Points: 0.16
Time limit: 1.0s
Memory limit: 512M
Input: stdin
Output: stdout

Author:
Problem source:
Problem types
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch

In case the statement didn't load correctly, you can download the statement here: Statement

Sample Input 1

2
3 5 2 6
4 4 4 11

Sample Output 1

Warning Beat
Resting Phase

Loading...