Files
algorithmic_thinking/snowflakes/snowflakes.md

26 lines
849 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Two snowflakes are identical if they are the same,
if we can make them the same by moving rightward
through one of the snowflakes (moving clockwise),
or if we can make them the same by moving leftward
through one of the snowflakes (moving counterclockwise).
# Input
The first line of input is an integer n,
the number of snowflakes that well be processing.
The value n will be between 1 and 100,000.
Each of the following n lines represents one snowflake:
each line has six integers, where each integer is
at least 0 and at most 10,000,000.
# Output
Our output will be a single line of text:
If there are no identical snowflakes, output exactly
"No two snowflakes are alike."
If there are at least two identical snowflakes, output exactly
"Twin snowflakes found."
The time limit for solving the test cases is one second.