You are not logged in. Please login at to post your questions!


Weak (or non-existent) test cases in AlgoFlux19.1's "Let's Play A Game"?

In the question PRMGM, many accepted solutions (such as this and this) fail for a simple test case. These solutions have ignored the prime numbers and yet managed to somehow get an AC verdict!

2 3

Or did I interpret the question incorrectly? Although a few accepted solutions like this one do give the opposite output.

asked 28 Jan, 01:57

kvaluruk's gravatar image

accept rate: 50%

edited 28 Jan, 02:09

Yes, you are correct , i myself have analysed many solution which are not giving the answers as expected . Few of them are:

1.solution_1 Test Case:1 5 2 2 3 5 7
2. solution_2 Test Case:1 4 5 3 7 2


answered 28 Jan, 16:27

dhakajii's gravatar image

accept rate: 0%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 28 Jan, 01:57

question was seen: 159 times

last updated: 28 Jan, 16:27