bulb.cpp: In function 'int FindWinner(int, std::vector<int>, std::vector<int>)':
bulb.cpp:53:9: error: 'q' was not declared in this scope
q=0;
^
bulb.cpp:54:9: error: 'ok' was not declared in this scope
ok=0;
^~
bulb.cpp:55:9: error: 'ok1' was not declared in this scope
ok1=0;
^~~
bulb.cpp:55:9: note: suggested alternative: 'poz1'
ok1=0;
^~~
poz1
bulb.cpp:56:9: error: 'pozitie' was not declared in this scope
pozitie=0;
^~~~~~~
bulb.cpp:39:6: warning: unused variable 'n' [-Wunused-variable]
int n= l.size(),poz,poz1;
^
bulb.cpp:115:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^