PARRTY - EDITORIAL
PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Mohammad NematollahiTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:Medium-HardPREREQUISITES:Segment Tree and Implementation...
View ArticleIs there any formula to calculate nth fibonacci number ?
Suppose we are given, a(0)=x ; a(1)=y and the relation, a[i]=a[i-1]+a[i-2] and , we are asked to calculate a(n) , how to calculate it if n is as big as 10^9 ?Thanks ! :-)
View ArticleGMEDIAN - Editorial (Unofficial)
PROBLEM LINK:Div1Div2Setter:Teja Vardhan Reddy Editorialist: Utkarsh PandeyDIFFICULTY: EASYPRE-REQUISITES: Observation, Binomial Coefficients.PROBLEM: Given a sequence A1,A2,…,AN. Find the number of...
View ArticleGetCode Codechef/Codeforces/SPOJ plugin for Sublime Text 3
GetCodeThis is an ST3 plugin which:Take the URL of a problem such as https://www.codechef.com/problems/INVLIS.Parse the URL and get the problem code(In this case it is INVLIS).Create a new .cpp or .py...
View ArticleInvitation to RATED Contest(Div1+Div2) Enigma on Codechef, 10 January 2019
Hello, CodeChef community,Tired of searching for the perfect teammates in every competition? Want to prove your worth as a solo coder? Looking for the perfect platform to display your skills?This solo...
View ArticleGetting java NZEC error on codechef compiler
Guys i am trying to solve the DAG Delete problem of December contest. My code runs perfectly fine on my computer and i have tested it for multiple cases. I have also made sure that everything is...
View ArticleWhy doesn't Codechef put editorials of all problems !
Is there nobody answerable to providing editorials of contest problems. Let go other open and unrated contests, we are talking about monthly rated contests. Several times the editorials don't appear...
View ArticleMySql database creation
Need help how to create database in mysql via chef .Iam able to install mysql and now i need to create database i don't know the syntax how to create database.Thanks .
View ArticleDIFNEIGH - EDITORIAL
PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Evgeniy ArtemovTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:Easy-MediumPREREQUISITES:Pigeonhole principle, Constructive...
View ArticleHelp for SEACO
hi , i am not able to find out whats wrong in my solution for the problem "Sereja and Commands"(https://www.codechef.com/problems/SEACO ) . I am implementing a fenwick tree approach , in which i am...
View ArticleRatings are just unfair..!!!
Ratings are just unfair..!!My rating before(this and JAN Challenge) is 1484.And after this challenge +83.So 1567.And it is reverted back to 1484.Due to running of JAN Long challenge.And after long...
View ArticleA big bug in Rating system..!!!
Here,It is my rating graph for Jan Long Challenge 2019(Div.2),And see my rating inc. by 14.So which becomes 1581.And my Rank was 2673.And this is Another graph of the person from same rank list,which...
View ArticleA doubt in approach of MAXEP problem ( Shared by IOI Gold Medalist ) -...
I wrote an editorial regarding how to solve the MAXEP problem asked in december long contest 2018.A lot of users shared wonderful approaches to take on the problem (besides my way of solving it), but I...
View ArticleFANCY - EDITORIAL
PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Shivam GuptaTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:CakewalkPREREQUISITES:NonePROBLEM:Given a string, check if it...
View ArticleA very big plagiarism this long challenge JAN19.
Codechef did not do his job this long challenge yet it was obvious that the plagiarism had to be very big. Out of 10 solutions in python3.6 I count 4plagiarisms on XYPIZQ.And what disgusts me is that...
View ArticlePizza Slice (XYPIZQ) mini editorial
Consider this diagram. Half of the line segments are drawn in red. The line segments $a_0b_1,b_1a_2,a_2b_3,b_3a_4$ also exist, but are ommited here for clarity.We do not yet know what angle $x$ is, but...
View Articlethis code runs successfully but at the time of sumbit it gives me NZEC error...
cook your code herex, y = int(input()), int(input()) if(x % 5==0): print(y) y=y-x- 0.50 print("%.2f" %(y) ) else: print(y)
View ArticleEARTSEQ - EDITORIAL
PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Evgeniy ArtemovTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:Easy-MediumPREREQUISITES:Sieve of Eratosthenes, Number-Theory...
View ArticleEARTSEQ QUESTION
https://www.codechef.com/viewsolution/22395844WHAT IS WRONG IN MY CODE??
View ArticleInvitation to CodeChef January Long Challenge 2019 sponsored By ShareChat
Happy New Year to the CodeChef community!Celebrate the new year with CodeChef’s January Long Challenge 2019 sponsored by ShareChat. This programming contest lets you tackle 8 problems over 10 days and...
View Article