Job 12340

Owner
vancea catalin
Problem
Pharm
Source
2.56KB
Result
65 points

Compiler output

prog.cpp: In function 'int dfs(int, int, int)':
prog.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
prog.cpp: In function 'int main()':
prog.cpp:44:9: warning: unused variable 'a' [-Wunused-variable]
     int a,i,j,ind=1,maxim1=-99999,maxim2=-99999,xi,xj,k,r;
         ^
prog.cpp:44:57: warning: unused variable 'r' [-Wunused-variable]
     int a,i,j,ind=1,maxim1=-99999,maxim2=-99999,xi,xj,k,r;
                                                         ^
prog.cpp:94:24: warning: 'xj' may be used uninitialized in this function [-Wmaybe-uninitialized]
         cout<<xi<<" "<<xj<<"\n"<<color<<"\n";
                        ^
prog.cpp:94:15: warning: 'xi' may be used uninitialized in this function [-Wmaybe-uninitialized]
         cout<<xi<<" "<<xj<<"\n"<<color<<"\n";
               ^

Results

Test numberResultTime
15%0.0722s
25%0.0618s
35%0.0638s
45%0.0673s
55%0.0706s
65%0.0960s
7Wrong answer0.0615s
85%0.0729s
95%0.0723s
105%0.0716s
115%0.0699s
12Wrong answer0.0716s
135%0.0680s
14Wrong answer0.0797s
15Wrong answer0.0754s
16Wrong answer0.0827s
175%0.0770s
18Wrong answer0.0739s
195%0.0815s
20Wrong answer0.0786s
Questions?

Sponsors Gold