Festival directors on Thursday announced the 18 films competing for top prizes this year at the Cannes Film Festival. The lineup included a Civil War film by Sofia Coppola, a Ukrainian road movie and a drama about AIDS activism.