Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Algoritmi e strutture dati > [Algoritmi - Torelli] Appello Luglio
Pages (6): « 1 2 3 4 [5] 6 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
bono vox U2
.primate.

User info:
Registered: Jun 2004
Posts: 66 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: 2
Time Online: 10:18:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Unhappy creazione INSIEMI adeguati

Ciao!
ank'io ho seri problemi con la creazione di insiemi adeguati! Ci sono fermo ormai da 6 ORE e nn riesco a trovare 1soluzione!
Il problema è k nn riesco a trovare l'algoritmo nel caso in cui l'invitato ha tanti cibi preferiti e ci sono tanti tavoli(qndi doppi o trili) con qsti cibi.

E' 1CASINOOOOO!!!

RAGAZZI QLC1 K LO ABBIA TROVATO MI DIA 1MANO!!!!!

09-07-2004 16:43
Click Here to See the Profile for bono vox U2 Click here to Send bono vox U2 a Private Message Find more posts by bono vox U2 Add bono vox U2 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
yeffa
.amico.

User info:
Registered: Oct 2002
Posts: 22 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 6:35:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
creazione insiemi adeguati

io sono fermo da due giorni a forza di prove senza successo.

Se qualcuno vuole lunedi della settimana prossima ci si potrebbe trovare in laboratorio a Comelico.Io ci posso essere solo la mattina.

Attendo notizie dagli interessati


ciao

09-07-2004 16:58
Click Here to See the Profile for yeffa Click here to Send yeffa a Private Message Find more posts by yeffa Add yeffa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dinada
.simpatizzante.

User info:
Registered: Mar 2004
Posts: 10 (0.00 al dì)
Location: milano
Corso: informatica
Anno: terzo
Time Online: 1 Day, 11:24:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Thumbs up Re: creazione insiemi adeguati

Originally posted by yeffa
io sono fermo da due giorni a forza di prove senza successo.

Se qualcuno vuole lunedi della settimana prossima ci si potrebbe trovare in laboratorio a Comelico.Io ci posso essere solo la mattina.

Attendo notizie dagli interessati


ciao


Ciao, io ho sistemato la visita a spirale e gli invitati , ma sto sbattendo la testa sugli insiemi adeguati :?
direi che lunedì mattina in comelico io ci sarò :)

10-07-2004 10:21
Click Here to See the Profile for dinada Click here to Send dinada a Private Message Find more posts by dinada Add dinada to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sirio
.illuminato.

User info:
Registered: Mar 2003
Posts: 187 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: Terzo
Time Online: 2 Days, 17:32:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Anche io sto sbattendomi un pò,
qualcuno sa come deve essere definita struct 'visita' presente quando si fa una ricerca simmetrica in un albero?

Sulle dispense de l prof non è descritta ma solo mensionata eppure a me da un errore di mancata referenziazione

