Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
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
10dan büyük mü küçük mü
test
reference
dynamic_cast in assert Causing Error
Program_2
hangman
Copy elision sample modern C++
binary
Arrays
VC++