Job 14373

Owner
Axinie Razvan
Problem
Intercity
Source
1.11KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:27:22: warning: overflow in implicit constant conversion [-Woverflow]
             old_cost = INF;
                      ^
prog.cpp:34:13: warning: unused variable 'dx' [-Wunused-variable]
         int dx = Q.top().first;
             ^
prog.cpp:49:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     (d[n] < old_cost) ? cout << d[n] : cout << old_cost;
           ^

Results

Test numberResultTime
110.2798s
210.2825s
310.2815s
4Wrong answer0.2824s
Questions?

Sponsors Gold