Search found 1 match

by saeedcsedu
Sat Oct 25, 2014 11:42 am
Forum: Volume 104 (10400-10499)
Topic: 10462 - Is There A Second Way Left?
Replies: 29
Views: 14650

Re: 10462 - Is There A Second Way Left?

why wrong answer: my code: #include <stdio.h> #include <iostream> #include <queue> #include <string.h> using namespace std; int flag=0,flag1=0; int par[105],v,cost=0,t=0; struct data { int node1,node2; int weight; bool operator < (const data &p) const { return (weight>p.weight); } }; priority_queue ...

Go to advanced search