Borderou de evaluare (job #3195764)

Utilizator Allie28Radu Alesia Allie28 Data 21 ianuarie 2024 17:17:10
Problema Unique 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:97:29: error: too few arguments to function 'void changeactive(int, int, int, int, bool, std::vector<int>&)' 97 | changeactive(1, 0, n - 1, p, 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:25:6: note: declared here 25 | void changeactive(int node, int st, int dr, int p, bool stare, vector<int> &active) { | ^~~~~~~~~~~~ main.cpp:99:33: error: too few arguments to function 'void changeactive(int, int, int, int, bool, std::vector<int>&)' 99 | changeactive(1, 0, n - 1, lastpos[v[p]], 0); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:25:6: note: declared here 25 | void changeactive(int node, int st, int dr, int p, bool stare, vector<int> &active) { | ^~~~~~~~~~~~ main.cpp:104:27: error: too few arguments to function 'int calcnrdist(int, int, int, int, int, std::vector<int>&)' 104 | if (calcnrdist(1, 0, n-1, query[i].st, query[i].dr) == query[i].cand) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:41:5: note: declared here 41 | int calcnrdist(int node, int st, int dr, int qs, int qd, vector<int> &active) { | ^~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?