Skip to content

Input an N number of coordinates such that N is greater than or equal to 4, and it will return the number of parallel rectangles you can make that are parallel to the X or Y axis. Use algorithm streams to see more features.

Notifications You must be signed in to change notification settings

HypeByte/Perfect-Rectangles

Repository files navigation

Perfect-Rectangles

PLEASE RUN THIS PROGRAM IN YOUR TERMINAL BY GOING TO THE DIRECTORY YOU DOWNLOADED THROUGH YOUR TERMINAL AND TYPING OUT THE .EXE/.OUT FILE TO RUN IT THROUGH TERMINAL, IF YOU JUST DOUBLE CLICK THE .EXE IT WONT RUN THE ALGORITHM AND WILL CUT OFF WHEN YOU FINALLY INPUT ALL THE DATA Part of a math and computer science competition. The version posted here is tweaked for a user interface. Input N number of coordinates, and the algorithm will return the number of rectangles you can make that are parallel to the X and Y axis. Uses a mix of combinatorics and geometry.

About

Input an N number of coordinates such that N is greater than or equal to 4, and it will return the number of parallel rectangles you can make that are parallel to the X or Y axis. Use algorithm streams to see more features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages