Job 13033

Owner
Lazar Ciprian
Problem
Folklore
Source
0.23KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:11:26: error: 'sqrt' was not declared in this scope
  int x = ceil((sqrt(delta) - 1) / 2);
                          ^
prog.cpp:11:36: error: 'ceil' was not declared in this scope
  int x = ceil((sqrt(delta) - 1) / 2);
                                    ^

Questions?

Sponsors Gold