Skip to content

solved an error and formatted output as desired.#31

Open
BhawnaGarg-2508 wants to merge 1 commit intoparikshit223933:masterfrom
BhawnaGarg-2508:master
Open

solved an error and formatted output as desired.#31
BhawnaGarg-2508 wants to merge 1 commit intoparikshit223933:masterfrom
BhawnaGarg-2508:master

Conversation

@BhawnaGarg-2508
Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant