cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
SZIDI PLM!!!!!!!! IS TITI!!
SZIDI PLM!!!!!!!! IS TITI!!
Jun 12, 2012 at 5:51am UTC
robi13
(3)
Se creeaza o matrice cu n linii si m coloane de numere reale.Sa se creeze o lista dublu inlantuita ce contine elementele de pe linia 1, coloana m, linia n,coloana 1.Sa se stearga din lista dublu inlantuita toate nodurile ce contin numerele nule.
Jun 12, 2012 at 6:07am UTC
Cristi Stefan
(10)
cin>>n>>m;
n1=1;
m1=m;
while(n1>0 || m1>0)
{
if(n>0 && m>0)
` {
adaugareListaDubla(vect[n][m]);
n1++;
n--;
m--;
} else if(n>0)
{
adaugareListaDubla(vect[n][m]);
n1++;
n--;
}
else if(m>0)
{
adaugareListaDubla(vect[n][m]);
m--;
}
}
Jun 12, 2012 at 6:09am UTC
robi13
(3)
Atsta pot so transcriu in pseudocod??
Jun 12, 2012 at 6:16am UTC
robi13
(3)
care ii rezultatele? din algoritm?
Topic archived. No new replies allowed.