Facebook
From Morose Horse, 9 Years ago, written in Plain Text.
This paste is a reply to Re: Untitled from Jittery Macaque - view diff
Embed
Download Paste or View Raw
Hits: 1318
  1. #include <iostream>
  2. #include <cstdio>
  3. using namespace std;
  4. bool tab [500001];
  5. int main()
  6. {
  7. int n,a;
  8. bool x;
  9. scanf("%d",&n;
  10. for(int i=0;i<n-1;i++)
  11. {scanf("%d",&a);
  12. tab[a]=true;}
  13.  
  14.  
  15. while(true)
  16. { if(tab[i]==false) {cout<<i; break;}
  17. else j++;
  18.     return 0;
  19. }
  20.  
  21.  

Replies to Re: Re: Untitled rss

Title Name Language When
Re: Re: Re: Untitled Small Bee text 9 Years ago.