Borderou de evaluare (job #1875405)
Utilizator | Data | 11 februarie 2017 01:40:53 | |
---|---|---|---|
Problema | AI | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:9: error: ‘int j0’ redeclared as different kind of symbol
int i0, j0, is1, js1, is2, js2, ir1, jr1, ir2, jr2;
^
In file included from /usr/include/features.h:357:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/os_defines.h:39,
from /usr/include/i386-linux-gnu/c++/4.8/bits/c++config.h:420,
from /usr/include/c++/4.8/iosfwd:38,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/i386-linux-gnu/bits/mathcalls.h:239:1: error: previous declaration of ‘double j0(double)’
__MATHCALL (j0,, (_Mdouble_));
^
user.cpp: In function ‘bool ok(int, int)’:
user.cpp:59:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (i==i0 && j==j0)
^
user.cpp: In function ‘bool zap(int, int)’:
user.cpp:75:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (j<=jv && jv<j0)
^
user.cpp:78:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (j0<jv && jv<= j)
^
user.cpp:82:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (jv==j && j==j0)
^
user.cpp:91:33: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (i>iv && iv>i0 && jv>j && j0>jv && (i-i0)*(jv-j)==(i-iv)*(j0-j) )
^
user.cpp:91:65: warning: pointer to a function used in arithmetic [-Wpointer-arith]
if (i>iv && iv>i0 && jv>j && j0>jv && (i-i0)*(jv-j)==(i-iv)*(j0-j) )
^
user.cpp:91:66: error: invalid operands of types ‘int’ and ‘double (*)(double)throw ()’ to binary ‘operator*’
if (i>iv && iv>i0 && jv>j && j0>jv && (i-i0)*(jv-j)==(i-iv)*(j0-j) )
^
user.cpp:94:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (i0>iv && iv>i && jv>j0 && j>jv && (i0-i)*(jv-j0)==(i0-iv)*(j-j0) )
^
user.cpp:94:50: error: invalid operands of types ‘int’ and ‘double(double)throw ()’ to binary ‘operator-’
if (i0>iv && iv>i && jv>j0 && j>jv && (i0-i)*(jv-j0)==(i0-iv)*(j-j0) )
^
user.cpp:94:66: error: invalid operands of types ‘int’ and ‘double(double)throw ()’ to binary ‘operator-’
if (i0>iv && iv>i && jv>j0 && j>jv && (i0-i)*(jv-j0)==(i0-iv)*(j-j0) )
^
user.cpp:97:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (i0>iv && iv>i && j0>jv && jv>j && (i0-i)*(jv-j)==(j0-j)*(iv-i) )
^
user.cpp:97:58: warning: pointer to a function used in arithmetic [-Wpointer-arith]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !