Replace each string of one or more blanks with a signle blank

前端 未结 0 1482
夕颜
夕颜 2020-12-29 07:04

This was already asked, but I made my own program and I don\'t know why it doesn\'t work.

int c;
char blank;


while ((c = getchar()) != EOF) {
    if (c == \         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题