Borderou de evaluare (job #1800870)

Utilizator mihai.alphamihai craciun mihai.alpha Data 8 noiembrie 2016 11:18:04
Problema Factorial Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int caut2(int)’: user.cpp:17:23: error: expected primary-expression before ‘)’ token if(r + pos <= ) ^ user.cpp:18:5: error: expected primary-expression before ‘}’ token } ^ user.cpp:18:5: error: expected ‘;’ before ‘}’ token user.cpp:19:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:25:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &p); ^

Ceva nu functioneaza?