🟢 Վարժություն 2

Գրել ծրագիր, որը կտպի տրված զանգվածի բոլոր էլեմենտները հակառակ կարգով և անջատված բացատով։
#include <iostream>
int main() {
	const int n = 5;
  int arr[n] = {5, 2, 3, 1, 4};
  // put your code here
}
 

Constraints

Time limit: 0.2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue