1 solutions

  • 0
    @ 2023-12-4 19:11:07

    #include <stdio.h>

    int main() { int a[100] = {0}, n = 0, i = 0, j = 0; scanf("%d", &n); for (i = 0; i < n; i++) { scanf("%d", &a[i]); } for (j = n - 1; j >= 0; j--) { printf("%d ", a[j]); } return 0; }

    • 1

    Information

    ID
    6770
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    5
    Tags
    (None)
    # Submissions
    180
    Accepted
    63
    Uploaded By