add numtri(IOI94) problem