Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Notice Board

Per partecipare al corso di Fondamenti di programmazione 2023-24 loggatevi e attivatelo nella vostra pagina dei corsi preferiti. A quel punto il corso appare nel menù personale cliccando sul proprio avatar. Per i materiali degli anni precedenti seguite lo stesso metodo.

To join the Programming/Lab 2023-24 course, log-on and select it on the my courses page. It will appear on the personal menu of your avatar. For earlier years use the same method.

HW8 rec test 5 e test 6

j
jbox65 (530 points)
4 7 10
in Recupero HW8 by (530 points)
closed by
Non capisco come mai non riesco a passare questi 2 test (test json_6 e json_7) nonostante testo e lista restituiti siano corretti, mentre tutti gli altri li passo senza problemi (non passavo gli ultimi 2 per timeout, ma ho verificato in locale che aumentando i tempi di timeout passo pure quei due).
319 views
closed with the note: Problematica risolta

1 Answer

andrea.sterbini (207940 points)
756 1270 2377
by (208k points)

Dagli errori mi sembra che concateni male le stringhe lasciando un carattere in più.

E   'This[255 chars]portttunnelencapsulations,anditexaminestherole[263 chars]Pv6.'
E   'This[255 chars]porttunnelencapsulations,anditexaminestheroleo[262 chars]Pv6.'
E   'm.jK[623 chars]+@Y###s=^U.aLcNubR!=IdqyaSSlFRIgRGKP^_xtlME(=P[324 chars]FBRy'
E   'm.jK[623 chars]+@Y##s=^U.aLcNubR!=IdqyaSSlFRIgRGKP^_xtlME(=PS[323 chars]FBRy' 
j
jbox65 (530 points)
4 7 10
by (530 points)
Perfetto, ho capito l'errore, grazie mille.