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 > Progetto "DIE HARD"
Pages (13): « 1 2 [3] 4 5 6 7 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
middu
.arcimaestro.

User info:
Registered: Oct 2002
Posts: 466 (0.05 al dì)
Location:
Corso:
Anno:
Time Online: 4 Days, 16:14:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

chi vuole scambiare idee segretariousi@live.it sono presente su msn

28-12-2009 13:55
Click Here to See the Profile for middu Click here to Send middu a Private Message Find more posts by middu Add middu to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
middu
.arcimaestro.

User info:
Registered: Oct 2002
Posts: 466 (0.05 al dì)
Location:
Corso:
Anno:
Time Online: 4 Days, 16:14:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

a me viene in mente una struttura di grafo, dati i concetti di ragggiungibilità

28-12-2009 14:20
Click Here to See the Profile for middu Click here to Send middu a Private Message Find more posts by middu Add middu to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
arfish
.amico.

User info:
Registered: Feb 2007
Posts: 36 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: 3
Time Online: 1 Day, 6:39:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Credo che utilizzare un grafo sia necessario, il discorso è come lo riempio ci metto tutte le possibili e immaginabili combinazioni? Oppure esiste un'altra maniera?

28-12-2009 16:02
Click Here to See the Profile for arfish Click here to Send arfish a Private Message Find more posts by arfish Add arfish to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
middu
.arcimaestro.

User info:
Registered: Oct 2002
Posts: 466 (0.05 al dì)
Location:
Corso:
Anno:
Time Online: 4 Days, 16:14:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma penso che per iniziare dobbiamo creare una struct per rappresentare un contenitori

28-12-2009 18:15
Click Here to See the Profile for middu Click here to Send middu a Private Message Find more posts by middu Add middu to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
middu
.arcimaestro.

User info:
Registered: Oct 2002
Posts: 466 (0.05 al dì)
Location:
Corso:
Anno:
Time Online: 4 Days, 16:14:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

penso di si! in quanto ad esempio se devi creare n contenitori iniziali bisogna memorizzarli tutti nella struttura di grafo. Io avrei pensato di rappresentare il grafo mediante liste di adiacenza, ma ripeto bisogna realizzare il contenitore come un nodo di tale grafo. Questo lo si fa tramite una struct.

28-12-2009 18:19
Click Here to See the Profile for middu Click here to Send middu a Private Message Find more posts by middu Add middu to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
-Oblivion-
.primate.

User info:
Registered: Nov 2006
Posts: 67 (0.01 al dì)
Location: Seriate
Corso: Informatica
Anno: Quarto [Furoi corso]
Time Online: 22:52:11 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Scusatemi la domanda forse banale, ma cosa significa questo nelle specifiche:

Il programma deve leggere dallo standard input (stdin) una sequenza di righe (separate da \n), ciascuna
delle quali etc.. etc..

I vari elementi sulla riga sono separati da uno o piµu spazi. Quando una riga µe letta, viene eseguital'operazione associata; le operazioni di stampa sono effettuate sullo standard output (stdout), e ognioperazione deve iniziare su una nuova riga.

__________________
Annunci Gratis : La nuova dimensione degli annuci online - Jabbi.it

31-12-2009 11:48
Click Here to See the Profile for -Oblivion- Click here to Send -Oblivion- a Private Message Visit -Oblivion-'s homepage! Find more posts by -Oblivion- Add -Oblivion- to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
-Oblivion-
.primate.

User info:
Registered: Nov 2006
Posts: 67 (0.01 al dì)
Location: Seriate
Corso: Informatica
Anno: Quarto [Furoi corso]
Time Online: 22:52:11 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

PS. per la ricerca delle varie combinazioni in n passi e la ricerca di una determinata combinazione, io stavo pensando di applicare Dijkstra su liste di adiacenza.
Il loop si evita appunto con dijkstra.

Questa è la mia primissima idea ponderata in 5 minuti dopo aver letto il progetto, quindi con buona probabilità è una minchiata, in questo caso sarei immensamente felice se me lo diceste XD

__________________
Annunci Gratis : La nuova dimensione degli annuci online - Jabbi.it

31-12-2009 12:47
Click Here to See the Profile for -Oblivion- Click here to Send -Oblivion- a Private Message Visit -Oblivion-'s homepage! Find more posts by -Oblivion- Add -Oblivion- to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
delleroby
.amico.

