36 karma · joined December 5, 2011
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error. To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
dump() shows all variables in the frame dump(obj) dumps all that's known about the object
Depends on the language.
It uses two fingers to select text because I couldn't figure out how to detect when the shift key was pressed.
This could have a space complexity of O(n), not O(1).
"the total amount of gas available at the stations and in the car is exactly enough for the car to drive around the road once"
and
"the car completes a full circle without running out of gas"
Given the first condition, in your solution, at the exact moment the car completes the drive around the track, it runs out of gas. Therefore, it is impossible to complete it without running out of gas.
I don't think that word means what you think it means.