Borderou de evaluare (job #2116867)
Utilizator | Stefan Dascalescu stefdascalescu | Data | 28 ianuarie 2018 11:20:09 |
---|---|---|---|
Problema | NN | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:12: error: ‘int y0’ redeclared as different kind of symbol
int n,m,x0,y0;
^
In file included from /usr/include/features.h:357:0,
from /usr/include/assert.h:37,
from /usr/include/c++/4.8/cassert:43,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:33,
from user.cpp:2:
/usr/include/i386-linux-gnu/bits/mathcalls.h:242:1: error: previous declaration of ‘double y0(double)’
__MATHCALL (y0,, (_Mdouble_));
^
user.cpp: In function ‘int main()’:
user.cpp:42:15: error: assignment of function ‘double y0(double)’
y0=1;
^
user.cpp:42:15: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
user.cpp:46:9: warning: the address of ‘double y0(double)’ will always evaluate as ‘true’ [-Waddress]
if(!y0)
^
user.cpp: In function ‘int cb(long double, long double)’:
user.cpp:32:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !