+ 2
Code coach compiler not giving expected output but code playground complier does why...?
Code coach complier buggy https://code.sololearn.com/cT7o1k7n1IrL/?ref=app
4 Respuestas
+ 3
Can you add more details?
From code coach :
Task named "snowballing numbers", have inputs are line by line.. Not in a single line of input. So your code only read first line. And those are integers so you can directly read integers..
also task is to check , each successive number is greater than it's all previous numbers sum. not only a single time.. You may need multiple loops..
So go through description again..
+ 3
+ 1
That is not correct.
For example for this input:
3
1
2
3
the code giving not exoected output=true.
3 is not greather than 1+2.
You have to work over your code.
0
The inputs are given in separate lines. The first number can be used to set the size of your array.