cf/mirror

Divan and bitwise operations

CF
1614C1500· specialist1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
2 1
1 2 2
3 2
1 3 5
2 3 5
5 4
1 2 7
3 3 7
4 4 0
4 5 2
Output
4
20
112
1614C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)