cf/mirror

Trapmigiano Reggiano

CF
2071C1700· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
4
1 1 1
2 1 2
1 2
3 2 2
1 2
2 3
6 1 4
1 2
1 3
4 5
5 6
1 4
Output
1
1 2
3 1 2
1 4 3 2 6 5
2071C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…