We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Jim and the Jokes
Jim and the Jokes
Sort by
recency
|
40 Discussions
|
Please Login in order to post a comment
Yet another one-liner:
Java8 codes
This is horribly worded. The question specifies that "Two jokes (x1, y1) and (x2, y2) differ if they don't contain the same events."
This seems to imply that if (12, 31) was in the list three times, then two of them could count as a joke, but no more times than that. But, as it turns out, all three possible pairs of those identical events should count as three separate jokes. This is not clear at all from the statement, as the jokes ((12, 31), (12, 31)) and ((12, 31), (12, 31)) contain the same events.
I'm very weak with time limit execution
The task description is just horrible.