Resistive transition in granular disordered high Tc superconductors: A numerical study