New test case type
Test Case format (or example test case)
for ex -
T
n m
U1 V1 W1
U2 V2 W2
... (m rows u, v, w) per test case
(In the format of CP websites or the ones shown in the generator application)
1st line - Numeber of test cases(t)
then for the next t test cases :
1st line : Number of nodes (n) and number of edges (m)
next m lines : u, v, w (i.e edge from u to v with weight w)
Reference link to the question(URL):-
https://codeforces.com/problemset/problem/1624/G
Additional details/comments:-
New test case type
Test Case format (or example test case)
for ex -
(In the format of CP websites or the ones shown in the generator application)1st line - Numeber of test cases(t)
then for the next t test cases :
1st line : Number of nodes (n) and number of edges (m)
next m lines : u, v, w (i.e edge from u to v with weight w)
Reference link to the question(URL):-
https://codeforces.com/problemset/problem/1624/GAdditional details/comments:-