hot-coco's blog

By hot-coco, history, 10 months ago, In English

Just started solving questions on Codeforces recently. Initially some questions did overwhelm me, but yeah took my time and when that was not enough, I wrote down all the cases on a paper, looked at the editorial, understood the logic and wrote a different brute code by myself.

I have currently solved around 60 questions in the past few weeks, I have build some confidence and I don't get overwhelmed by seeing a problem. Goal is to reach Specialist by september. what do you say, is it possible?

  • Vote: I like it
  • -21
  • Vote: I do not like it

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

Well, I must say it will be very difficult to achieve. But anyway, wish you all the best!

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

I saw your profile, considering you still can't solve B problems of Div3, I'd say specialist is very unrealistic target. Depending on the time you have you can reach pupil though. Best of luck anyways.

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

    can i reach pupil by this june/july end? how to practice to achieve that?

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

      start giving contests, you've given like 4 contests in total.

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

        also I myself am just a newbie, and I don't practice I just give contests, so It would be better taking advice from others regarding practice.

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

      You ARE pupil in fact. It seems that you have only taken part in 4 contests, so 150 pts are hiden.

      Read this blog.

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

Problem != Question.

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

I just wanna say that practice , practice is only it takes I am following that u must follow to...

»
10 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it
#include <bits/stdc++.h>
using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    int t;
    cin >> t;
    while (t--) {
        long long k, a, b, x, y;
        cin >> k >> a >> b >> x >> y;

        long long count = 0;

        // Prioritize the one with smaller decrement
        if (x > y) {
            swap(a, b);
            swap(x, y);
        }

        // First cook as much as possible with the better option (less decrement)
        while (k >= a) {
            k -= x;
            count++;
        }

        // Then cook the other one if still possible
        while (k >= b) {
            k -= y;
            count++;
        }

        cout << count << '\n';
    }

    return 0;
}

is this one also your own code which is copied i mean written by you?

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

    human can write code like that, I do it all the time 🤦 🤦 I do it all the time, bro proved nothing 🤦 🤦

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

      you dont even talk you are cheater and when it was proven they shut your mouth. he doesnt needs to prove something to a "person" who cant understand anything.

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

        proof?

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

          what proof? the code i mentioned is proof. if you cant understand then it is your problem not mine

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

          in one of the contest he solved a problem in one minute the previous problem was submitted and after one minute next submission got submitted for next problem. reading statement, understanding problem and wrting code all in one minute is wild.

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

    I actually spent about 50 minutes trying to solve this one on my own. Wrote a brute-force version that didn’t pass a few test cases on CPH. At that point I was mentally drained, so I checked the idea using GPT.

    The logic made sense to me it just optimized what I already had in mind, using a swap to simplify things. I should’ve edited the code a bit more before submitting.

    Will make sure next time it reflects more of my own style.

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

no

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

looking at the ratings of the questions you solved, you might reach pupil, but specialist might be difficult at this time, but gl!