Compiler output
prog.cpp: In function 'int main()':
prog.cpp:26:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < clasament.size(); j++) {
^
prog.cpp:38:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < clasament.size(); j++) {
^
prog.cpp:49:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < clasament.size(); j++)
^
prog.cpp:50:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (clasament[j].first == echipa1)
^
prog.cpp:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < clasament.size(); j++)
^
prog.cpp:55:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (clasament[j].first == echipa2)
^
prog.cpp:17:6: warning: unused variable 'punctaj' [-Wunused-variable]
int punctaj, scor1, scor2;
^