cf/mirror

The Third Letter

CF
1850H1700· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
5 3
1 2 2
2 3 4
4 2 -6
6 5
1 2 2
2 3 4
4 2 -6
5 4 4
3 5 100
2 2
1 2 5
1 2 4
4 1
1 2 3
Output
YES
NO
NO
YES
1850H.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…