用 C/C++语言描述下列算法,并给出算法的时间复杂度。 (1)求一个 n 阶整数数组的所有元素之和。 (2)对于输入的任意 n 个整数,输出其中的最大和最小元素。
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】Fill in the blanks with words you hear to complete the summary of the text. It is time to blow the whistle on the so-called beautiful – soccer. For one thing, it is 1)__________. Goals are the be...
【简答题】Most finals are 0–0, 1–0 or 2–1, indicating that s ________________( 倾向于平局 ) and it’s a matter of luck to be ahead when time runs out. To _______________( 说得好听点 ), they call this tension or suspen...