#include #include #include using namespace std; ifstream cin("date.in"); ofstream cout("date.out"); int x,t,k,k2,nr,nr2,viz,t2,i,j,nrtot; char ech[150],ech2[150],s2[300]; struct gl { int gol, pct; char s[120]; }ab[5]; bool cmp (gl a, gl b) { if (a.pctnr2) ab[nrtot].pct=3; else if (nr==nr2) ab[nrtot].pct=1; } else { if (nr>nr2) ab[j].pct+=3; else if (nr==nr2) ab[j].pct+=1; ab[j].gol+=nr; } viz=0; for (j=1;j=1;i--) cout<