Update p1/cautare.c

Issue #1