Borderou de evaluare (job #1735331)

Utilizator ASTELOTudor Enescu ASTELO Data 29 iulie 2016 15:37:29
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:23:5: error: ‘v’ was not declared in this scope v[i]=v[i-1]+v[i]; ^ user.cpp:31:19: error: ‘v’ was not declared in this scope printf("%d\n",v[x]); ^ user.cpp:19:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifra.in","r",stdin); ^ user.cpp:20:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifra.out","w",stdout); ^ user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%c",&t,&c); ^ user.cpp:26:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^

Ceva nu functioneaza?