Borderou de evaluare (job #2026523)
Utilizator | Data | 24 septembrie 2017 16:03:52 | |
---|---|---|---|
Problema | Marele Zgomot | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:15:16: error: ‘int y1’ redeclared as different kind of symbol
int n,m,Max,x1,y1,x2,y2;
^
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:1:
/usr/include/i386-linux-gnu/bits/mathcalls.h:243:1: error: previous declaration of ‘double y1(double)’
__MATHCALL (y1,, (_Mdouble_));
^
user.cpp: In function ‘void BFS(int, int)’:
user.cpp:83:28: error: assignment of function ‘double y1(double)’
y1 = j;
^
user.cpp:83:28: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
user.cpp: In function ‘int main()’:
user.cpp:169:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i<V.size(); i++)
^
user.cpp:173:26: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
make_path(x1,y1,x2,y2);
^
user.cpp:109:6: error: initializing argument 2 of ‘void make_path(int, int, int, int)’ [-fpermissive]
void make_path(int i1,int j1,int i2,int j2)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !