Job 12771

Owner
Gaita Stefan Lucian
Problem
LCM
Contest
MindCoding 2016 Test Round (Div. 1)
Source
0.65KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:22:8: error: overloaded function with no contextual type information
     min=cmmmc;
        ^
prog.cpp:23:13: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<'
     while(a<min&&b<min)
             ^
prog.cpp:23:20: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<'
     while(a<min&&b<min)
                    ^
prog.cpp:39:12: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator>'
     if(min>cmmmc)
            ^

Questions?

Sponsors Gold