Written editorials will be available for all on discuss.codechef.com. Pro users can find the editorials directly on the problem pages after the contest. The video editorials of the problems will be available only to Pro users.
Also, if you have some original and engaging problem ideas, and you’re interested in them being used in CodeChef’s contests, you can share them here.
Can anyone clarify my doubt. I currently 1 star coder my rating before starters 109 was 1190. During the contest I have attempted 3 questions. Solved them correctly and submitted. I did not submit any kind of wrong solution. Still my rating decreased by 25. Why???
Hey guys, I am trying to solve the Alter Ego problem which comes in starter 109
My approach: I am trying to take elements by using lower_bound , and delete it if conditions are satisfied and move forward
I don’t know why code is not working well can anyone help me to give the test cases in which my code is failing or help me to correct the approach
Here is my code:
// Nobita_Nobi Copyright 2023-2024 the only code by Nobita_Nobi
// i am happy that you will learn something new from my solution
include <bits/stdc++.h> include
using namespace std; define fast ios_base::sync_with_stdio(false); define input cin.tie(NULL); define ll long long
// include <ext/pb_ds/assoc_container.hpp>
// using namespace __gnu_pbds;
// define pii pair<int,int>
// const int RANDOM = chrono::high_resolution_clock::now().time_since_epoch().count();
// struct chash {
// int operator()(int x) const { return x ^ RANDOM; }
// };
Your rating before the contest was 1190, but you were unable to solve the fourth problem which had a rating of 1154. So it’s easy to see why your rating fell down.