17 solutions

  • 1
    @ 2023-8-25 8:48:09

    #include <stdio.h> int main() { int x; scanf("%d",&x); int a; int b=0; while(x>0) { a=x%10; b=b*10+a; x=x/10; } printf("%d",b); return 0; }

    Information

    ID
    27
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    6
    Tags
    # Submissions
    6386
    Accepted
    2109
    Uploaded By