Facultatea de Automatica si Calculatoare prin LSAC organizează in fiecare semestru un LAN Party la care participă toți studenții care vor sa își testeze abilitățile la un anumit joc. Se dorește realizarea unei soluții software(program executabil) ce poate automatiza acest proces.
typedef struct Jucator{ char *nume, *prenume; int xp; } Jucator;
Fisierel folosite de checker arata astfel:
1 0 0 0 0
10 // numarul de echipe din fisier 10 The Waiver Wire // numarul de jucatori urmat de numele echipei Popa Florentina 8 //numele prenumele si punctajul jucatorului 1 Popescu Anca 9 Pop Anamaria 9 Radu Simona 1 Dumitru Iulian 7 Stan Roxana 5 Stoica Oana 5 Gheorghe Irina 10 Matei Diana 1 Ciobanu Mirela 0
Elixir Junior Legalize Savage The Skyrynners The Abusement Park Chafing the Dream The Big Egos The Waiver Wire Elixir Junior -- Legalize Savage -- The Skyrynners The Abusement Park -- Chafing the Dream The Big Egos -- The Waiver Wire The Big Egos --- 7.10 Chafing the Dream --- 8.10 Savage --- 7.90 Elixir Junior --- 5.40 The Big Egos -- Chafing the Dream Savage -- Elixir Junior Savage --- 8.90 Chafing the Dream --- 9.10 Savage -- Chafing the Dream Chafing the Dream --- 10.10
Executabilul obținut în urma compilării va avea numele lanParty, iar regula de rulare va fi:
;