We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Ok, I figured it out. When you try to use static values it results in the 325 1 6. Example of static values 3 & 2:
a=int(raw_input(3)) b=int(raw_input(2)) etc...
When I remove the static values then the process works:
a=int(raw_input()) b=int(raw_input()) etc...
I assume the input values (3, 2) are provided as part of the test case when executed.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Arithmetic Operators
You are viewing a single comment's thread. Return to all comments →
Ok, I figured it out. When you try to use static values it results in the 325 1 6. Example of static values 3 & 2: a=int(raw_input(3)) b=int(raw_input(2)) etc...
When I remove the static values then the process works:
a=int(raw_input()) b=int(raw_input()) etc...
I assume the input values (3, 2) are provided as part of the test case when executed.