:(

10-07-2004 11:40
Click Here to See the Profile for sirio Click here to Send sirio a Private Message Find more posts by sirio Add sirio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mitnik
.illuminato.

User info:
Registered: Jun 2002
Posts: 235 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 3 Days, 4:25:25 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ciao, io sono bloccato sulla creazione degli insiemi adeguati, voi come ragionate per ottenerli?

13-07-2004 07:36
Click Here to See the Profile for mitnik Click here to Send mitnik a Private Message Find more posts by mitnik Add mitnik to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sirio
.illuminato.

User info:
Registered: Mar 2003
Posts: 187 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: Terzo
Time Online: 2 Days, 17:32:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Per trovare l'insieme adeguato sto pensando a una struttuta ausiliari, es. lista cibi con dei puntatori ai tavoli, per cui se avrò un oggetto

struct cibo

char *c (cibo della lista)
puntatore prossimo cibo
puntatore tavolo


Confronto ogni cibo presente sul tavolo con il cibo della lista cibi se non è presente creo un nuovo elemento nella lista (con il cibo del tavolo)o cancello se un cibo non è più presente.



P.S. Non riesco a legg. da stan imput (anche se il file compila correttamente) mi potete dare qualche suggerimento. Sia nel tavolo che per gli invitati ho un puntatore a char, per cui ho:
tavolo(a,b,s,q,*c)

13-07-2004 09:48
Click Here to See the Profile for sirio Click here to Send sirio a Private Message Find more posts by sirio Add sirio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mitnik
.illuminato.

User info:
Registered: Jun 2002
Posts: 235 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 3 Days, 4:25:25 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

non mi è molto chiaro. Ma su un tavolo si trova massimo un cibo.

per leggere da standard input;

printf("inserisci.....\n");
scanf("%d %d %d %d %s\n",a,b,s,q,c);

13-07-2004 10:26
Click Here to See the Profile for mitnik Click here to Send mitnik a Private Message Find more posts by mitnik Add mitnik to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sirio
.illuminato.

User info:
Registered: Mar 2003
Posts: 187 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: Terzo
Time Online: 2 Days, 17:32:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Vediamo se mi spiego meglio, nella lista cibi associo ad ogni cibo tutti i tavoli che contengono quel cibo. In realtà è solo un idea visto che non l'ho ancora realizzata :-(
**************************************************
**
Credo che il problema che ho sia in questa parte di codice
for( c=getchar() ; isspace(c);c=getchar());
switch(c){
case 'i':
if(c=='\n')
scanf("%d %d %d %d %s\n",a,b,s,q,cibo);

13-07-2004 13:42
Click Here to See the Profile for sirio Click here to Send sirio a Private Message Find more posts by sirio Add sirio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mitnik
.illuminato.

User info:
Registered: Jun 2002
Posts: 235 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 3 Days, 4:25:25 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

alcune domande:

se piu insiemi hanno la stessa distanza d(S), quale scelgo per i calcoli?

nell'esempio del prof, dopo aver eliminato con e 16 -2 come è possibile che bruno sia in 35 19?

Come implementate il calcolo di insiemi adeguati?

grazie

14-07-2004 14:33
Click Here to See the Profile for mitnik Click here to Send mitnik a Private Message Find more posts by mitnik Add mitnik to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sirio
.illuminato.

User info:
Registered: Mar 2003
Posts: 187 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: Terzo
Time Online: 2 Days, 17:32:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ma qualcuno è riuscito a finirlo questo progetto? Io non ancora, la vedo veramente dura!!!!

16-07-2004 07:19
Click Here to See the Profile for sirio Click here to Send sirio a Private Message Find more posts by sirio Add sirio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gighen
.grande:maestro.

User info:
Registered: Nov 2002
Posts: 527 (0.06 al dì)
Location: Brixia
Corso: Specialista!!
Anno: con quante N ??
Time Online: 10 Days, 7:41:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io sono a buon punto ma sono bloccato da un giorno e mezzo sul calcolo del baricentro...

__________________
"Documentation is like sex: when it's good, it's very, very good; and when it's bad, it's still better than nothing."
Dick Brandon

16-07-2004 10:16
Click Here to See the Profile for Gighen Click Here to See the Blog of Gighen Click here to Send Gighen a Private Message Visit Gighen's homepage! Find more posts by Gighen Add Gighen to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
bono vox U2
.primate.

User info:
Registered: Jun 2004
Posts: 66 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: 2
Time Online: 10:18:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Quanti l'hanno finito?

ragazzi io sono 1 di qlli k l'ha finito, proprio 10min fa!! e nn ci credo ancora ovviamente! ;)


Io direi di fare 1bel sondaggino, x vedere qnti siamo all'orale (qllo di giugno l'hanno consegnato IN 2!!!)...

ALZI LA MANO CHI L'HA FINITO!!!

17-07-2004 12:32
Click Here to See the Profile for bono vox U2 Click here to Send bono vox U2 a Private Message Find more posts by bono vox U2 Add bono vox U2 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
bono vox U2
.primate.

User info:
Registered: Jun 2004
Posts: 66 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: 2
Time Online: 10:18:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
output

Qlc1 ha provato a testarlo??? ma a voi le celle vengono uguali all'output del prof o qlc1 diversa?? a me qlle diverse sono:

il primo Carlo -->42 -5 anzichè 41 -5
Anna --> -7 -5 anzichè -8 -6

Le ho fatte ank a mano su un foglio, e vengono così! nn è k ha cannato il prof???

17-07-2004 12:45
Click Here to See the Profile for bono vox U2 Click here to Send bono vox U2 a Private Message Find more posts by bono vox U2 Add bono vox U2 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
LazerPhEa
Vendo Steinberger GM7TA

User info:
Registered: Jul 2002
Posts: 4400 (0.51 al dì)
Location: S. Donato Beach
Corso: TICo
Anno: Finito tutto
Time Online: 83 Days, 22:35:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: output

(Sorry, avevo detto una cazzata :D)

__________________
Questo è il giardino
Dove il principe muore
Nessun sentiero
Nessun destriero
Soltanto un nome... Eterno...

Last edited by LazerPhEa on 17-07-2004 at 18:51

17-07-2004 13:05
Click Here to See the Profile for LazerPhEa Click Here to See the Blog of LazerPhEa Click here to Send LazerPhEa a Private Message Find more posts by LazerPhEa Add LazerPhEa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
jekyll
.simpatizzante.

User info:
Registered: Jan 2004
Posts: 17 (0.00 al dì)
Location: milano
Corso: informatica
Anno: 3
Time Online: 10:54:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io mi sa che nn ho capito bene qlcosa...l'ho finito ma nn va molto :(
i problemi del prof xò sembrano sbagliati anche a me...
il primo tavolo è messo in 20,0 con semilato 4,qdi nn verrà mai spostato.
il pirmo invitato che fa visualizzare è: aldo 20 4....
ma scusa...il arriva fino a 24...si sovrappone....cosa sbaglio?!?!?!

18-07-2004 00:38
Click Here to See the Profile for jekyll Click here to Send jekyll a Private Message Find more posts by jekyll Add jekyll to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 09:44.    Post New Thread    Post A Reply
Pages (6): « 1 2 3 4 [5] 6 »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.073 seconds (59.54% PHP - 40.46% MySQL) con 24 query.