Follows 483.c (Total 18 lines):

/* @JUDGE_ID:4461XX 483 C */
/* A */
#include<stdio.h>
#include<string.h>
void main( void )
{
	char arr[10000] , *p , arr1[10000] ;
	int i , j ;
/*	freopen( "e:\\tc\\bean\\483.in" , "r" , stdin ) ;*/
	while( gets( arr ) ){
		for( p=strtok( arr , " " ) , j=0 ; p ; p=strtok( NULL , " " ) , j++ ){
			if( j != 0 ) printf( " " ) ;
			strcpy( arr1 , p ) ;
			for( i=strlen(arr1)-1 ; i>=0 ; i-- ) printf( "%c" , arr1[i] ) ;
		}
		putchar( '\n' ) ;
	}
}

Back to statistics
Ya-Lin Huang (C)
huangyl@gmail.com