2019-ICPC- Nanchang section entitled solution to a problem

L. Who is the Champion

Title: Given a matrix of order N, i , j (i, j) digital representation of the game at the team i i scored Team j j how many balls. Both teams plus one point for each draw the winning party the winner plus three points, the loser no points nor points. Output champion team number. First Compare scores, scores the same number of words as the number of relatively wins, wins, then the output play-offs.

  • Structure recording the number of teams, scores, the number of wins. sort order, set cmp
  • Code (hold for the time being)
Published 47 original articles · won praise 4 · Views 1272

Guess you like

Origin blog.csdn.net/listenhhh/article/details/104000313