下列 C++ 代码的输出结果是( )。
#include <iostream> #include <cmath> using namespace std; int main() { cout << (int)(sqrt(50) + log2(8)); return 0; }
9
10
11
12