Search found 4 matches

by stronk111
Sat Dec 13, 2014 6:04 pm
Forum: Volume 118 (11800-11899)
Topic: 11800 - Determine the Shape
Replies: 47
Views: 14010

Re: 11800 - Determine the Shape

Thank you. I made a mistake in comparison function.
by stronk111
Sat Dec 13, 2014 12:56 am
Forum: Volume 118 (11800-11899)
Topic: 11800 - Determine the Shape
Replies: 47
Views: 14010

Re: 11800 - Determine the Shape

My code passed all forum tests but I'm still getting WA. Can you check my code?
I'm using cross product to determine parallelism and dot product to determine perpendicularity. I defined int as long long to avoid mistakes.

Code: Select all

removed
by stronk111
Tue Nov 11, 2014 1:13 pm
Forum: Volume 100 (10000-10099)
Topic: 10048 - Audiophobia
Replies: 27
Views: 10066

Re: 10048 - Audiophobia

Thank you. I was a little confused how output should look like.
by stronk111
Tue Nov 11, 2014 3:24 am
Forum: Volume 100 (10000-10099)
Topic: 10048 - Audiophobia
Replies: 27
Views: 10066

Re: 10048 - Audiophobia

I can't find bug in my code. My solution is based on MST and DFS.I have tried many random test cases but still I get WA. Can you help me?

Code: Select all

removed got AC

Go to advanced search