User info:
Registered: May 2007
Posts: 30 (0.00 al dì)
Location:
Corso: nformatica
Anno: 1
Time Online: 1 Day, 6:01:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ciao a tutti,
ma secondo voi l'input deve avvenire da prompt dei comandi o da file di testo?

Grazie mille per la risposta!

02-01-2010 21:14
Click Here to See the Profile for delleroby Click here to Send delleroby a Private Message Find more posts by delleroby Add delleroby to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
darkshadow
Are You From The Past?

User info:
Registered: Jul 2007
Posts: 485 (0.07 al dì)
Location: Milano
Corso: Informatica Magistrale
Anno: 1
Time Online: 13 Days, 13:38:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

è indifferente perchè basta fare il redirect dello stdin su file o lasciarlo di default alla tastiera

__________________
by Ð@rk§h@ÐØw

02-01-2010 23:53
Click Here to See the Profile for darkshadow Click here to Send darkshadow a Private Message Find more posts by darkshadow Add darkshadow to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
delleroby
.amico.

User info:
Registered: May 2007
Posts: 30 (0.00 al dì)
Location:
Corso: nformatica
Anno: 1
Time Online: 1 Day, 6:01:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Si sò che non dovrebbe essere difficile.
Ma il prof come lo vuole? Lettura da file o inserimento da tastiera?

Scusate se ripresento il dubbio.

E grazie ancora.

03-01-2010 02:34
Click Here to See the Profile for delleroby Click here to Send delleroby a Private Message Find more posts by delleroby Add delleroby to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
darkshadow
Are You From The Past?

User info:
Registered: Jul 2007
Posts: 485 (0.07 al dì)
Location: Milano
Corso: Informatica Magistrale
Anno: 1
Time Online: 13 Days, 13:38:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

forse non hai capito, il fatto che gli passi l'input da file o da tastiera è indifferente xte. le funzioni di I/O (es. scanf, getchar, ecc) sono sempre le stesse indipendentemente da dove prendi l'input.

spero di essere stato + chiaro questa volta.

__________________
by Ð@rk§h@ÐØw

03-01-2010 12:26
Click Here to See the Profile for darkshadow Click here to Send darkshadow a Private Message Find more posts by darkshadow Add darkshadow to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
iDarbert
.simpatizzante.

User info:
Registered: Feb 2009
Posts: 17 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 3:29:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by delleroby
Si sò che non dovrebbe essere difficile.
Ma il prof come lo vuole? Lettura da file o inserimento da tastiera?

Scusate se ripresento il dubbio.

E grazie ancora.

Da tastiera

04-01-2010 11:38
Click Here to See the Profile for iDarbert Click here to Send iDarbert a Private Message Find more posts by iDarbert Add iDarbert to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
f3d386
.primate.

User info:
Registered: Oct 2005
Posts: 79 (0.01 al dì)
Location: Milano
Corso: Sicurezza Informatica
Anno: 1
Time Online: 6:36:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

qualcuno è riuscito ad implementare almeno uan delle funzioni esiste raggiungibile configurazioni?

04-01-2010 11:39
Click Here to See the Profile for f3d386 Click here to Send f3d386 a Private Message Find more posts by f3d386 Add f3d386 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
iDarbert
.simpatizzante.

User info:
Registered: Feb 2009
Posts: 17 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 3:29:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Io sono ancora bloccato all'implementazione dei grafi, non è che qualcuno ha ancora gli esercizi del laboratorio?

04-01-2010 12:08
Click Here to See the Profile for iDarbert Click here to Send iDarbert a Private Message Find more posts by iDarbert Add iDarbert to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
palaz
.amico.

User info:
Registered: Apr 2007
Posts: 36 (0.01 al dì)
Location: nova milanese
Corso: informatica
Anno: secondo
Time Online: 11:03:00: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

anche io sono bloccato.. penso di aver trovato l'algoritmo adatto ma non riesco a metterlo giu funzionante e mi va in loop!!!

04-01-2010 13:13
Click Here to See the Profile for palaz Click here to Send palaz a Private Message Find more posts by palaz Add palaz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 15:50.    Post New Thread    Post A Reply
Pages (13): « 1 2 [3] 4 5 6 7 » ... Last »   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.115 seconds (66.65% PHP - 33.35% MySQL) con 24 query.