0
please check
please check this code in your compiler, is that code is correct or not. https://code.sololearn.com/cse09vu5zJSC/?ref=app
3 Antworten
+ 4
MMK ,
the issue is, that all inputs except 20 leads to an infinite loop. this runs and is giving output until it is timed out.
+ 3
The code compiles and runs.
What is your criteria for being correct?
Does it do what it is supposed to do?
Have you tested it, with various inputs?
0
Than how can i make perfect loop