Job 18888

Owner
turcuman vlad
Problem
Compress
Contest
MindCoding 2017 Round 2 Bosch (Div. 1)
Source
1.20KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'char Convert(char, char)':
prog.cpp:33:55: warning: operation on 'ch' may be undefined [-Wsequence-point]
         if( abs(result - (x = convert(++ch,ch))) < Min)
                                                       ^
prog.cpp:41:53: warning: operation on 'ch' may be undefined [-Wsequence-point]
         if(abs(result- (x = convert(++ch,ch))) < Min)
                                                     ^
prog.cpp:46:12: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return d;
            ^

Results

Test numberResultTime
1Wrong answer0.5364s
Questions?

Sponsors Gold