Closed leejy12 closed 1 year ago
In gradescope, there is a 120s timeout for each testcases
@KAIST-JongchanPark Thank you, looks like I have much work to do. I will close this for now.
Just FYI...
I tried various implementations. The fastest one cracks yesterday
test case within a half second, while the slowest one took around 8 minutes. I believe you can improve yours a lot!
My implementation takes 98 seconds in virtual machine. Autograder in gradescope takes an eternity, however, it has been 20 minutes and still going.
@Rsln-M I managed to reduce the running time to 0.4s and only then would gradescope autograder pass. I think there are really large test cases.
Yes, I improved performance and it passed all test cases despite still taking a LOT of time. The testcases must be very large. If anyone else can't solve performance issues in "crack", try to optimize "Padding Oracle" as well.
Name: Junyoung Lee
Hi all, I have 2 questions.
I've implemented the
crack
function, but the result of crackingyesterday.expected
has very slight errors. Here is my output:Has anyone else experienced these slight errors? If so, I would appreciate any guidance on which part of my code to fix.
Also, what should be the desired running time of
crack
? On my machine, crackingyesterday.expected
takes about 9 - 10 minutes. I wonder if my solution is efficient enough to pass Gradescope's autograder.Thank you.