You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:-
The text was updated successfully, but these errors were encountered:
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/G
Additional details/comments:-
The text was updated successfully, but these errors were encountered: