Solution of the tunneling-percolation problem in the nanocomposite