Borderou de evaluare (job #2555620)

Utilizator iulianarsenoiuArsenoiu Iulian iulianarsenoiu Data 24 februarie 2020 10:28:58
Problema Trampoline Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int findlast(int, int)': main.cpp:8:8: error: 'u' was not declared in this scope if(u[x]==0) ^ main.cpp:9:9: error: return-statement with no value, in function returning 'int' [-fpermissive] return; ^~~~~~ main.cpp:10:5: error: 've' was not declared in this scope ve[i].push_back(u[x]); ^~ main.cpp:10:21: error: 'u' was not declared in this scope ve[i].push_back(u[x]); ^ main.cpp: In function 'int main()': main.cpp:15:8: error: 'r' was not declared in this scope f>>r>>c>>n; ^ main.cpp:15:11: error: 'c' was not declared in this scope f>>r>>c>>n; ^ main.cpp:15:14: error: 'n' was not declared in this scope f>>r>>c>>n; ^ main.cpp:18:12: error: 'v' was not declared in this scope f>>v[i].x>>v[i].y; ^ main.cpp:21:10: error: 'v' was not declared in this scope sort(v+1,v+n+1,cmp); ^ main.cpp:21:20: error: 'cmp' was not declared in this scope sort(v+1,v+n+1,cmp); ^~~ main.cpp:21:23: error: 'sort' was not declared in this scope sort(v+1,v+n+1,cmp); ^ main.cpp:32:17: error: 'Left' was not declared in this scope Left=mij; ^~~~ main.cpp:46:17: error: 'Right' was not declared in this scope Right=mij; ^~~~~ main.cpp:53:15: error: 'Left' was not declared in this scope while(Left<=Right) ^~~~ main.cpp:53:21: error: 'Right' was not declared in this scope while(Left<=Right) ^~~~~ main.cpp:58:17: error: 'u' was not declared in this scope u[i]=mij; ^ Non zero exit status: 1

Ceva nu functioneaza?