Computer Science, asked by chandanamegha13, 1 month ago

Karn wants to focus on driving and wants to know the maximum money
he would have to spend. Can you tell him the Maximum amount ?
Note: No cycle is allowed.
Input Format
The first line of input consists of number of test cases, T.
The first line of each test case consists of two space separated integers,
N and P
Next P lines consists of three space separated integers, X, Y and C where
X and Y represents the shop numbers and indicate a path between the
two. C is the cost to travel on the path.
onctraints​

Answers

Answered by sam842704
0

Answer:

hsjsns susbsnsjs sjsb sjsjs sjsjznzn

Answered by ABHAYSHARMA84
0

Explanation:

Karan wants to focus on driving and wants to know the maximum mummy he old two husband can you tell me the maximum amount of the cycle 16 in format the first line of input consists of number Kaise the first line contact number of test cases t first time what is the test cash counter to space integers and next P lines of the space separated would

Similar questions