Answer:
Ram said he/she did it.
Step-by-step explanation:
"You" can refer to somebody, regardless of gender. So you'd better use either "he" or "she" for the indirect speech.
"You did it," Ram said.
Indirect =
Ram said he/she did it.
_____________________
#IndonesianPride - kexcvi