Borderou de evaluare (job #2654742)
Utilizator | Data | 2 octombrie 2020 10:30:58 | |
---|---|---|---|
Problema | Intersectie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(in[i] > sf)
^~
main.cpp:36:2: error: 'vect' was not declared in this scope
vect.push_back(v[i].x,final);
^~~~
main.cpp:141:8: error: redeclaration of 'int st'
int st = 1,dr = m,rasp = 0;
^~
main.cpp:107:8: note: 'int st' previously declared here
int st = 1,dr = m,rasp = 0;
^~
main.cpp:141:15: error: redeclaration of 'int dr'
int st = 1,dr = m,rasp = 0;
^~
main.cpp:107:15: note: 'int dr' previously declared here
int st = 1,dr = m,rasp = 0;
^~
main.cpp:141:22: error: redeclaration of 'int rasp'
int st = 1,dr = m,rasp = 0;
^~~~
main.cpp:107:22: note: 'int rasp' previously declared here
int st = 1,dr = m,rasp = 0;
^~~~
main.cpp:211:8: error: redeclaration of 'int st'
int st = 1,dr = m,rasp = 0;
^~
main.cpp:107:8: note: 'int st' previously declared here
int st = 1,dr = m,rasp = 0;
^~
main.cpp:211:15: error: redeclaration of 'int dr'
int st = 1,dr = m,rasp = 0;
^~
main.cpp:107:15: note: 'int dr' previously declared here
int st = 1,dr = m,rasp = 0;
^~
main.cpp:211:22: error: redeclaration of 'int rasp'
int st = 1,dr = m,rasp = 0;
^~~~
main.cpp:107:22: note: 'int rasp' previously declared here
int st = 1,dr = m,rasp = 0;
^~~~
main.cpp:104:8: warning: unused variable 'x2' [-Wunused-variable]
int x2 = x;
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !