Borderou de evaluare (job #1775672)

Utilizator Iustin48Ventaniuc Iustin Iustin48 Data 10 octombrie 2016 16:52:42
Problema Parcare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:12:1: error: ‘vector’ does not name a type vector <long long> H[mod]; ^ user.cpp:13:19: error: scalar object ‘dl’ requires one element in initializer short dl={-1,0,1,0}; ^ user.cpp:14:19: error: scalar object ‘dc’ requires one element in initializer short dc={0,1,0,-1}; ^ user.cpp:18:7: error: conflicting declaration ‘masini A [10]’ } A[10]; ^ user.cpp:8:6: error: ‘A’ has a previous declaration as ‘char A [10][10]’ char A[10][10]; ^ user.cpp: In function ‘void decodificare()’: user.cpp:25:16: error: request for member ‘x’ in ‘A[(k ++)]’, which is of non-class type ‘char [10]’ A[k++].x=W&7; ^ user.cpp:27:14: error: request for member ‘y’ in ‘A[k]’, which is of non-class type ‘char [10]’ A[k].y=W&7; ^ user.cpp: In function ‘void codificare()’: user.cpp:36:30: error: request for member ‘x’ in ‘A[i]’, which is of non-class type ‘char [10]’ W += (1<<(6*i))*A[i].x+(1<<(6*C+3))*A[i].y; ^ user.cpp:36:39: error: ‘C’ was not declared in this scope W += (1<<(6*i))*A[i].x+(1<<(6*C+3))*A[i].y; ^ user.cpp:36:50: error: request for member ‘y’ in ‘A[i]’, which is of non-class type ‘char [10]’ W += (1<<(6*i))*A[i].x+(1<<(6*C+3))*A[i].y; ^ user.cpp: In function ‘int main()’: user.cpp:42:9: error: ‘N’ was not declared in this scope in>>N; ^ user.cpp:75:5: error: ‘H’ was not declared in this scope H[W%mod].push_back(W); ^ user.cpp:76:12: error: ‘dr’ was not declared in this scope int st=dr=1; ^ user.cpp:77:5: error: ‘Q’ was not declared in this scope Q[p] ^ user.cpp:77:7: error: ‘p’ was not declared in this scope Q[p] ^ user.cpp:79:5: error: expected ‘;’ before ‘while’ while(st<=dr)

Ceva nu functioneaza?