cf/mirror

Chemical table

CF
1012B1900· candidate master1s512 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
2 2 3
1 2
2 2
2 1
Output
0
Sample 2of 3
Input
1 5 3
1 3
1 1
1 5
Output
2
Sample 3of 3
Input
4 3 6
1 2
1 3
2 2
2 3
3 1
3 3
Output
1
1012B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…