Borderou de evaluare (job #967481)
| Utilizator | Data | 27 iunie 2013 20:02:52 | |
|---|---|---|---|
| Problema | Alpin | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:10:28: error: ‘int y1’ redeclared as different kind of symbol
int l,n,i,j,k,a,b,m,t,p,x1,y1;
^
In file included from /usr/include/features.h:346:0,
from /usr/local/include/c++/4.8.0/i686-pc-linux-gnu/bits/os_defines.h:39,
from /usr/local/include/c++/4.8.0/i686-pc-linux-gnu/bits/c++config.h:420,
from /usr/local/include/c++/4.8.0/cstdio:41,
from user.cpp:1:
/usr/include/bits/mathcalls.h:242:1: error: previous declaration of ‘double y1(double)’
__MATHCALL (y1,, (_Mdouble_));
^
user.cpp: In function ‘int main()’:
user.cpp:38:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<v[i].size();j++,l++)
^
user.cpp:48:29: error: assignment of function ‘double y1(double)’
if (m==rez[a][b]) x1=a,y1=b;
^
user.cpp:48:29: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
user.cpp:51:16: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
reconst(x1,y1);
^
user.cpp:13:6: error: initializing argument 2 of ‘void reconst(int, int)’ [-fpermissive]
void reconst(int a,int b)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
