Borderou de evaluare (job #2029627)

Utilizator cont_nouCont Nou cont_nou Data 30 septembrie 2017 12:15:27
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:17: error: scalar object ‘di’ requires one element in initializer int di={-1,0,1,0}; ^ user.cpp:9:17: error: scalar object ‘dj’ requires one element in initializer int dj={0,-1,0,1}; ^ user.cpp: In function ‘int lee()’: user.cpp:50:22: error: ‘b’ was not declared in this scope Q.push(make_pair(b,c)); ^ user.cpp:50:24: error: ‘c’ was not declared in this scope Q.push(make_pair(b,c)); ^ user.cpp:67:14: error: ‘ic’ was not declared in this scope return a[ic][jc]; ^ user.cpp:67:18: error: ‘jc’ was not declared in this scope return a[ic][jc]; ^ user.cpp: In function ‘int sobolee()’: user.cpp:80:22: error: ‘b’ was not declared in this scope Q.push(make_pair(b,c)); ^ user.cpp:80:24: error: ‘c’ was not declared in this scope Q.push(make_pair(b,c)); ^ user.cpp:97:14: error: ‘ic’ was not declared in this scope return a[ic][jc]; ^ user.cpp:97:18: error: ‘jc’ was not declared in this scope return a[ic][jc]; ^ user.cpp: In function ‘void nrcamere()’: user.cpp:99:6: error: redefinition of ‘void nrcamere()’ void nrcamere() ^ user.cpp:69:6: error: ‘void nrcamere()’ previously defined here void nrcamere() ^ user.cpp: At global scope: user.cpp:108:1: error: expected declaration before ‘}’ token } ^ user.cpp: In function ‘void construire()’: user.cpp:41:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] {scanf("%c ",&x); ^ user.cpp:45:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^

Ceva nu functioneaza?