Borderou de evaluare (job #1199135)

Utilizator heracleRadu Muntean heracle Data 18 iunie 2014 12:11:48
Problema Prefix Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void rezolv()’: user.cpp:34:13: error: ‘val’ was not declared in this scope val[i]=k; ^ user.cpp:37:25: error: ‘val’ was not declared in this scope else if(k!=0 && val[k]==i-k) ^ user.cpp: In function ‘int main()’: user.cpp:51:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d\n",&t); ^ user.cpp:55:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(v+1,Q,in); ^

Ceva nu functioneaza?