• 2022-06-07
    下列说法正确的是:Which options may be correct?(there are more than one correct answers)
    A: 如果函数f(n)是O(g(n)),g(n)是O(h(n)),那么f(n)是O(h(n))【 if f(n) is O(g(n)),g(n) is O(h(n)),then f(n) is O(h(n))】
    B: 如果函数f(n)是O(g(n)),g(n)是O(h(n)),那么f(n)+g(n)是O(h(n))【if f(n) is O(g(n)),g(n) is O(h(n)),so f(n)+g(n) is O(h(n))】
    C: 如果a>b>1,[img=41x23]18032879c23657e.png[/img]是[img=67x25]18032879cad7aae.png[/img],但[img=39x23]18032879d337b62.png[/img]不一定是[img=68x25]18032879dba84ea.png[/img]【if a>b>1,[img=41x23]18032879c23657e.png[/img] is [img=67x25]18032879cad7aae.png[/img], [img=39x23]18032879d337b62.png[/img] may not be [img=68x25]18032879dba84ea.png[/img]】
    D: 函数f(n)是O(g(n)),当常数a足够大时,一定有函数g(n)是O(af(n))【if f(n)是O(g(n)),When constant a is big enough ,there must be g(n) is O(af(n))】
  • 举一反三