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

Do you need help?

Es2 hw4 timeout error

g
gianluca (1270 points)
1 12 19
in Es2 by (1.3k points)
recategorized by

ciao a tutti ,praticamente sull'ultimo test ho un timeout error  quindi il mio programma impiega più di tre secondi ,invece sulla finestra 'efficienza' ho:

'10 loops, best of 3= 2.96789 sec per loop'

quindi perchè non dovrei passare il test ? non viene preso quel tempo ?

253 views

1 Answer

_andrea_ (45670 points)
11 42 297
by (45.7k points)
Penso che quel "best" si riferisca letteralmente al miglior tempo di qualcosa. Ma visto che 2,96 è un numero mooooolto vicino a 3 secondi, dubito che tutte le altre esecuzioni stiano sotto. Probabilmente ne hai alcune (anzi quasi tutte) che vanno oltre i 3 secondi