In a certain chess game, there are 320 people participating in the competition, and the knockout match will be conducted in pairs. If there are an odd number of participants in the competition, one person will be selected by drawing lots to directly enter the next round of competition. How many games will be played in total? Decide the champion.
在某次象棋比赛中，有320人参加比赛，两两组合进行淘汰赛，若有奇数个参赛者比赛时，用抽签的方法选出1人直接进入下一轮比赛，一共要比赛多少场，才能决出冠军．
<gadget id="calculator">320 - 1</gadget>
<output>319</output>

<result>319</result>