getting wrong answer in KMXOR checked all the cases given in the editorial
link text this is my solution
View ArticleInvitation to ProCon Junior 2018
"Code to fight, Code to survive, Code to win!"Hello Everyone!I would like to invite you all to participate in ProCon Junior to be held on CodeChef. It will begin at 19:30 IST on August 11, 2018.The...
View Articlewhat is the solution for time limit exceeded
My solution is showing time limit exceeded. What all can I do to solve this problem?
View ArticleFLIPCOIN Editorial ?
I don't find the editorial of this problem FLIPCOIN on the Codechef. If anyone has the link please share it. Problem Link- https://www.codechef.com/problems/FLIPCOIN/
View ArticlePython input error
When i try to run a code in python on codechef it gives EOF error.But the same thing if run with custom input it runs perfectly.
View ArticleAdd networkx in python
If possible, and if it is NOT unfair to other participants, Can codechef consider adding networkx library in python? It is very helpful library in manipulating graphs. Thanks.
View ArticleProcon junior chef and pizza
How to solve “chef and pizza“ problem from procon junior?
View ArticleWhy does this code not cause a SIGSEGV?
Why does this code not cause a segmentation fault when it is supplied with input 1 1000?#include <iostream> #define MAX 1000 using namespace std; long long dp[MAX] = {-1}; long long func(int n) {...
View ArticleInternal Server Error in LTIME62 Forced Particles question
@admin I have been trying to submit solution for this problem for the past one day, but every time I'm getting internal server error on the submission result page!
View Articlerepeating of staement
#include <stdio.h> int main(void) { float bal,total; int amt; printf("enter the amount"); scanf("%d%f",&amt,&bal); if(amt%5==0 && amt<bal) { total=bal-amt; printf("the balance...
View ArticleQM10P5A editorial
PROBLEM LINK:PracticeContestAuthor:Chandan BoruahTester:Taranpreet SinghEditorialist:TaranPreet SinghDIFFICULTY:SimplePREREQUISITES:GreedyPROBLEM:Given N balls, each ball colored either red or blue, we...
View ArticleQM10P5 editorial
PROBLEM LINK:PracticeContestAuthor:Chandan BoruahTester:Taranpreet SinghEditorialist:TaranPreet SinghDIFFICULTY:EasyPREREQUISITES:Slope of a line, Observation.PROBLEM:Given $N$ lines represented by two...
View ArticleQM10P5B editorial
PROBLEM LINK:PracticeContestAuthor:Chandan BoruahTester:Taranpreet SinghEditorialist:TaranPreet SinghDIFFICULTY:EasyPREREQUISITES:Slope of a line, Observation.PROBLEM:Given $N$ lines represented by two...
View ArticleA Learning Module for Beginners (Currently in Development, Feedback requested)
Hi fellow programmers,We are planning to create a course for beginners. Beginners often come to the site and got overwhelmed by so many problems present on the site. Many of them often ask where to...
View ArticleCan anyone be blamed for plagiarism in Practice Questions ?
After contests are over, I do look at solutions of other coders and try understand and and improve solutions for lower time..... Can I be warned / banned in this case ?
View ArticleWhy is my solution wrong for practice Question FLOW006
include<stdio.h>main() { int t,i,n,sum=0; scanf("\n%d",&t); for(i=0;i<t;i++) { scanf("%d",&n); sum=0; while(n!=0) { sum=sum+n%10; n=n/10; } printf("\n%d",sum); } return 0; }
View ArticleWhy is my solution is wrong for practice Question FLOW006
include<stdio.h>main() { int t,i,n,sum=0; scanf("\n%d",&t); for(i=0;i<t;i++) { scanf("%d",&n); sum=0; while(n!=0) { sum=sum+n%10; n=n/10; } printf("\n%d",sum); } return 0; }
View Articlehow many approx loops are allowed in 2.5 sec lime limit
How many approx loops can be traversed in 2.5 sec? And what should be best complexity to traverse 10^6?
View ArticleIs Code Chef a competitive site or can I learn to code also here?
I am new to coding and in search of online certification courses in Coding and Programming. So is this a site for me?
View Article