+ 1
Why this code don't work
This code contains funtions for resolver a simple mathematical problem, but when the code runs give this error: timeout: the monitored command dumped core ./Playground/runner.sh: line 110: 12 Floating point exceptiontimeout "$runtime" "$output" - < " https://sololearn.com/compiler-playground/cP66Ij7qwd3q/?ref=app
15 Réponses
+ 5
your code requires integers as input. remove the "," from the input.
+ 2
What is inf?
+ 2
inf is for infinite. it may also occur when you do a mathematical operation that is not defined, like dividing by 0
+ 2
Oke jonathan you just joined 10 minutes ago ... nobody would expect you to understand.
+ 1
Pau attention to the instruction in the pop-up window:
multiple inputs need to separate by line breaks. hence you need to enter onput like
4
2
4
2
4
2
+ 1
This is the onput
3
4
,6
,9
5
6
+ 1
Thank You
+ 1
Thank You
+ 1
What is nan
+ 1
Eder Prin that means Not A Number
+ 1
Thank You
+ 1
You're welcome
0
Please I don't really understand all this things
0
Your code had to receive input 3 times ( each time needs 2 variables). So that, when running code, you should be input these with 3 pairs of numbers separately with space and linefeed for each pair corespondent
For example
5 4 ( for m())
4 3 (for (i())
8 4 (for h())
hope to help you
0
It's working fine bro if given the right inputs in right order...