3. On the sides of triangle $A B C$, points were marked: 10 - on side $A B$, 11 - on side $B C$, 12 - on side $A C$. At the same time, none of the vertices of the triangle were marked. How many triangles exist with vertices at the marked points?
Answer: 4951.

Solution. Three points out of the 33 given can be chosen in $C_{33}^{3}=5456$ ways. In this case, a triangle is formed in all cases except when all three points lie on one side of the triangle. Thus, $C_{12}^{3}+C_{11}^{3}+C_{10}^{3}=220+165+120=505$ ways do not work. Therefore, there are $5456-505=4951$ triangles.