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