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

please post editorial of Dewansh & Conjecture

https://www.codechef.com/CYAU2018/problems/GOLDEW

View Article


why I am getting Runtime Error(SIGSEGV) ?

include<iostream>include<vector>include<math.h>using namespace std;int main(){ int test,i,ValueOfCoin,j,temp,difference,k=0,sum=0; vector <int> coins; vector <int>...

View Article


Why ZUBTRCNT problem showing wrong answer even though I have tested many...

include <iostream>using namespace std;int main() { int t,i=1; cin>>t; while(i>=t) { int l, k; long long s=0; cin>>l>>k; if(l>=k) { s=(l-k+1); s=(s*(s+1))/2;...

View Article

XTGR Help?

Can Someone Share their approach for August Lunchtime problem XTGR for Second subtask (30 points) and Original Contraints.

View Article

Please program this Pattern.

for n=5print following pattern:-1 5 3 2 4 6 13 11 9 7 8 10 12 14

View Article


help in debugging code for GHMC of this lunctime.

code link. What I've done is first check for the impoosible cases. for that I am checking whether another element is present or not in the +d range. If not I am adding. And for the remaining left...

View Article

Image may be NSFW.
Clik here to view.

Invitation for Insomnia Online Qualifier 2018

Hello everyone,We are an educational student club at Motilal Nehru National Institute Of Technology, Allahabad, an Institute of National Importance in India. Our Computer Coding Club as we call it, is...

View Article

GHMC Editorial

PROBLEM LINK:PracticeContestAuthor:Aleksa PlavsicTester:Hussain Kara FallahEditorialist:Hussain Kara FallahPROBLEMProfessor Gukiz has N students number 1 through N. Let's denote the number of candies...

View Article


PROBSET Editorial

PROBLEM LINK:PracticeContestAuthor:Hasan JaddouhTester:Hussain Kara FallahEditorialist:Hussain Kara FallahPROBLEMChef wrote a problem for his contest. He prepared the test-set. Initially he has...

View Article


EID Editorial

PROBLEM LINK:PracticeContestAuthor:Hasan JaddouhTester:Hussain Kara FallahEditorialist:Hussain Kara FallahPROBLEMChef has N coins. Each coin has a value. Chef has 2 children whom he will give 1 coin to...

View Article

JAGAM Editorial

PROBLEM LINK:PracticeContestAuthor:Aleksa PlavsicTester:Hussain Kara FallahEditorialist:Hussain Kara FallahPROBLEMVanja and Miksi are playing a game on N integer numbers. There is a counter S which is...

View Article

What does the editorial for NUMGAME2 explain?

Can someone provide a more explanatory description for NUMGAME2 Editorial.https://discuss.codechef.com/questions/4162/numgame2-editorial

View Article

what is wrong with my chef and polygon cakes code?

include<iostream>include<math.h>using namespace std;int main(){float T,N,A,K,total,D,p,Ak,x,y,gcd,temp; int X,Y;cin>>T;if(T<1||T>50){ do{ cout<<"\n invalid...

View Article


Image may be NSFW.
Clik here to view.

SPREAD - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATIONSETTER'S SOLUTIONCan be found here.TESTER'S SOLUTIONCan be found here.

View Article

ACM-ICPC Registration Process

Hello Guys,I came to know about ACM-ICPC this year and I am thinking for taking part in it. I go through the ICPC website as well as codechef blog's on ICPC many times, but it is still unclear...

View Article


Same Solutions but different results

Hello Everyone, I came across the problem named CHOCPAIR. I tried to solve it but failed. I look at @tciitb's solution. My idea is the same as his. Still, my solution wasn't accepted. So I followed his...

View Article

EGRCAKE - Editorial

PROBLEM LINK:PracticeContestAuthor:Egor BobykTester:Istvan NagyEditorialist:XellosDIFFICULTY:SIMPLEPREREQUISITES:Greatest common divisor.PROBLEM:We have a permutation $\texttt{P}[0..N-1]$ with...

View Article


Plagiarism should be introduced in practice area

I think plagiarism checker should be enabled into the practice area also. If people not able to solve the problem they just go to all submission and just copy the AC solution and make their own...

View Article

[Feature Request]: Filtering submissions by points

Is there anyway we can filter submissions by points? Usually when I want to see the fastest submission according to running time then there are submissions with partial score on top(ofcourse I want to...

View Article

Plagiarism checker should be introduced in practice area

I think plagiarism checker should be enabled into the practice area also. If people not able to solve the problem they just go to all submission and just copy the AC solution and make their own...

View Article
Browsing all 39796 articles
Browse latest View live


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