17 solutions

  • 0
    @ 2026-4-17 21:06:42

    #include <stdio.h>

    int main() { int a; int i=1; scanf("%d",&a); while(i<=4){ printf("%d",a%10); a=a/10; i++; } return 0; }

    Information

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