收起
bits/stdc++.h是非标准头文件,GCC提供的,微软的VS不提供。如果要使用,可以自己新建或拷贝一个到类似于下面这个目录里面
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include
参考: c++ - #include with visual studio does not compile - Stack Overflow https://stackoverflow.com/questions/25337300/include-bits-stdc-h-with-visual-studio-does-not-compile
报告相同问题?