Extreme-value statistics of networks with inhibitory and excitatory couplings.