Hi,
ABC notation doesn’t use #
for accidentals. See: http://abcnotation.com/wiki/abc:standard:v2.1#accidentals
For your first example, you’d want:
C^CD^DE
There may be other (related or non-standard) notations that allow this but I’m not aware of all of the implementations.