Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency
Q
?
A -
Informatica
search
Login
Remember
Register
New Activity
Questions
Unanswered
Tags
Categories
Users
Course
News
FAQs
Do you need help?
Ask a Question
Notice Board
NEXT EXAMS
Current grades at 28/3/22
Exams and Covid-19
BUG BOUNTY / IMPROVEMENTS
Code coverage
DOWNVOTES
Course info
Course rules
Zoom links
Unit 1, log of the lectures
Unit 1, class exercises
Unit 1, video recordings
Unit 2, log of the lectures
Unit 2, additional exercises
Unit 2, video recordings
Teaching material
Getting started
Teaching assistants
Booking tutoring
Programming exercises
Exams
Test
Grades
Attachments
HW6 recovery
link
HW8 recovery
link
HW8 required
link
HW7 optional
link
HW6 required
check
link
HW4 recovery
link
HW5 optional
link
HW2 recovery
link
HW4 required
check
link
HW3 optional
link
HW2 required
check
link
HW1 optional
link
205
questions
400
answers
420
comments
321
users
No related questions found
Most popular tags
homework
exam
grades
homework2
test
recovery
secret-tests
tests
homework8
hw2
announcements
error
homework4
lectures
hw
solutions
exam-18-2-22
hw1
bug
exam-12-9-22
optional
q2a
hw4
required
hw5opt
exam-1-4-22
#homework
hw8
hw6rec
libraries
hw4req
vm
anaconda
reserved-exam
homework6
programming
hw8req
python
hw4rec
help
hw2req
2nd-chance
exercises
spyder
exam-28-1-22
homework5
exam-20-6-22
peer-assessment
esonero
exploit
Categories
Announcements
(13)
Intro. to Programming and Lab AA22-23 (Latina)
(14)
Programming AY20-21
(123)
Programming AY21-22
(205)
News
(80)
Course info
(15)
Homework
(73)
HW1 optional
(9)
HW2
(23)
HW3 optional
(2)
HW4
(14)
HW5 optional
(2)
HW6
(8)
HW7 optional
(0)
HW8
(15)
Programming in Python
(30)
Exam exercises
(7)
Programming AY22-23
(296)
Programming AY23-24
(181)
Fondamenti di programmazione AA18-19
(1.2k)
Fondamenti di Programmazione AA19-20
(436)
Fondamenti di Programmazione AA20-21
(708)
Fondamenti di programmazione AA21-22
(366)
Fondamenti di programmazione AA22-23
(564)
Fondamenti di programmazione AA23-24
(346)
Other
(26)
Anni precedenti
(784)
Architetture degli elaboratori AA20-21
(3)
BUG BOUNTY / IMPROVEMENTS
(4)
HW 2: WRONG execution time on Q2A
Simone Russolillo
(5790 points)
7
10
22
asked
Nov 3, 2021
in
HW2
by
Simone Russolillo
(
5.8k
points)
recategorized
Nov 7, 2021
by
andrea.sterbini
When I run the tests on my computer it takes 6 seconds but now that I have uploaded it on q2a it says 9 seconds. Does anyone know why this is happening and how to fix it?
282
views
hw2
28
answer
Please
log in
or
register
to answer this question.
2
Answers
gabriel.bustamante
(2540 points)
3
6
20
answered
Nov 3, 2021
by
gabriel.bustamante
(
2.5k
points)
My guess is that execution time depends on the speed of the CPU that processes your program. Your computer is probably faster than the VM that does the tests on q2a, hence the discrepancy
7
comment
Simone Russolillo
(5790 points)
7
10
22
commented
Nov 3, 2021
by
Simone Russolillo
(
5.8k
points)
alright thanks!
Please
log in
or
register
to add a comment.
gabrimat
(5630 points)
2
4
25
answered
Nov 3, 2021
by
gabrimat
(
5.6k
points)
Computer is faster than virtual machine.
6
comment
Please
log in
or
register
to add a comment.