cf/mirror

Amusement Park

CF
1193A3s1024 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
2 1
1 2
Output
1
Sample 2of 2
Input
3 3
1 2
2 3
1 3
Output
9
1193A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)