# include <stdio.h>int main (){ char ch; while ((ch=getchar ())!='#') { putchar(ch); } return 0;}
因为你没有输入换行
你可以这么弄