second = third; printf("The result is : %Lf", third);} 当我在一个在线编译器如https://www.onlinegdb.comhttps://www.onlinegdb.com/online_c_compiler的输出: N: 10
The result is : 89.000000 MS Visual Code的输出: N:
我已经注释掉了一些我用来测试代码的东西,但主要的问题是,当我运行它时,我得到了一个分段错误,你可以看到我注释掉了一个函数方法,它原本应该完成广度优先搜索。This is what happens when I compile the code using g++ #include <iostream>#include <queue>using namespace std;
{};
{