Please help me find the problem in CodeForces

Revision en1, by wangyishan, 2024-10-04 07:00:18

i have saw a problem but i forgot its name.

the problem was to find 2 triangles with disjoint segments. ai<=1e9

its solution was :

because fib[45] > 1e9 ,so it is always possible to get a triangle when n>=45,and it's always possible to get 2 triangles when n>=48.

when n<=48, we use brute force to solve the problem.

help me find the problem pls.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English wangyishan 2024-10-04 07:00:18 407 Initial revision (published)