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 | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 153 |
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