Witam,
Ma ktoś pomysł jak trochę przyśpiszyć poniższy kod??
ZAdanie polega na wczytaniu stringa i wypisaniu wspak.
#include <stdio.h>
#include <string.h>
int main()
{
int dl;
char tab[1001];
while( scanf("%s", tab) != EOF)
{
dl = strlen(tab);
while(dl--) printf("%c", tab[dl]);
printf("\n");
}
return 0;
}