hot-coco's blog

By hot-coco, history, 14 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

| Write comment?
»
14 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!

»
14 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.

  • »
    »
    14 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?

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

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

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

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

Problem != Question.

»
14 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?

  • »
    »
    14 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 🤦 🤦

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

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

no

»
14 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!