Please read the new rule regarding the restriction on the use of AI tools. ×

I_hate_Computer_science's blog

By I_hate_Computer_science, history, 10 months ago, In English

After 1 year I start to CP.I don't need algorithm book I need learning c++ like vector and how to use vector

»
10 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by I_hate_Computer_science (previous revision, new revision, compare).

»
10 months ago, # |
  Vote: I like it +4 Vote: I do not like it

Maybe this can help you: https://cses.fi/book/book.pdf

»
10 months ago, # |
  Vote: I like it +4 Vote: I do not like it

you might consider Competitive Programmer's Handbook -> pdf link

  • »
    »
    10 months ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    This book teaches algorithms,even I don't know how to use vector in c++

    • »
      »
      »
      10 months ago, # ^ |
      Rev. 3   Vote: I like it +3 Vote: I do not like it

      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.

    • »
      »
      »
      10 months ago, # ^ |
        Vote: I like it +3 Vote: I do not like it

      Did you check chapter 4?! There all ds including map ,set ,vector are described with their most frequent functions you will need.

      • »
        »
        »
        »
        10 months ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        for example i see top-rated user's code they are using something like (vector<vector >).That's why i need other book

»
10 months ago, # |
  Vote: I like it +12 Vote: I do not like it

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++.

  • »
    »
    10 months ago, # ^ |
      Vote: I like it +5 Vote: I do not like it

    I like how people started to consider ChatGPT because it's really very useful in the learning process.

»
10 months ago, # |
  Vote: I like it 0 Vote: I do not like it

You can see usaco it is well structured

»
10 months ago, # |
  Vote: I like it 0 Vote: I do not like it

check hackerrank, it has basic problems. Also this group might help: https://mirror.codeforces.com/group/isP4JMZTix/contest/392597

»
10 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it