char a=getchar();//getchar用于接受单个字符(当然包括空格和换行),在算法题中经常用于吸收换行,在接收后可以用putchar输出。
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3