Ternary search

Problems on ternary search, including the maximum or minimum of a unimodal function, the best point on a segment or a line, distances that first decrease and then increase, and nested searches over two coordinates.

The binary search article in the Basics section covers the related technique. Related problem sets are under Binary search, Optimization and Geometry.

ამოცანები

Circles#225

საშუალო (≈1350)

RSA Factorization#367

ძალიან მარტივი (≈850)

Radars#616

ძალიან მარტივი (≈850)

Starbase Defense Grid#2514

რთული (≈1650)

A clearing of firewood#5182

მარტივი (≈1000)

Delta Encoding and Decoding#5751

ძალიან რთული (≈2050)

No Trees But Flowers#6034

ძალიან მარტივი (≈850)

Cut out#6855

რთული (≈1650)

Tunb Airline#6905

ძალიან რთული (≈2050)

Yet Satisfiability Again!#7535

ძალიან მარტივი (≈850)

Citadel Construction#8339

ძალიან რთული (≈2050)

String operations#9544

მარტივი (≈1000)

Ternary search#10169

ძალიან მარტივი (≈850)

Alimzhan loves ACM#10642

საშუალო (≈1350)

Maximum in Unimodal Sequence#10867

ძალიან მარტივი (≈850)

Grand Center#11138

მარტივი (≈1000)

Hard Arithmetic#12257

რთული (2200)