与‘数值-二分\三分\折半枚举’有关的日志

lightoj1062

maksyuki 发表于 oj 分类,标签:
0
lightoj1062

1062 - Crossed Ladders

InputA narrow street is lined with tall buildings. An x foot long ladder is rested at the base of the building on the right side of the street and leans on the building on the left side. A y foot long ladder is rested at the >>继续阅读

lightoj1056

maksyuki 发表于 oj 分类,标签:
0
lightoj1056

1056 - Olympics

One of the most important tasks is to build the stadium. You are appointed as a programmer to help things out in certain matters - more specifically in designing and building the athletics tracks. After some study, you find out that >>继续阅读

lightoj1043

maksyuki 发表于 oj 分类,标签:
0
lightoj1043

1043 - Triangle Partitioning

You are given ABAC and BCDE is parallel to BC. You are also given the area ratio between ADE and BDEC. You have to find the value of AD.See the picture below.

Input

Input starts with an integer T (≤ 25), denotin >>继续阅读