#include <stdio.h> int main(void) { int ch; while ((ch = getchar()) != EOF) // Ctrl + Z 结束符 putchar(ch); return 0; }