Borderou de evaluare (job #629425)

Utilizator avatar ReBeGhEl Rebegea Stefan ReBeGhEl IP ascuns
Problemă Oraș (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 1 feb. 2022 10:06:55 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void floodfill(int, int, char, char, int, int)': main.cpp:33:5: error: 'queue' was not declared in this scope 33 | queue<pair<int, int> >monopoly; | ^~~~~ main.cpp:3:1: note: 'std::queue' is defined in header '<queue>'; did you forget to '#include <queue>'? 2 | #include <fstream> +++ |+#include <queue> 3 | main.cpp:33:26: error: expected primary-expression before '>' token 33 | queue<pair<int, int> >monopoly; | ^ main.cpp:33:27: error: 'monopoly' was not declared in this scope 33 | queue<pair<int, int> >monopoly; | ^~~~~~~~ main.cpp:59:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 59 | int main() | ^~ main.cpp:59:9: note: remove parentheses to default-initialize a variable 59 | int main() | ^~ | -- main.cpp:59:9: note: or replace parentheses with braces to value-initialize a variable main.cpp:60:1: error: a function-definition is not allowed here before '{' token 60 | { | ^ main.cpp:99:2: error: expected '}' at end of input 99 | } | ^ main.cpp:31:1: note: to match this '{' 31 | { | ^