mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-09 01:38:48 +00:00
17 lines
269 B
C++
17 lines
269 B
C++
|
#include <bits/stdc++.h>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
int n[25];
|
||
|
|
||
|
int main() {
|
||
|
for (int i = 0; i < 20; i++) {
|
||
|
cin >> n[i];
|
||
|
}
|
||
|
reverse(n, n + 20);
|
||
|
for (int i = 0; i < 20; i++) {
|
||
|
cout << "N[" << i << "] = " << n[i] << endl;
|
||
|
}
|
||
|
return 0;
|
||
|
}
|