Borderou de evaluare (job #1133209)
Utilizator | Data | 4 martie 2014 16:57:31 | |
---|---|---|---|
Problema | Difprim | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:24: error: ‘int y1’ redeclared as different kind of symbol
int n,i,j,k,a,b,x,y,x1,y1,rez;
^
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:21:32: error: assignment of function ‘double y1(double)’
x1=x,y1=y;
^
user.cpp:21:32: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
user.cpp:25:15: warning: the address of ‘double y1(double)’ will always evaluate as ‘true’ [-Waddress]
if (x1 && y1) printf("%d %d\n",x,y);else
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !