Borderou de evaluare (job #2875869)

Utilizator Darius1414Dobre Darius Adrian Darius1414 Data 22 martie 2022 14:57:00
Problema Qvect Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int medi(int, int)': main.cpp:62:13: error: 'binar' was not declared in this scope 62 | binar (k,i,pz,mid); | ^~~~~ main.cpp:68:5: error: expected primary-expression before '}' token 68 | } | ^ main.cpp: In function 'void binar(int&, int, int&, int)': main.cpp:74:10: error: 'i' was not declared in this scope 74 | dr=v[i][0]; | ^ main.cpp: In function 'int interc(int, int)': main.cpp:92:29: warning: unused variable 'i' [-Wunused-variable] 92 | int x[10005],poz[10005],i,p1,p2,sz=0; | ^ main.cpp: In function 'int main()': main.cpp:151:17: error: too few arguments to function 'void binar(int&, int, int&, int)' 151 | cout<<binar() | ^ main.cpp:70:6: note: declared here 70 | void binar(int &ok,int x,int &pz,int src) | ^~~~~ main.cpp:152:19: error: 'i' was not declared in this scope 152 | for (int i=1; i<=q; i++) | ^ main.cpp:134:9: warning: unused variable 'st' [-Wunused-variable] 134 | int st,dr; | ^~ main.cpp:134:12: warning: unused variable 'dr' [-Wunused-variable] 134 | int st,dr; | ^~ main.cpp: In function 'int medi(int, int)': main.cpp:69:1: warning: control reaches end of non-void function [-Wreturn-type] 69 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?