Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- long long b,s,d,f,g,h,j,k,l,z,x,c,v,n,m,q,w,e,r,t,y,u,i,o,p;
- long long a[100022];
- int main()
- {
- while(cin>>n){
- if(n!=0) cout<<n<<" ";
- else c++;
- }
- for(i=1;i<=n;i++){
- if(a[i]==1)cout<<"0";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement