bqi343 / cp-notebook

General Resources for Competitive Programming
Creative Commons Zero v1.0 Universal
2.39k stars 416 forks source link

Hi #6

Closed JefferyVin closed 5 years ago

JefferyVin commented 5 years ago

Hi Benjamin Congratulations for placing first in IOI. Can you share some of your templates and reading list? I really want to each plat this year in USACO.

bqi343 commented 5 years ago

Isn't this already on the Github?

JefferyVin commented 5 years ago

template using Tree = tree<T, null_type, less, rb_tree_tag,tree_order_statistics_node_update>; What is this line used for?

bqi343 commented 5 years ago

see the README

JefferyVin commented 5 years ago

Kk

JefferyVin commented 5 years ago

Benjamin how do you include install/implement multilib on mac? Or did u just used ubuntu instead?

bqi343 commented 5 years ago

I don't know what that is.

JefferyVin commented 5 years ago

include <bits/stdc++.h>

include <ext/pb_ds/tree_policy.hpp>

include <ext/pb_ds/assoc_container.hpp>

include <ext/rope>

these are not standard libraries for gcc/g++

JefferyVin commented 5 years ago

Are you competing this weekend? If you are, good luck!

bqi343 commented 5 years ago

include <bits/stdc++.h>

include <ext/pb_ds/tree_policy.hpp>

include <ext/pb_ds/assoc_container.hpp>

include <ext/rope>

these are not standard libraries for gcc/g++

I didn't do anything extra to install them.

JefferyVin commented 5 years ago

What os r u on?

bqi343 commented 5 years ago

Mac

JefferyVin commented 5 years ago

Wuhhhhh same

Chillee commented 5 years ago

@JefferyVin These are included in GCC, but not Clang. If you are on Mac, the gcc command is actually clang by default. You need to install gcc yourself.

JefferyVin commented 5 years ago

ya, I was accidentally using clang, now using gnu properly

On Tue, Dec 25, 2018 at 10:08 PM Horace He notifications@github.com wrote:

@JefferyVin https://github.com/JefferyVin These are included in GCC, but not Clang. If you are on Mac, the gcc command is actually clang by default. You need to install gcc yourself.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bqi343/USACO/issues/6#issuecomment-449899918, or mute the thread https://github.com/notifications/unsubscribe-auth/ANRtyrMuy61kiEcJJuddoiERpfUA2I3lks5u8vZZgaJpZM4YNawd .