Quantcast
Browsing all 39796 articles
Browse latest View live

help in solving question

Help in solving below problem. I am unable to solve this problem.Therasa is a Nurse. She wants to give some tablets to the patients in her practice. All the patients sit in a line and each of them has...

View Article


How should I test my program

I am done writing the code. And I am not sure if my program works correctly or not. How do I go about testing it?

View Article


SIGSEGV ERROR

This is with respect to GERALD 3. Please Help!! All my codes either end up with time limit exceeded or this particular error.

View Article

Runtime Error(SIGSEGV) in magic rankings

my solution have Runtime Error(SIGSEGV) in this problem could someone tell me why? and here is my solution

View Article

magic ranking time limit exceeded

I am having problems with magic ranking problem.I am quite sure i am using the right approach and produce correct results in O(n^2) but I keep getting TLE .would someone care to explain to me wat's...

View Article


why getting runtime errors

include<stdlib.h>include<stdio.h>//#include<conio.h> int quiksort(int,int); int partition(int,int); //#include<malloc.h> int a[1000001]; int main() { // int a[1000001]; long int...

View Article

suggestion for practice problems

would it be possible to show test cases for practice problems? if No, why not? thanks

View Article

Showing Wrong output while submission

Hey, I checked the output of my program many times on my system. Its is showing correct output for all the cases dat I checked. But when I submit it online, it is showing wrong output. Tell me the...

View Article


getting a Wrong Answer

Hey guys, I am new to code chef and am getting a problem while submission of a code i.e., "Chef and Digits". Ive checked my programs output on gcc 4.8.1 with several different cases possible on my...

View Article


April Challenge Chef and Digit

i am getting time limit exceed, please help me, my answer is totally correct but i am getting time limit exceed.

View Article

DFS fast in python

I was trying to solve FIRESC using http://www.codechef.com/viewsolution/3708062. Have used dfs implemented using stack in python and sys.stdin.readlines(). Yet, it is slow. Can someone suggest me if...

View Article

Testing a Java program

I had developed my solution to work as "java Main in.txtout.txt", however I am receiving a "Wrong answer" message when a submit my solution.In the FAQ I have found that I must test using java test <...

View Article

Image may be NSFW.
Clik here to view.

A tutorial on Suffix Arrays

Hello @all,This text will focus on the construction of Suffix Arrays, it will aim to explain what they are and what they are used for and hopefully some examples will be provided (it will be mainly...

View Article


Execution time do not makes sense

I'm having difficulties resolving a very simple problem. My solution is optimal (for sure), but I'm still getting the error time limit exceed.In order to known how far I'm for the correct solution, I...

View Article

Image may be NSFW.
Clik here to view.

TUXCODER 2014 on Codechef today!!

Web Club NITK Surathkal and NITK Codechef Campus Chapter will be hosting a short 3 hour contest on Codechef today (Monday 7th April 2014) from 9.00 pm to 12.00 am .The contest will have 6 questions of...

View Article


Divide the Tangerine - Java 6 is used

Hello Java coders,please note, that problem Divide the Tangerine is compiled using Java 6 (even when you choose Java 7 from drop down). We had there similar problems before, search the forum to find...

View Article

chef and digits april long callenge

my code is working on codeblocks but still unacceptable............can you tell me the error

View Article


cyclic strings

Question: http://www.codechef.com/TUXO2014/problems/SREENIMy solution: http://www.codechef.com/viewsolution/3716014I was trying to solve it by rotating the array about each element from 2nd loaction to...

View Article

Output confusion for Chef and Digits

Hey there,I am a bit confused about the output of the problem chef and digits.Do we need to give a blank line b/w the input and the output lines or do we need to continue the output on the next line of...

View Article

Practice TUXCODER

How to submit for TUXCODER problems, cause the contest is end.

View Article
Browsing all 39796 articles
Browse latest View live


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