Borderou de evaluare (job #2128825)

Utilizator KOzarmOvidiu Badea KOzarm Data 12 februarie 2018 09:33:11
Problema Cadrane 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:29:10: error: ‘n’ was not declared in this scope fin>>n; ^ user.cpp:32:23: error: ‘sort’ was not declared in this scope sort(a+1,a+n+1,cmp); ^ user.cpp:34:16: error: ‘v’ was not declared in this scope if(a[i].y!=v[k]) ^ user.cpp:34:18: error: ‘k’ was not declared in this scope if(a[i].y!=v[k]) ^ user.cpp:37:9: error: ‘b’ was not declared in this scope b[v[k]]=k; ^ user.cpp:42:18: error: ‘k’ was not declared in this scope update(1,k,1,b[a[i].y],1) ^ user.cpp:42:22: error: ‘b’ was not declared in this scope update(1,k,1,b[a[i].y],1) ^ user.cpp:42:33: error: ‘update’ was not declared in this scope update(1,k,1,b[a[i].y],1) ^ user.cpp:44:9: error: ‘pts’ was not declared in this scope pts[i].lower=query(1,b[a[i].y]); ^ user.cpp:44:39: error: ‘query’ was not declared in this scope pts[i].lower=query(1,b[a[i].y]); ^ user.cpp:48:18: error: ‘k’ was not declared in this scope update(1,k,1,b[a[i].y],-1) ^ user.cpp:48:22: error: ‘b’ was not declared in this scope update(1,k,1,b[a[i].y],-1) ^ user.cpp:48:34: error: ‘update’ was not declared in this scope update(1,k,1,b[a[i].y],-1) ^ user.cpp:50:9: error: ‘pts’ was not declared in this scope pts[i].higher+=query(1,b[a[i].y]); ^ user.cpp:50:41: error: ‘query’ was not declared in this scope pts[i].higher+=query(1,b[a[i].y]); ^ user.cpp:52:5: error: expected ‘;’ before ‘}’ token } ^ user.cpp:52:5: warning: statement has no effect [-Wunused-value]

Ceva nu functioneaza?