Cod sursa(job #1354999)
Utilizator | Data | 22 februarie 2015 12:01:15 | |
---|---|---|---|
Problema | Convertor | Scor | 0 |
Compilator | c | Status | done |
Runda | rosedu_cdl_2015 | Marime | 0.23 kb |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(){
freopen("convertor.in", "r", stdin);
char text[1024*1024];
char buffer[1024];
while(gets(buffer)){
strcat(text, buffer);
}
printf("%s", text);
return 0;
}