test

C code posted by test
created at 14 Jul 10:15

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <string.h>

int main()
{
    int c;
    while((c = getchar()) != EOF){
        if(c == ' '){
            while((c = getchar()) == ' ');
            putchar(' ');
        }
        putchar(c);
    }

    return 0;
}
259 Bytes in 2 ms with coderay