After 1 year I start to CP.I don't need algorithm book I need learning c++ like vector and how to use vector
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3839 |
3 | Radewoosh | 3646 |
4 | jqdai0815 | 3620 |
4 | Benq | 3620 |
6 | orzdevinwang | 3612 |
7 | Geothermal | 3569 |
8 | ecnerwala | 3494 |
9 | Um_nik | 3396 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | Um_nik | 164 |
2 | -is-this-fft- | 162 |
3 | maomao90 | 159 |
3 | atcoder_official | 159 |
5 | cry | 158 |
5 | awoo | 158 |
7 | adamant | 155 |
8 | nor | 154 |
9 | TheScrasse | 153 |
10 | Dominater069 | 152 |
After 1 year I start to CP.I don't need algorithm book I need learning c++ like vector and how to use vector
Name |
---|
Auto comment: topic has been updated by I_hate_Computer_science (previous revision, new revision, compare).
Maybe this can help you: https://cses.fi/book/book.pdf
you might consider Competitive Programmer's Handbook -> pdf link
This book teaches algorithms,even I don't know how to use vector in c++
Actually, there is part in that book about Data Structures (Map, Set, Vector...). I was learning from there and for every DS I have lernt most usefull functions by just scrolling through GFG page about that particular DS and trying to solve problems using them to become more flexible with that DS.
Did you check chapter 4?! There all ds including map ,set ,vector are described with their most frequent functions you will need.
for example i see top-rated user's code they are using something like (vector<vector >).That's why i need other book
There is no such thing as a book that teaches you how to use c++ in Cp. Follow a C++ beginner's tutorial on youtube to familiarize yourself with the syntax and then start solving problems on here, and every time you find yourself stuck on some syntax ask chatgpt "How to implement blah blah in c++" and it'll tell you, and eventually you'll know how to do everything on your own. Thats how I switched from python to c++.
I like how people started to consider ChatGPT because it's really very useful in the learning process.
You can see usaco it is well structured
i need basic of c++ to cp.i searched some sites all of them have problems to solve
I know one book called Competitive programming 3 it has basic of c++ I think best way to learn is to solve problems
Can you share link of book?
check hackerrank, it has basic problems. Also this group might help: https://mirror.codeforces.com/group/isP4JMZTix/contest/392597
May Be This Can Help You https://mirror.codeforces.com/blog/entry/122788
thanks