promise-it-wont-hurt
promise-it-wont-hurt copied to clipboard
Exercise 1 : Execution time issue
Getting an error "Expected execution time: 1673±100ms. Submission execution time: 1213ms." in the first exercise (warm_up). Got the same error even when running the code provided in the solutions!
Any help would be appreciated.
What system are you running?
Hi Timothy,
Thanks for the response. Still facing the same issue for further exercises as well. I am running it on a Windows Machine with Corei3 processor and 4GB RAM. Please let me know if you any more details
I am facing this issue as well. In the first exercise, when I tried to verify my program, I got the error message:
✗ Expected execution time: 788±100ms. Submission execution time: 639ms.
My solution to the exercise is:
'use strict';
(function() {
setTimeout(() => {console.log('TIMED OUT!');}, 300);
})();
However, my program was accepted when I changed the value 300 to a larger number, like 500. I am running on Microsoft Windows 10 Home (x64-based PC), with Intel Core i5-2450M @ 2.50GHz processor and 4.86GB / 8.00GB available RAM. Feel free to ask for more details.
Same, 500 worked for me though
setTimeout( () => console.log('TIMED OUT!'), 500);
windows