Computing resultant with subresultants