Problem
Read two numbers and a word. Print the first number divided by the second — but print 0 instead of crashing if the second is zero. Then print the word turned into a number, or -1 if it is not a number.
0
-1
For 10 2 42:
10 2 42
5 42
For 5 0 abc:
5 0 abc
0 -1
Press «Submit» to run your code against the task's test cases — that is what sets your score. «AI review» is an optional second opinion: it reads your code — logic and style, not just the output — and suggests the next step without handing over the answer. It never changes your score.