ICPC 2024 vòng Quốc gia - E: Edge Elimination

View as PDF

Submit solution

Points: 1.70
Time limit: 3.0s
Memory limit: 512M
Input: stdin
Output: stdout

Author:
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

1
8 10
1 1
4 1
4 4
1 4
2 2
3 2
3 3
2 3
1 2
2 3
3 4
4 1
5 6
7 8
1 5
2 6
3 7
4 8

Sample Output 1

64

Comments

Please read the guidelines before commenting.


There are no comments at the moment.