#4169. [GESP202606 七级 C++] 第 1 题

[GESP202606 七级 C++] 第 1 题

下列 C++ 代码的输出结果是( )。

#include <iostream>
#include <cmath>
using namespace std;
int main() {
    cout << (int)(sqrt(50) + log2(8));
    return 0;
}

{{ select(1) }}

  • 9
  • 10
  • 11
  • 12