Baryons are made of 3 quarks. If the question asks for the general composition, it doesn't want specific details of up, down or strange. So you need to write "3 quarks (qqq)", where q stands for any quark.
Clearly, this is how you would have to write a baryon anti-particle: