↓ Skip to main content
  1. Posts/

poj 1269 Intersecting Lines (计算几何)

Note: This article is available in Chinese only. 本文暂无英文版本。 View original

Related

codeforces #329 div 2 B. Anton and Lines(几何)

·961 words·2 mins
B. Anton and Lines time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The teacher gave Anton a large geometry homework, but he didn’t do it (as usual) as he participated in a regular round on Codeforces. In the task he was given a set of n lines defined by the equations y = k__i*x + b__i. It was necessary to determine whether there is at least one point of intersection of two of these lines, that lays strictly inside the strip between _x_1 < _x_2. In other words, is it true that there are1 ≤ i < j ≤ n and x’, y’, such that:

hdoj 2436 Collision Detection

·827 words·2 mins
Collision Detection # **Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1207 Accepted Submission(s): 367 **