You are viewing a single comment's thread. Return to all comments →
My solution without using vector:
#include <iostream> int main() { int N,i=0; std::cin>>N; int *A = new int[N]; while(std::cin>>A[i++]); while(std::cout<<A[--N]<<' ' && N); delete[] A; return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays Introduction
You are viewing a single comment's thread. Return to all comments →
My solution without using vector: