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