PVHOI 5 bài 1 - Biển báo trên đường (70 điểm)

View as PDF

Submit solution


Points: 1.00 (partial)
Time limit: 0.75s
Memory limit: 512M
Input: roadsigns.inp
Output: roadsigns.out

Author:
Problem source:
PVHOI 5
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

Input

Output

Sample Input 1

5
3 1 5
4 2 4
5 2 2
6 5 3
7 6 2 

Sample Output 1

3 4 

Comments

Please read the guidelines before commenting.