Job 16409

Owner
Vasiu Alexandru
Problem
Kpath
Contest
MindCoding 2016 Round 4 (Div. 1)
Source
1.91KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'void dijkstra(int)':
prog.cpp:60:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(V.size()>k)
             ^
prog.cpp: In function 'int main()':
prog.cpp:85:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(k>V.size())
         ^
prog.cpp:84:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if(ok)
       ^

Results

Test numberResultTime
1Wrong answer0.2795s
Questions?

Sponsors Gold