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

Автор CodingKnight, 23 месяца назад, По-английски

Hello Codeforces,

I got the following compilation error while using GNU++20 1l.2.0 (64 biy, winlibs) compiler to translate and run a C++ program that contains the following include statement.

Include statement
Compilation Error

Has any member of the community encountered this compilation error before and knows how to resolve it?

Thanks in advance for sharing any helpful information.

P.S. The compilation succeeds using GNU++17 7.3.1.

Update

The issue was resolved.

Replacing the statement

#include <bits/extc++.h>

with

#include <ext/pb_ds/assoc_container.hpp> 
#include <ext/pb_ds/tree_policy.hpp> 

was accepted by the GNU++20 11.2.0 compiler.

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