I_hate_Computer_science's blog

By I_hate_Computer_science, history, 13 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

| Write comment?
»
13 months ago, # |
  Vote: I like it +4 Vote: I do not like it

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

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

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

  • »
    »
    13 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++

    • »
      »
      »
      13 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.

    • »
      »
      »
      13 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.

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

  • »
    »
    13 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.

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

You can see usaco it is well structured

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

    i need basic of c++ to cp.i searched some sites all of them have problems to solve

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

      I know one book called Competitive programming 3 it has basic of c++ I think best way to learn is to solve problems