Skip to content

How can I use <bits/stdc++.h> on CP Editor #778

Answered by coder3101
Arius1408 asked this question in Q&A
Discussion options

You must be logged in to vote

Actual Answer:

The problem is that for some reason CP Editor is using Apple Clang compiler instead of g++. Maybe g++ is symlink-ed to Apple Clang.

I suggest you to use complete path to g++ like /usr/local/bin/g++, you can get the complete path of g++ by running which g++

Replies: 4 comments 10 replies

Comment options

You must be logged in to vote
1 reply
@Arius1408
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@Arius1408
Comment options

@coder3101
Comment options

@Arius1408
Comment options

@coder3101
Comment options

@Arius1408
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Arius1408
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants