请问一下各位大神,我哪错了???

lyh098 仙辞 2024-02-05 9:00:34 10

#include <bits/stdc++.h>

using namespace std;

int main() { int a[100], n = 0; while (cin >> a[n]) { n++; if (cin.get() == '\n') { break; } }

for (int i = n - 1; 0 <= i; i--) {
    cout << a[i] << " ";
}
return 0;

}

{{ vote && vote.total.up }}