Trace of Matrix(Problem Code: TRACE)-Beginners(Practice Problems)- C Language
Link to the Problem: https://www.codechef.com/problems/TRACECan somebody tell me what is wrong with the following solution? I have generated matrices with random numbers(99 test cases with matrices of...
View ArticleDecrement in rating
Does our rating decreases because of any wrong submissions made to certain problems??? Mine decreased drastically by 206 points...
View ArticleWhats wrong in this code?
#include <iostream> using namespace std; int t,n[1000]; void input(int); void output(int); int main() { cin>>t; input(t); output(t); return 0; } void input(int t) { { for (int i=0;...
View ArticleI have a doubt in question GOHAN from competition Quick Code
We had to find V(in)/V(out):V(in)=Impedance*CurrentThe circuit given is RLC circuit with varying frequency of VOLTAGE(V(in)).The correct solutions of the question consideredImpedance= Resistance...
View Articlewhats wrong in my code
Question code: SHKSTRMy code:include <bits stdc++.h="">using namespace std;typedef long long ll;typedef long double ld;struct str {string s1; int index; };int fun(str x,str y)...
View Articlesomebody pls explain the author soln for shkstr question of june challenge
link for author soln is https://s3.amazonaws.com/codechef_shared/download/Solutions/JUNE18/setter/SHKSTR.cpp
View ArticleBear and Haircut ,please tell me how to approach this problem , editorial is...
HAIRCUT I am unable to form recurrence ,please help and editorial is not complete of this problem.editorial
View ArticleNAICHEF - Editorial
Problem LinkPracticeContestAuthor:Adlet ZeinekenTester:Misha ChorniyEditorialist:Bhuvnesh JainDifficultyCAKEWALKPrerequisitesProbability, LoopingProblemYou are given an N sided dice. You roll it twice...
View ArticleNaive Chef: 3 Different Solutions with Comparison
A comparison of three different solutions for June Long Challenge Problem Naive Chef:HashmapCount manuallystd::countWatch here: https://youtu.be/r9yvzd0tTJQ
View ArticleCHEFTRVL - Editorial
PROBLEM LINK:PracticeContestAuthor:Yuri ShilyaevTester:Hasan JaddouhEditorialist:Yury ShilyaevDIFFICULTY:Easy-medium.PREREQUISITES:Xor operation, dfs.PROBLEM:You are given a tree with $N$ vertices and...
View Articlecan anyone explain me the problem of Immortal Frieza Problem Code: FRIEZA
Immortal Frieza Problem Code: FRIEZA
View ArticleCLFIBD - Editorial
PROBLEM LINK:PracticeContestAuthor:Avijit AgarwalTester and Editorialist:Soumik SarkarDIFFICULTY:CAKEWALKPREREQUISITES:Strings, SortingPROBLEM:Given a string $S$ find the frequency of each character in...
View Articlequickmatch 10 coming soon with 3 hiring companies
This time we have 3 hiring companies and good ones, good coders working in them...Will update details once problems are ready. Readying it. https://www.codechef.com/KQ102018Edit: Codechef to share 250...
View ArticleWALK Solution not accepted.....
Someone please please help me to figure out what is the difference in the outputs of these two code?? my code for the problem#include <string>#include <iostream>#include...
View Articlealgorithm development
HELLO, I am a student and I recently joined codechef. I am a beginner and I code in C++. I know basic level C++, but I am not able to solve problem or create an algorithm. So is there anyone who can...
View Articlesheokand and string timecomplexity problem
solution link : https://www.codechef.com/viewsolution/18880951please can someone tell me why i was getting 30 points however my code was similar to editorialist code @vijju please. Can you find the...
View ArticleNumber of nodes in a segment tree.
In the following implementation of segment tree, in the case when number of elements in the array for the range query, say A, are n such that n is not a power of 2, then I'm unable to establish that we...
View ArticleVSN TLE error (following the Editorialist's approach)
Can someone please help me by pointing out the error in my code? I have just followed the approach of the editorialist and I'm unable to find the issue. Here's my...
View ArticleBIBOARD - Editorial
Problem LinkPracticeContestAuthor:TianyiTester:Misha ChorniyEditorialist:Bhuvnesh JainDifficultyHARDPrerequisitesFlows, Minimum CutProblemYou are given a grid consisting of $0$(white), $1$(black) and...
View ArticleHelp to solve Minimum Deletion RD19
Hi there, I am new in this forum, so please help me with your suggestions.. Earlier today I was trying to solve the problem under "Practice>Beginner" named "Minimum Deletion" tag:RD19 I know it's a...
View Article