第22621题 单选题
输入100时,给定C++代码的输出结果最接近以下哪个值?
#include <iostream>
#include <string>
#include <cmath>
#include <vector>
using namespace std;

int main()
{
    double x;

    cin >> x;
    cout << log10(x) - log2(x) << endl;

    cout << endl;
    return 0;
}
A

0

B

-5

C

-8

D

8

程序运行统计
暂无判题统计