- Owner
- vancea catalin
- Problem
- U
- Contest
- MindCoding 2016 Round 4 (Div. 1)
- Source
- 1.25KB
- Result
- Wrong answer
Compiler output
prog.cpp: In function 'int main()': prog.cpp:29:25: warning: 'maxi' may be used uninitialized in this function [-Wmaybe-uninitialized] max1=max2=maxi-1; ^ prog.cpp:51:65: warning: 'ind2' may be used uninitialized in this function [-Wmaybe-uninitialized] if(max2>=1 && max1>=1) maxi=max(maxi,max2+max1+(ind2-ind1-1)-(max1==max2)); ^ prog.cpp:51:65: warning: 'ind1' may be used uninitialized in this function [-Wmaybe-uninitialized]
Results
Test number Result Time 1 Wrong answer 0.2601s