Q
?
A -
Informatica
search
Login
Remember
Register
New Activity
Questions
Unanswered
Tags
Categories
Users
Course
News
FAQs
Do you need any help?
Ask a Question
Notice Board
Situazione finale voti HW
Eserciziario Python
WTF Python!
Exams
Test
Grades
Attachments
Esame 6-11-19
check
RECUPERO Homework 1
link
RECUPERO Homework 2
link
RECUPERO Homework 3
link
RECUPERO Homework 4
link
Esame 19-9-19
check
link
Esame 16-7-19
check
link
Esame 24-6-19
check
link
Esame 10-4-19
check
link
Esame 31-1-19
check
link
Esame 8-1-19
check
link
Homework 4
link
Homework 3
check
link
Homework 2
check
link
Homework 1
check
link
1.162
questions
1.988
answers
3.710
comments
582
users
Related questions
[AVVISO] HOMEWORK 1 DI RECUPERO
Most popular tags
esercizio3
homework3
es3
homework
es2
es1
homework1
hw3
homework4
esercizio1
homework2
esercizio2
avvisi
hw4
hw2bis
peer-assessment
python
hw4bis
problema
homework-di-recupero
hw3bis
prova-di-esame
hw2
test
voti
esame
ricorsione
consegna
hw1bis
tempi
aiuto
homework2bis
errore
dizionari
librerie
attore
consigli
feedback
liste
risultati
scadenze
zip
bonus
efficienza
esercizio
hw1
leggibilità
metodi
oggetti
program_03
Consigli per l'esercizio 1 del HW2 di recupero
B
Benigno
(1020 points)
6
17
28
asked
Feb 8, 2019
in
HW2bis
by
Benigno
(
1,020
points)
recategorized
Feb 10, 2019
by
andrea.sterbini
Se qualcuno ci è riuscito e potesse anche solo darmi un suggerimento gli sarei grato, il mio problema è come distinguere due sequenze. Ad esempio se due sequenze finiscono entrambe con 5, come faccio a dire che sono due sequenze separate?
198
views
homework-di-recupero
3
answer
Please
log in
or
register
to answer this question.
1 Answer
g
gianluca
(1270 points)
1
12
19
answered
Feb 9, 2019
by
gianluca
(
1,270
points)
se la seconda sequenza ha il primo numero uguale all'ultimo numero della prima diventerà una sequenza unica altrimenti le conti conti come due sequenze separate e le successive sequenze che iniziano per 5 verranno aggiunte a tutte e due le sequenze
0
comment
B
Benigno
(1020 points)
6
17
28
commented
Feb 9, 2019
by
Benigno
(
1,020
points)
Si però non posso avere due sequenze con entrambe l’indirizzo 5.
g
gianluca
(1270 points)
1
12
19
commented
Feb 9, 2019
by
gianluca
(
1,270
points)
hai visto il risultato del primo essrcizio :RisSeq1
B
Benigno
(1020 points)
6
17
28
commented
Feb 12, 2019
by
Benigno
(
1,020
points)
Si, ma non capisco il nesso con la mia domanda.
La mia idea era quella di memorizzare l'ultimo numero della sequenza, e se l'inizio della sequenza successiva era lo stesso numero allora univo le sequenze.
Il problema è che spesso a più sequenze è associato lo stesso ultimo numero.
Please
log in
or
register
to add a comment.