Borderou de evaluare (job #1540845)

Utilizator madalomarMadalomar madalomar Data 3 decembrie 2015 13:17:14
Problema Evantai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void read()’: user.cpp:12:14: error: ‘V’ was not declared in this scope fin>>V[i]; ^ user.cpp:9:9: warning: unused variable ‘a’ [-Wunused-variable] int a=0,b=0; ^ user.cpp:9:13: warning: unused variable ‘b’ [-Wunused-variable] int a=0,b=0; ^ user.cpp: In function ‘void update(int, int, int)’: user.cpp:18:9: error: ‘AIB’ was not declared in this scope AIB[l][c]+=val; ^ user.cpp:19:19: error: ‘zeros’ was not declared in this scope l+=zeros(l); ^ user.cpp: In function ‘int query(int, int)’: user.cpp:28:14: error: ‘AIB’ was not declared in this scope val+=AIB[l][c]; ^ user.cpp:29:19: error: ‘zeros’ was not declared in this scope l-=zeros(l); ^ user.cpp: In function ‘void solve()’: user.cpp:41:13: error: ‘val’ was not declared in this scope val=1+query(j-1,V[i]+V[j]-1); ^ user.cpp:41:29: error: ‘V’ was not declared in this scope val=1+query(j-1,V[i]+V[j]-1); ^ user.cpp:42:13: error: ‘sol’ was not declared in this scope sol+=val; ^ user.cpp:43:29: error: ‘v’ was not declared in this scope update(j-1,V[i]+v[j]-1,val); ^ user.cpp: In function ‘void print()’: user.cpp:49:11: error: ‘sol’ was not declared in this scope fout<<sol; ^

Ceva nu functioneaza?