Submit solution
Points:
200.00 (partial)
Time limit:
1.0s
Memory limit:
1G
Input:
stdin
Output:
stdout
Author:
Problem type
Allowed languages
C, C++, GAS64, Pascal, Perl, PHP, Python, Sed, TCL, Text
Mạng lưới giao thông của thành phố biểu diễn bằng đồ thị
Ví dụ:
Input:
Copy
4 5 1 3
1 2 1
2 3 1
1 3 2
1 4 1
4 3 1
Output
Copy
2
Comments