Job 14141

Owner
Banu Denis
Problem
Model E
Contest
MindCoding 2016 Round 1 Take Off Labs (Div. 1)
Source
2.12KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp: In function 'void ctb2(long int, long int)':
prog.cpp:25:12: error: 'poz5' was not declared in this scope
     long a=poz5,b=poz4,mij;
            ^
prog.cpp:26:15: error: 'b' was not declared in this scope
     while (a<=b)
               ^
prog.cpp:28:9: error: 'mij' was not declared in this scope
         mij=(a+b)/2;
         ^
prog.cpp: At global scope:
prog.cpp:78:18: error: 'poz' is not a type
 long ctb5(long x,poz)
                  ^
prog.cpp: In function 'int main()':
prog.cpp:118:1: error: expected '}' at end of input
 }
 ^

Questions?

Sponsors Gold