We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C++
- Introduction
- Arrays Introduction
- Discussions
Arrays Introduction
Arrays Introduction
Sort by
recency
|
1336 Discussions
|
Please Login in order to post a comment
include
include
include
include
include
using namespace std;
int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */
int a; cin>>a; int n[a]; for(int i=0; i>n[i]; } for(int i = a-1 ;i>=0;i--){ cout<
include
using namespace std;
int main() { int n; cin>>n; int arr[n]; for(int i=0;i>arr[i]; }
}
Constraints
1 <= N <= 1000
1 <= A[i] <= 10000, where A[i] is the i'th integer in the array.
Why is anyone not coding as per the constraints?
include
using namespace std;
int main() { int n; cin >> n; int arr[n];
}