You are not logged in. Please login at www.codechef.com to post your questions!

×

by JAVA or C or C++

A number (N) of lines (extending to infinity) in both directions are drawn on a plane. The lines are specified by the angle (positive or negative) made with the x axis (in degrees). It may be assumed that the different lines are not coincident (they do not overlap each other). The objective is to determine the number of parallelograms in the plane formed by these lines.

for ex:If the lines are given with an angle of 10, 70, 30 and 30.

asked 10 Aug '18, 10:33

vat07's gravatar image

0★vat07
11
accept rate: 0%

Please add a proper description of question. And if it is taken from somewhere then add links to it. It helps. Anyways in this case - https://www.programminggeek.in/2018/07/mockvita-2018-problem-triangles.html#.W20jFBgzZhE

(10 Aug '18, 11:05) aryanc4035★

Please use a proper title.

(10 Aug '18, 17:01) aryanc4035★
toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×2,698
×5
×3

question asked: 10 Aug '18, 10:33

question was seen: 1,789 times

last updated: 10 Aug '18, 11:05