1 solutions

  • 0
    @ 2025-11-5 16:14:24

    C :

    #include<stdio.h>
    #include<string.h>
    int main(){
    	char str[40];
    	gets(str);
    	int i;
    	for(i=strlen(str)-1;i>=0;i--)
    	{
    		printf("%c",str[i]);
    	}
    	printf("\n");
    	return 0;
    
    }
    
    
    • 1

    Information

    ID
    17600
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    (None)
    Tags
    (None)
    # Submissions
    0
    Accepted
    0
    Uploaded By