Borderou de evaluare (job #2357480)

Utilizator mihaimodiMihai Modi mihaimodi Data 27 februarie 2019 14:23:05
Problema Zone Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:9:13: error: expected primary-expression before ',' token int cautbin(, int val) ^ main.cpp:9:15: error: expected primary-expression before 'int' int cautbin(, int val) ^~~ main.cpp:9:22: error: expression list treated as compound expression in initializer [-fpermissive] int cautbin(, int val) ^ main.cpp: In function 'int main()': main.cpp:15:10: error: 'n' was not declared in this scope fin>>n; ^ main.cpp:18:18: error: 'sort' was not declared in this scope sort(s+1,s+10); ^ main.cpp:30:38: error: 'v' was not declared in this scope int c1=cautbin(1,n-2,v[s1]); ^ main.cpp:30:43: error: 'cautbin' cannot be used as a function int c1=cautbin(1,n-2,v[s1]); ^ main.cpp:35:54: error: 'cautbin' cannot be used as a function int c2=cautbin(c1+1,n-1,v[s2]); ^ main.cpp:48:74: error: 'cautbin' cannot be used as a function int l2=cautbin(l1+1,n-1,v[s4]); ^ main.cpp:67:61: error: expected ',' or ';' before '}' token } ^ main.cpp:64:69: warning: unused variable 'sum7' [-Wunused-variable] int sum7=342 ^~~~ Non zero exit status: 1

Ceva nu functioneaza?