1 条题解

  • 0
    @ 2026-8-8 16:02:24

    #include <bits/stdc++.h> using namespace std; int x, y = 0, z, a, b, c, t[100000];

    int main () { for (int i = 1;; i++) { cin >> t[i]; if (t[i] == 0) { break; } y++; } for (int i = y; i >= 1; i--) { cout << t[i] << ' '; } return 0; }

    • 1

    信息

    ID
    78
    时间
    1000ms
    内存
    256MiB
    难度
    6
    标签
    递交数
    15
    已通过
    12
    上传者