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

Автор kittyK, история, 4 года назад, По-английски

Hello good people. I am struggling with mind fast solving . How can I practice to increase mind fast solving skill ?

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

»
4 года назад, # |
Rev. 2   Проголосовать: нравится -12 Проголосовать: не нравится

One idea is to try to guess the answer by looking at pretests! It helps because sometimes it's hard to figure out what the solution is! As an example in this problem, it might be hard to answer the question directly, but when you look at the pretests, you can guess that the answer would be ⌈ n / 2 ⌉ ...

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    So you say don't solve problem, only guess it...

    Keep doing this

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

      I hope you understand English. I said "One idea" at the beginning!

      • »
        »
        »
        »
        4 года назад, # ^ |
          Проголосовать: нравится 0 Проголосовать: не нравится

        OK, keep protect your "IDEA" , I hope you are using this idea.

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

          Well, do you have an idea for fast solving except for practicing?

          • »
            »
            »
            »
            »
            »
            4 года назад, # ^ |
              Проголосовать: нравится 0 Проголосовать: не нравится

            Why practicing isn't enough? I think there is no reason to find any idea except for practicing

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

              So if you don't have an idea you'd be better to STFU... people who have new and different ideas should talk!

              • »
                »
                »
                »
                »
                »
                »
                »
                4 года назад, # ^ |
                  Проголосовать: нравится 0 Проголосовать: не нравится

                WTF?

                I'm trying to show right way, but you are keep defend your illogical idea...

                So you should keep your idea to your self and help people to this way

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  4 года назад, # ^ |
                    Проголосовать: нравится 0 Проголосовать: не нравится

                  What is wrong with my idea?

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  4 года назад, # ^ |
                    Проголосовать: нравится 0 Проголосовать: не нравится

                  Guessing isn't right way, it is only up to luck. If you don't prove your solution,It means you didn't solve problem.

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

                  That's why I called this question old-fashion...

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  4 года назад, # ^ |
                    Проголосовать: нравится 0 Проголосовать: не нравится

                  It's not called guessing, it's modeling.

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

                  output1 = input1 / 2 output2 = input2 / 2

                  So I should print n / 2 thATs ModELLinG

                  you can cheer up yourself with this silly things

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

              And if practicing is enough so why the guy has asked this question?

              He / She was looking for different and new ways...

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

      ???? Don't understand why this community is so toxic. Obviously this idea may not be conventional or even a good method. Don't see why that warrants 11 downvotes and then a comment from a user basically intending to provoke OP.

      I thought downvoting comments is reserved for when people say something offensive/are generally acting immature rather than when they suggest something that others disagree with/ think there are better methods. Why can't we respectfully disagree, like responding to his comment by saying "it may not be applicable in a lot of situations, that's not an efficient method to solve problems quickly" or something. It's also sad that he rose to your provocation. Really unwelcoming community.

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

        I'd like to add that not all members of this coding community act like this, in fact I've been introduced to competitive programming through a friend who is one of the nicest people I know. This is just my general impression after reading some of the forums started here.

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Maybe a few people misunderstood what I said... from pretests I meant sample tests!

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Wow, spoilers for that problem!

    This is a good trick -- though I've noticed problemsetters will often include only small/exceptional cases and very large cases to make it harder to see a pattern.

    There's an extension of this idea which is when you solve a problem, don't think too hard about the off-by-one logic and just adjust your answer at the end to match the samples (for example, I did this while solving 1371B - Magical Calendar; I defined a function f and knew the answer was either f(n) or f(n+1), so I just tried both).

    On the flip side, I definitely feel I could personally benefit from being more systematic and solving problems more completely before writing code (and using paper more!), since the strategy of "get the main idea, code it up, patch any bugs" can sometimes lead to mistakes or unnecessarily long "patch any bugs" cycles.

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

substitute X for Mind Fast solving(idk what it is but anyway)

First 128 steps of getting good at topic X
»
4 года назад, # |
  Проголосовать: нравится +22 Проголосовать: не нравится

Try to solve a lot of problems, because there are problems that have common ideas and by solving a lot of problems you improve your constructive thinking. For example, when i start to solve D in today’s contest, i got the idea in 10 seconds because I solved the problem with common idea. So, try your best and improve your mind solving by experiences

»
4 года назад, # |
  Проголосовать: нравится -9 Проголосовать: не нравится

I think your question is a bit old-fashion because almost everybody knows that the key to success in competitive programming is practicing hard and hard...

»
4 года назад, # |
Rev. 2   Проголосовать: нравится +3 Проголосовать: не нравится

I suggest you learn more concepts, algorithms, then practice some problems and improve them with tricks or other skills, methods

Solving a lot of problems harder by harder is the good option since majority of the problems are came from basic, easier problems

Some topics about problems, tricks, concepts, algorithms are well-known and you can take some days training problems in the same topic

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

I love how cyans and greens are the first to give advice