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

HDELIVER - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATIONRestating the problem in terms of Graph Theory, we're given a set of edges, and we've to identify if two given query points are connected via these...

View Article


can u xplain scanf and printf function?

i want to know the the function definition of printf() scanf() function...

View Article


Question regarding problem statement of Sereja and Ballons - SEABAL

I'm having a hard time understanding what is the problem asking since the wording is really confusing. So I wonder if anyone could walk me through the example test case? Please note that, I'm not...

View Article

Exotic and Esoteric programming languages

Although they are not mainstream programming languages, still are quiet productive in solving special type of questions, they are fairly popular among security analysts and hackers, and are extremely...

View Article

sigsegv error

#include<stdio.h> #include<stdlib.h> int main(){ int no_test_cases,i,j,k,no_rooms,no_times_visited,no_bottles,room,max,index = 0,consumed = 0; int *visit_description; int...

View Article


sigsegv error

#include<stdio.h> #include<stdlib.h> int main(){ int no_test_cases,i,j,k,no_rooms,no_times_visited,no_bottles,room,max,index = 0,consumed = 0; int *visit_description; int...

View Article

TASTYD - Editorial

Author: Roman Rubanenko Tester: Vamsi Kavala Editorialist: Bruno OliveiraPROBLEM LINKSPracticeContestDIFFICULTYMediumPRE-REQUISITESDivide-and-conquerProblem:Chef is at a restaurant serving dishes....

View Article

Incorrect output for larger test cases

I am trying to solve this problem : https://icpc.kattis.com/problems/differentHere's my code :#include <stdio.h> #include <math.h> #include <stdlib.h> int main (void) { unsigned long...

View Article


Marking solved problems not working in MAY 2013 contest (1.4)

I realized that my Chrome extension is not working in MAY 2013 long contest...related to - http://discuss.ww2.codechef.com/questions/3011/a-green-mark-for-solved-practice-problemsedit: new version 1.5...

View Article


Marking solved problems version 1.4 is not working

As reported by several of you there were some issues with my extension in version 1.4Your chrome extension is not working properly. I mean, when I logged in through my codechef account, I get only one...

View Article

Memory Allowed

Whats the memory allowed in codechef questions? FAQ says 64 MB is guaranteed. Whats the upper limit?

View Article

LEMOUSE - Editorial

Problem Link:PracticeContestDifficulty:SimplePre-requisites:Dynamic ProgrammingProblem:Little Elephant is coordinates (0, 0) of a NxM grid A. A[i][j] = 0 if there is no mouse in cell (i, j), else it is...

View Article

Logout repeatedly

Is there a problem in login of codechef? I am being logged out again and again sayin one user per IP address violation. I am logged in only from one device and have even changed my password. Is it only...

View Article


what is wrong in this code..

include<stdio.h>int main() { int n1; float n2,n3; scanf("%d%f",&n1,&n2); if(n1>0&&n2>=0) { if(n2<=2000&&n1<=2000) { if(n1%5==0&&n1<n2) {...

View Article

How can I get better at solving problems?

I am new to CodeChef. I could solve just 3 out of 10 questions in the August Challenge. I could understand what some of the other questions wanted, but did not understand how to solve them. I am not a...

View Article


How to get rid of getting NZEC error while submitting solution in java?

To all who are geting NZEC, try using this format in java:import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { try{ //Your Solve...

View Article

memory limit on c/c++ program

I wanna know that how to declare an array of more than 10^7 .. C/C++ only allows to declare array of 10^7 .. what if i want to declare array of more than 10^7.. anyone please help ..

View Article


Some More Homework - Length of "b" sequence

I'm not the only person who has an issue with this practice problem. Here is a link to the problem.The issue is: b can be an infinite sequence. I have no problem calculating b to an arbitrary length....

View Article

java strings manipulation

if we are using StringTokenizer to perform task on a string, and apart from reading and writing we also have to change few words in that string. In this case do we have to make a StringBuffer object or...

View Article

WA WA WA..........????MAXIMAL SCORE PATH

WA has been constantly.....poping in my screenhelp me out ....guys.....http://www.codechef.com/viewsolution/2518591

View Article
Browsing all 40121 articles
Browse latest View live