Job 13021

Owner
Arnold Beiland
Problem
Intercity
Source
0.69KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:26:22: warning: comparison is always false due to limited range of data type [-Wtype-limits]
             if(dst[i]==-1){
                      ^
prog.cpp:34:14: warning: comparison is always true due to limited range of data type [-Wtype-limits]
     if(dst[n]!=-1 && dst[n]<=b/a) cout<<a*dst[n]<<'\n';
              ^

Results

Test numberResultTime
1Wrong answer0.8028s
Questions?

Sponsors Gold