Compiler output
prog.cpp: In function 'int main()':
prog.cpp:28:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < clasament.size(); j++) {
^
prog.cpp:40:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < clasament.size(); j++) {
^
prog.cpp:51:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < clasament.size(); j++)
^
prog.cpp:52:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (clasament[j].first == echipa1)
^
prog.cpp:56:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < clasament.size(); j++)
^
prog.cpp:57:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (clasament[j].first == echipa2)
^
prog.cpp:65:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < clasament.size(); i++)
^
prog.cpp:69:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < clasament.size(); i++)
^
prog.cpp:17:6: warning: unused variable 'punctaj' [-Wunused-variable]
int punctaj, scor1, scor2;
^