Borderou de evaluare (job #2534295)

Utilizator RazvanucuPopan Razvan Calin Razvanucu Data 30 ianuarie 2020 12:55:42
Problema Vis Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:17: error: scalar object 'dx' requires one element in initializer int dx={0,0,1,-1}; ^ main.cpp:7:17: error: scalar object 'dy' requires one element in initializer int dy={-1,1,0,0}; ^ main.cpp: In function 'bool verificare(int, int, int)': main.cpp:14:17: error: 'n' was not declared in this scope if(i<1 || i>n || j<1 || j>n) ^ main.cpp: In function 'void Lee(int, bool, bool)': main.cpp:31:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(i=l2 && j==c2) ^ main.cpp:39:9: error: expected primary-expression before '}' token } ^ main.cpp: In function 'int main()': main.cpp:44:8: error: 'n' was not declared in this scope f>>n>>k1>>k2>>l1>>c1>>l2>>c2; ^ main.cpp:49:11: error: request for member 'push' in 'coada', which is of non-class type 'std::queue<std::pair<int, int> > [10]' coada.push({1,1}); ^~~~ Non zero exit status: 1

Ceva nu functioneaza?