To use pbds, I've submitted a code which uses #include<bits/extc++.h>
.
It can compile and run on my computer, however, it can't compile on Codeforces platform.
You can see it at 292301911, in which it recieves CE, and return as follow.
Can't compile file:
In file included from C:/Programs/gcc13-64-winlibs/include/c++/13.2.0/x86_64-w64-mingw32/bits/extc++.h:83,
from program.cpp:1:
C:/Programs/gcc13-64-winlibs/include/c++/13.2.0/ext/codecvt_specializations.h:42:10: fatal error: iconv.h: No such file or directory
42 | #include <iconv.h>
| ^~~~~~~~~
compilation terminated.
I'd like to ask if we can add iconv.h file to CF platform, and thank you.
Just add
#undef _GLIBCXX_HAVE_ICONV
before#include <bits/extc++.h>
, and it passes: 292337691.Good idea and thanks.
But why CF doesn't have it?
:)