Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong testcases for 'Two Firends' #113

Open
tym32167 opened this issue Oct 12, 2018 · 1 comment
Open

Wrong testcases for 'Two Firends' #113

tym32167 opened this issue Oct 12, 2018 · 1 comment

Comments

@tym32167
Copy link

There is smthg wrong with testcases for Two Friends problem.

Sample of test case;

TEST(new int[][]{new int[]{0, 0}, new int[]{0, 0}, new int[]{4, 0}, new int[]{4, 3}}, "1E-05");

Its looks like that,

image

So, from my point of view answer should be 0. Why testcase returning 0.00001? Moreover, why system shows 0 as wrong answer?

Another example:

TEST(new int[][]{new int[]{0, 0}, new int[]{0, 0}, new int[]{100, 100}, new int[]{100, 0}}, "1E-05");

image

Same question here.

@tym32167
Copy link
Author

I submitted my code (which not passed on JAlgo) to codeforces - full solution :)

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

No branches or pull requests

1 participant