Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int n,p,i,v[1600];
- cin>>n>>p;
- for(i=1;i<=n;i++)
- {
- cin>>v[i];
- }
- for(i=1;i<=n;i++)
- {
- if(i!=p)
- cout<<v[i]<<" ";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement