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

WA in one test case in question (Chef And Easy Xor Queries)

In this question I am getting wrong answer in one of the test case . here is my solutionany help would be appreciated .

View Article


Is the Partition the Graph checker correct?

I didn't want to ask during the contest, but I felt like my solution was correct, yet still got WA. I haven't seen an editorial for the problem yet so I have no way to verify my solution.So I'd like to...

View Article


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

MXDIST - EDITORIAL

PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Bogdan CiobanuTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:HardPREREQUISITES:Convex Hull, Rotating Calipers, Range Minimum...

View Article

Rating not updated.?

Rating is not updated for External contest Plinth-Enigma'19 LNMIIT Techfest - (Rated for all)?? My rating before above contest is 1484.And After that, it inc. by 83.So 1567.And For accidental purpose...

View Article


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

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

Image may be NSFW.
Clik here to view.

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


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


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

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

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

Image may be NSFW.
Clik here to view.

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


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

FANCY - EDITORIAL

PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Shivam GuptaTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:CakewalkPREREQUISITES:NonePROBLEM:Given a string, check if it...

View Article


MGAME - EDITORIAL

PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Smit mandaviaTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:EasyPREREQUISITES:Modulo operator and Basic...

View Article

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


Invitation 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

PARRTY - EDITORIAL

PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Mohammad NematollahiTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:Medium-HardPREREQUISITES:Segment Tree and Implementation...

View Article

Image may be NSFW.
Clik here to view.

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


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