#P1493. [CSP-J 2023] 旅游巴士

[CSP-J 2023] 旅游巴士

Description

Input Format

Output Format

5 5 3
1 2 0
2 5 1
1 3 0
3 4 3
4 5 1
6

Hint

Source

CSP