Check if there exists a simple cycle have total weight >= 0

Revision en1, by The_dreamer_, 2023-05-28 16:13:12

Please help me with this problem: Given an undirected weighted graph have n vertices and m edges (n <= 1000, m <= 10000). How to check if there exists a simple cycle have total weight >= 0. Thanks for your help.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English The_dreamer_ 2023-05-28 16:13:12 270 Initial revision (published)