They will continue flowering, but your yield will be heavily reduced.
In future, grow all autos or all photoperiod plants and never mix the two.
As you know, your photos won't flower at 18/6 and your autos won't produce much at 12/12.
And never grow anything at 24/0, all plants NEED sleep to function properly.