Блог пользователя C137

Автор C137, история, 7 лет назад, По-английски

I am trying to add a solution for a problem on polygon, however i keep getting:

Can't compile: solution.cpp

solution.cpp(1) : fatal error C1083: Cannot open include file: 'bits/stdc++.h': No such file or directory

same thing happened when i tried to add the validator, but after trying to add the validator for nearly 10 times it was successfully added...

Am I the only one having this problem??? or is there something wrong???

Thanks in advance...

  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится

»
7 лет назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

This happens when you have selected Autodetect language and then Polygon tries to compile your program using (in this order) cpp.g++, cpp.g++11, cpp.ms (which doesn't support bits/stdc++.h). Finally, only the last compilation error is shown. You can see the actual error by choosing the language "cpp.g++" manually.

  • »
    »
    7 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Now that's something weird, cuz i always use the "Auto-detect Language" option, and this is the first time i face this problem :\

    Anyway, I manually chosen cpp.g++11 and it works fine now, thanks lot :D