Блог пользователя I_hate_Computer_science

Автор I_hate_Computer_science, история, 8 месяцев назад, По-английски

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

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
8 месяцев назад, # |
  Проголосовать: нравится +4 Проголосовать: не нравится

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

»
8 месяцев назад, # |
  Проголосовать: нравится +4 Проголосовать: не нравится

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

  • »
    »
    8 месяцев назад, # ^ |
    Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

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

    • »
      »
      »
      8 месяцев назад, # ^ |
      Rev. 3   Проголосовать: нравится +3 Проголосовать: не нравится

      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.

    • »
      »
      »
      8 месяцев назад, # ^ |
        Проголосовать: нравится +3 Проголосовать: не нравится

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

»
8 месяцев назад, # |
  Проголосовать: нравится +12 Проголосовать: не нравится

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

  • »
    »
    8 месяцев назад, # ^ |
      Проголосовать: нравится +5 Проголосовать: не нравится

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

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

You can see usaco it is well structured

»
8 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
8 месяцев назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится