Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

+1 vote
475 views
This is a tough one to wade through.  Is it possible to make a checker for this challenge?  Thank you...

 

Carol (NightKnight)
in Miscellaneous by NightKnight (130 points)

1 Answer

0 votes
Yeah that should be a fairly easy one to write a checker for. It's only checking unique numeric values and types after all. I'll see if I can knock something up for you.

Basically checker will first check you have at least 24 caches in US, as if not then you clearly fail this will knock out large numbers of people who aren't US citizens and haven't cached in the US.

Secondly of those caches in US there must be 10 different types of cache if you don't have 10 different types of cache then you fail too.

Thirdly make sure your US caches have at least 24 different northings and at least 24 different eastings.

If they do then from that list try to find 24 that are unique for both.

Finally check the unique for both list to ensure it still has 10 types of cache.

 

It's the last two parts that on reflection are somewhat tricky to achieve. Doable but would take some time to write.
by ShammyLevva (Expert) (8.3k points)
edited by ShammyLevva (Expert)
It would be better if comments such as this are written as a comment rather than an answer, since some people use the unanswered posts function to discover checker requests that are still outstanding.
Except I specifically said I would start work on a checker.
Next time answer as a comment than we can help the request quicker.
Apologies, other time commitments caught up with me and I've not had a lot of joy with creating an efficient algorithm for the select 24 unique from candidate list whilst ensuring 10 unique cache types part of the problem.

I note you added a checker I'll be extremely interested to see how you tackled this problem as it lacks an efficient solution. Your point re: comment vs answer is well made and I'll know better in future, apologies.

Edit: Typo
Hi, I was wondering if any progress was made on this checker?  I note there have been 40 views, does that express interest from others?
Thank you for all you do...
NightKnight
...