#include #include #include struct blob{ char faction; int taille; }; typedef struct blob blob; struct arene{ blob combattant[50]; }; typedef struct arene arene; void printBlob(blob b) { printf("Faction : %c\nTaille : %d\n",b.faction, b.taille); } blob rencontre(blob blob1,blob blob2) { int tailleOut; char factionOut; if (blob1.faction==blob2.faction) { tailleOut = blob1.taille + blob2.taille; factionOut = blob1.faction; } if (blob1.faction!=blob2.faction) { if (blob1.taille>blob2.taille) { tailleOut = blob1.taille-blob2.taille; factionOut = blob1.faction; } if (blob1.taille