Here is the problem is known as “Star” from AtCoder.
Here is my code as result of RE(Runtime Error) :
let num = Number(prompt());
console.log(100 - (num%100));
Is there any better solution, why runtime error?
Here is the problem is known as “Star” from AtCoder.
Here is my code as result of RE(Runtime Error) :
let num = Number(prompt());
console.log(100 - (num%100));
Is there any better solution, why runtime error?
propmt
seems like it might be a typo
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.