Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit49a3759

Browse files
authored
Update ternary_search.md
1 parentf1a01b7 commit49a3759

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/num_methods/ternary_search.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ Here `eps` is in fact the absolute error (not taking into account errors due to
9595
Instead of the criterion `r - l > eps`, we can select a constant number of iterations as a stopping criterion. The number of iterations should be chosen to ensure the required accuracy. Typically, in most programming challenges the error limit is ${10}^{-6}$ and thus 200 - 300 iterations are sufficient. Also, the number of iterations doesn't depend on the values of $l$ and $r$, so the number of iterations corresponds to the required relative error.
9696

9797
## Practice Problems
98+
9899
-[Codechef - Race time](https://www.codechef.com/problems/AMCS03)
99100
-[Hackerearth - Rescuer](https://www.hackerearth.com/problem/algorithm/rescuer-2d2495cb/)
100101
-[Spoj - Building Construction](http://www.spoj.com/problems/KOPC12A/)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp