Facebook
From Morose Horse, 9 Years ago, written in Plain Text.
This paste is a reply to Re: Untitled from Jittery Macaque - go back
Embed
Viewing differences between Re: Untitled and Re: Re: Untitled
#include 
#include 
using namespace std;
int bool tab [500001];
int main()
{
int n;
n,a;
bool x;
scanf("%d",&n;
for(int i=0;i
for(int i=1;i<=n;i++)
{
    x=false;
    for(int j=0;j     {
        if(i==tab[j])
            x=true;
    }
    if(x==false)
    cout< }
i=0;i {scanf("%d",&a);
tab[a]=true;}


while(true)
{ if(tab[i]==false) {cout< else j++;
    return 0;
}

Replies to Re: Re: Untitled rss

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