🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.lang.csharp
Article #436

Re: problem w c

#436
From: lukrak
Date: Thu, 22 Jan 2004 21:55
46 lines
2067 bytes
> > Zapisz w postaci funkcji algorytm: dane s_ dwa zbiory A i B (
n-elementowy
> i
> > elementowy)
> >
> > o elementach b�d�cych liczbami ca�kowitymi. Elementy tych zbior�w dane
s�
> za
> > pomoc
> >
> > _ dw�ch tablic uporz�dkowanych rosn� co. Wyznacz liczb� element�w
> nale��cych
> >
> > do zbioru A \ B (r�nica zbior�w ).
> >
> > {
> > int ilosc = 0;
> > for(i = 0; i < N; i++)
> > {
> >     bool found = false;
> >     for(j = 0; j < M; j++)
> >     {
> >         if(A[i] == B[j])
> >         {
> >             found = true;
> >             break;
> >         }
> >     }
> >     if(!found)
> >         ilosc++;
> > }
> >
> > return ilosc;
> > }
> >  mam cos takiego i moje pytanie b�mi czy  wykona sie prawid�owo i jak
> > obliczy� do tego z�o�ono�� (czas wykonania algorytmu) oraz jak zbudowa�
> > prosty schamat blokowy.
> >
> > pom�cie mi
> > odpiszcie na adres luk...@xl.wp.pl prosze to wa�ne
> >
> >
> >
>
>
Technical Details
Message-ID: <bupgsp$8nd$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: "lukrak" <luk...@o2.pl>
Newsgroups: alt.pl.comp.lang.csharp,alt.pl.comp.os.cracking,alt.pl.comp.os.cracking.lamanie-nog,alt.pl.comp.os.cracking.lamanie-programow,alt.pl.www.jezyki,pl.comp.lang.c,pl.comp.nowe-programy,pl.soc.edukacja,pl.soc.edukacja.szkola
Subject: Re: problem w c
Date: Thu, 22 Jan 2004 22:55:08 +0100
Organization: tp.internet - http://www.tpi.pl/
Lines: 48
Message-ID: <bupgsp$8nd$1@atlantis.news.tpi.pl>
NNTP-Posting-Host: pb80.ciechanow.cvx.ppp.tpnet.pl
X-Trace: atlantis.news.tpi.pl 1074808543 8941 213.77.203.80 (22 Jan 2004 21:55:43 GMT)
X-Complaints-To: use...@tpi.pl
NNTP-Posting-Date: Thu, 22 Jan 2004 21:55:43 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit