ICPC 2023 vòng Regional - M: Monopoly

View as PDF

Submit solution

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

Problem source:
ICPC 2023 vòng Regional
Problem type
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

3
4 9 9
7 5 1 5
6 10 10
1 1 1 1 1 1
7 405 6
103 1 102 2 101 3 100

Sample Output 1

Haros
Iwys
Iwys

Comments

Please read the guidelines before commenting.