Quantcast
Channel: CodeChef Discuss - latest questions
Browsing all 39796 articles
Browse latest View live
↧

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 Article


Decrement in rating

Does our rating decreases because of any wrong submissions made to certain problems??? Mine decreased drastically by 206 points...

View Article


Whats 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 Article

I 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 Article

whats 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 Article


somebody 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 Article

Bear 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 Article

NAICHEF - Editorial

Problem LinkPracticeContestAuthor:Adlet ZeinekenTester:Misha ChorniyEditorialist:Bhuvnesh JainDifficultyCAKEWALKPrerequisitesProbability, LoopingProblemYou are given an N sided dice. You roll it twice...

View Article


Naive 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 Article


CHEFTRVL - 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 Article

can anyone explain me the problem of Immortal Frieza Problem Code: FRIEZA

Immortal Frieza Problem Code: FRIEZA

View Article

CLFIBD - 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 Article

quickmatch 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 Article


WALK 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 Article

algorithm 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 Article


sheokand 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 Article

Number 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 Article


VSN 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 Article

Image may be NSFW.
Clik here to view.

BIBOARD - Editorial

Problem LinkPracticeContestAuthor:TianyiTester:Misha ChorniyEditorialist:Bhuvnesh JainDifficultyHARDPrerequisitesFlows, Minimum CutProblemYou are given a grid consisting of $0$(white), $1$(black) and...

View Article

Help 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
Browsing all 39796 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>