Coding-Ninjas-Competitive-Programming icon indicating copy to clipboard operation
Coding-Ninjas-Competitive-Programming copied to clipboard

solved an error and formatted output as desired.

Open BhawnaGarg-2508 opened this issue 2 years ago • 0 comments

On submitted it at coding ninjas, the output format was different, so modified the output format a bit . Also, the number '1' is neither prime nor composite, but this point was missing in the code due to which it gave wrong answer in test cases. Included that too.

BhawnaGarg-2508 avatar Aug 18 '23 06:08 BhawnaGarg-2508