Borderou de evaluare (job #2500196)
Utilizator | Data | 27 noiembrie 2019 13:47:37 | |
---|---|---|---|
Problema | Castel3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:36: error: 'int y1' redeclared as different kind of symbol
int n,arie,t,a[105][105],nr_camere,y1,x1,y2,x2,arie_m,v[105][105];
^~
In file included from /usr/include/features.h:367:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h:507,
from /usr/include/c++/6/cassert:43,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:33,
from main.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:251:1: note: previous declaration 'double y1(double)'
__MATHCALL (y1,, (_Mdouble_));
^
main.cpp: In function 'int main()':
main.cpp:43:21: error: assignment of function 'double y1(double)'
y1 = i , x1 = j , y2 = l , x2 = k;
^
main.cpp:43:21: error: cannot convert 'int' to 'double(double) throw ()' in assignment
main.cpp:51:16: warning: the address of 'double y1(double)' will always evaluate as 'true' [-Waddress]
else out << y1 << " " << x1 << " " << y2 << " " << x2 << "\n";
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !