Borderou de evaluare (job #1032852)

Utilizator Juve45UAIC Alexandru Ionita Juve45 Data 16 noiembrie 2013 10:01:15
Problema Sate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:20: error: size of array ‘a’ is too large int n,m,x,y, a[d][d], use[d]; ^ user.cpp:10:9: error: ‘asd’ was not declared in this scope vector <asd> v[d], c[d]; ^ user.cpp:10:12: error: template argument 1 is invalid vector <asd> v[d], c[d]; ^ user.cpp:10:12: error: template argument 2 is invalid user.cpp:10:18: error: invalid type in declaration before ‘,’ token vector <asd> v[d], c[d]; ^ user.cpp: In function ‘void read_f()’: user.cpp:26:11: error: request for member ‘push_back’ in ‘v[k1]’, which is of non-class type ‘int’ v[k1].push_back(k2); ^ user.cpp:27:11: error: request for member ‘push_back’ in ‘v[k2]’, which is of non-class type ‘int’ v[k2].push_back(k1); ^ user.cpp:28:11: error: request for member ‘push_back’ in ‘c[k1]’, which is of non-class type ‘int’ c[k1].push_back(k3); ^ user.cpp:29:11: error: request for member ‘push_back’ in ‘c[k2]’, which is of non-class type ‘int’ c[k2].push_back(-k3); ^ user.cpp:31:1: error: ‘a’ was not declared in this scope a ^ user.cpp:32:1: error: expected ‘;’ before ‘}’ token } ^ user.cpp: In function ‘void bfs(int)’: user.cpp:36:2: error: ‘q’ was not declared in this scope {q.push(k); ^ user.cpp:38:1: error: ‘a’ was not declared in this scope a=q.front(); ^ user.cpp:41:19: error: expected ‘]’ before ‘)’ token {if(use[v[a][i]==0) ^ user.cpp: At global scope: user.cpp:49:1: error: expected declaration before ‘}’ token } ^

Ceva nu functioneaza?