Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
kkk
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> using namespace std int main() { int n; cin>>n; int a[n]; for (int i=1; i<=n; i++) { cin >> a[n]; } for (int i=1; i<=n; i++) { if (i%3==0){ cout << a[i] << " "; } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Implements.cpp
#22.2
operator new / delete
#31
throwing Copyable versus throwing MoveOnly
msvc set-terminate
progrm_1
Is a Union Member's Destructor Called
Additional layer of indirection
Full System Specifications version 2
Please log in to post a comment.