Skip to content

Opening book details…

About this document

Parallelogram Counting in University Grids by Ric Rad is a document available to read on EtoBox.

The document describes a problem for counting parallelograms formed by universities on a grid map of countries. It defines a parallelogram as four distinct points where two sets of opposite sides are parallel and of equal length. The input consists of test cases with a grid size n and a 0/1 representation of universities in each cell. For each test case, the output should be the number of parallelograms formed by universities in that country

Author
Ric Rad
Language
EN