×

MockVita Round 1 2018

 0 Hello friends can someone tell me how to approach these problems? I participated in this practice round 1 and could not solve these problems. Can someone tell me the approach to solve these problems. Thanks in advance. ALL PROBLEMS Contest is over so we can have a discussion over the approach used or can be used. asked 14 Jul '18, 12:37 318●1●10 accept rate: 1% 1 The A problem is mostly number of ways of choosing 3 lines such that no two of them have a same angle,since n is small u can iterate over all triplets. As any 2 line which are not parallel will intersect a some point,so for 3 lines,line (1,2) intersects at A,line(2,3) at B,line(1,3) at C,and since it is said that they are concurrent A!=B!=C (14 Jul '18, 20:25)
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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,738
×148
×27
×20
×13

question asked: 14 Jul '18, 12:37

question was seen: 838 times

last updated: 14 Jul '18, 20:25