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

DIGJUMP cheating case

two solutions same in contest problem http://www.codechef.com/viewsolution/4083994http://www.codechef.com/viewsolution/4083993two solutions by two DIFFERENT USERS matching character by character and...

View Article


Image may be NSFW.
Clik here to view.

College wise ranking on contest page

Hello friends, As everyone might be knowing already about Codechef college wise ranking website present on www.okrdx.com. Here is it's Chrome plugin, now you can just see ranks without going anywhere...

View Article


Even Odd Query

.......hjkhjkhjk

View Article

Is answering like this allowed ? Possible copying ?

April challenge 2014 marked the beginning of my Competitive programming journey.Since I am new to this - it took me quite a bit of time to figure out the CNPIIM code but finally when I did - my soln...

View Article

NZEC RUN TIME ERROR

MY program is compiling on my laptop at netbeans and giving me write answer But while i submitting same code at codechef it gives me runtimeNZEC ERRORHERE IS link: http://www.codechef.com/problems/FGFS...

View Article


cheating june 2014

have been previously banned by admin in MAY contest because i have been found by someone ragarding cheating case of only 2 questions.So i make a new account.I follow my collegemate Himesh Kumar...

View Article

Transform the Expression - WA

#include <stdio.h> #include <ctype.h> int main() { int t; scanf("%d", &t); while(t--) { char expression[400]; expression[0] = '\0'; scanf("%s", expression); char operatorStack[400];...

View Article

CNPIIM - Editorial

PROBLEM LINK:PracticeContestAuthor:Bruno OliveiraTester:Shiplu Hawlader and Mahbubul HasanEditorialist:Lalit KunduDIFFICULTY:EASY PREREQUISITES:Number Theory PROBLEM:Find number of 2X2 matrices such...

View Article


execution time doubt

how to calculate the time taken for a program to get compiled???

View Article


Life, the Universe, and Everything , whats wrong with this c++ code

Hi im new to codechef and just wanted to know why this solution is not being accepted even though it gives me the correct output on codeblocks. I read the faqs and even those didnt help. Please see,...

View Article

COOLING PIES - WA

#include <stdio.h> int main() { int t, piesOccupied; scanf("%d", &t); while (t--) { int n, i, j; scanf("%d", &n); piesOccupied = 0; int piesWeight[100]; piesWeight[0] = 0; int...

View Article

NZEC in Python code for DIGJUMPS.

Hello, I have this Python solution for Chef and Digit Jumps which is giving me an NZEC error. I believe the algorithm is correct and BFS-like, but I am new to debugging NZECs in Python. Can anyone...

View Article

getting the in.txt and out.txt

Admin , can i please get the in.txt and out.txt for BESTBATS. My answer is working correctly for the testcases I have given(verified),but codechef's judge is reporting wrong answer.

View Article


Why is this approach giving while the other one is not ?

Have a look at this code. Then at this code.Can somebody please help me figure out why is my approach giving TLE and the other one is not? This problem disturbed me a lot during the contest.

View Article

TLE IN FUNC

PLZZ SUGGEST ANY WAYS TO REMOVE TLE IN FUNC...SOLN LINK... :-- http://www.codechef.com/viewsolution/4109517THNX IN ADVANCE

View Article


LONG CHALLENGE JUNE14 ratings not updated?

It is more than 24 hours and ratings for the JUNE14 is not yet updated.

View Article

Struggling with DP

I am a beginner in dynamic programming,I am not getting how to approach problems based on it.What is the best source or reference of DP for a beginner? thanks

View Article


GRAYSC - Editorial

PROBLEM LINK:PracticeContestDIFFICULTY:Easy-MediumPREREQUISITES:Pigeonhole Principle, SetsPROBLEM:You're given N 64 bit integers such that any two successive numbers differ at exactly 1 bit. Your job...

View Article

Hackerrank Even Odd Query Solution

Warning: I dont know sharing it will violate terms of Hackerrank, please feel free to warn me if it does so. As far as I know, related leaderboard is locked. Hackerrank Weekly Challenges - Week 5 -...

View Article

Dynamic Programming prerequisites?

What all things I have to learn first before starting dynamic programming. I know data structures, but I don't know applying divide and conquer,greedy etc.. Please help. Can I start DP directly?

View Article
Browsing all 40121 articles
Browse latest View live


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