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

PARRTY - EDITORIAL

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

View Article


Is 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 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

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

Image may be NSFW.
Clik here to view.

Invitation 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 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

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

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


DIFNEIGH - EDITORIAL

PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Evgeniy ArtemovTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:Easy-MediumPREREQUISITES:Pigeonhole principle, Constructive...

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

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

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

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


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

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.

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

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


EARTSEQ - EDITORIAL

PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Evgeniy ArtemovTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:Easy-MediumPREREQUISITES:Sieve of Eratosthenes, Number-Theory...

View Article

EARTSEQ QUESTION

https://www.codechef.com/viewsolution/22395844WHAT IS WRONG IN MY CODE??

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


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