Borderou de evaluare (job #1722386)
Utilizator | Data | 27 iunie 2016 22:39:38 | |
---|---|---|---|
Problema | Alpin | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:14: error: ‘short int j1’ redeclared as different kind of symbol
short int i1,j1;
^
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/cstdio:41,
from user.cpp:1:
/usr/include/i386-linux-gnu/bits/mathcalls.h:240:1: error: previous declaration of ‘double j1(double)’
__MATHCALL (j1,, (_Mdouble_));
^
user.cpp: In function ‘int main()’:
user.cpp:63:15: error: assignment of function ‘double j1(double)’
for(j1=1;j1<=n;j1++)
^
user.cpp:63:15: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
user.cpp:63:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
for(j1=1;j1<=n;j1++)
^
user.cpp:63:26: error: ISO C++ forbids incrementing a pointer of type ‘double (*)(double)throw ()’ [-fpermissive]
for(j1=1;j1<=n;j1++)
^
user.cpp:63:26: error: lvalue required as increment operand
user.cpp:65:33: error: invalid types ‘int [1030][double(double)throw ()]’ for array subscript
citeste(v[i1][j1]);
^
user.cpp:66:36: error: invalid types ‘int [1030][double(double)throw ()]’ for array subscript
a[++k].val=v[i1][j1];
^
user.cpp:68:23: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
a[k].c=j1;
^
user.cpp:121:15: error: assignment of function ‘double j1(double)’
for(j1=1;j1<=n;j1++)
^
user.cpp:121:15: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
user.cpp:121:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
for(j1=1;j1<=n;j1++)
^
user.cpp:121:26: error: ISO C++ forbids incrementing a pointer of type ‘double (*)(double)throw ()’ [-fpermissive]
for(j1=1;j1<=n;j1++)
^
user.cpp:121:26: error: lvalue required as increment operand
user.cpp:122:28: error: invalid types ‘dinamica [1030][double(double)throw ()]’ for array subscript
if(ans<d[i1][j1].nr)
^
user.cpp:125:20: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
col=j1;
^
user.cpp:126:29: error: invalid types ‘dinamica [1030][double(double)throw ()]’ for array subscript
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !