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

Approach to become Good Programmer.

I really want to know that whats the ideal approach for becoming a good programmer? Whats the secret to solve the Codechef questions? Any External links, online tutorials, e-books are welcome. ANY help...

View Article


getting SIGABRT error please help

I have commented my algorithm in my code http://www.codechef.com/viewsolution/3777817 i am getting SIGABRT error cant find the error please help.I have no idea about illegal instrctusion in c language...

View Article


Image may be NSFW.
Clik here to view.

Extension for making sure you make private submissions on Ideone

For all those users, who use Ideone for compiling and testing their codes onlineGentle reminder, Ideone has 3 privacy settings:Public: Codes are available to everyone, even shown publicly in recent...

View Article

Large data set of codejam problem bullseye

How to handle the large data set of the following problem of codejam 2013.?https://code.google.com/codejam/contest/2418487/dashboard#s=p0what i did was just using this function for discrete binary...

View Article

SPOJ - MTREE

I tried to solve this problem. But getting WA . I have used DFS to solve. Please help. I don't know where i am going wrong .http://www.spoj.com/problems/MTREE/My Solution - http://ideone.com/OVPROd

View Article


Why Wrong Answer : My BINTREE code ?

#include <stdio.h> #include<math.h> long int poww(long int to) { if(to==0) return 1; return 2*poww(to-1); } long int other_path(long int h,long int l) { long int path=0; while(h!=l){...

View Article

No Editorials for GERALD08 and LMATRIX3

When will the Editorials for the last two problems of APRIL14 long challenge GERALD08 and LMATRIX3 will be posted ??

View Article

Image may be NSFW.
Clik here to view.

A tutorial on the Extended Euclid's Algorithm

Hello @all,Following my previous tutorial on Repeated Squaring, I will now focus on the Extended Euclid's Algorithm, which as you will be able to see, can be seen as the reciprocal of modular...

View Article


runtime error

Guys my code is working fine in Ideone but here it is giving runtime error. Can anybody help

View Article


Image may be NSFW.
Clik here to view.

SNAPE - Editorial

Problem Link:contest, practiceDifficulty: CakewalkPre-requisites: Geometry, ImplementationProblem:We are given two numbers A and B. Our task is to determine the minimal and the maximal possible value...

View Article

Travelling Chef Problem

Was the problem based on Gaussian Elimination?

View Article

In Built Library of Python

In python can we use library numpy?

View Article

LOGO - Editorial

Problem Link:contest, practiceDifficulty: Medium-HardPre-requisites: Z-Buffering, Geometry, Stereometry, ImplementationProblem:We are given N polygons(triangles and quadrilaterals) in 3D. Our task is...

View Article


Was my approach correct for Travelling Chef problem?

Although I wasn't able to code correctly this question http://www.codechef.com/COOK45/problems/TCP, but was my following approach correct for solving:The distance required as the output is basically...

View Article

DIREL - Editorial

Problem Link:contest, practiceDifficulty: EasyPre-requisites: Graphs, Shortest path problem, Ad-hocProblem:We are given N persons and R binary relations(like "Vanessa is sister of Jack"). Our task is...

View Article


LCPESY-Editorial

PROBLEM LINK:PracticeContestAuthor:ShipluTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:CAKEWALK PREREQUISITES:Ad-hocPROBLEM:Given two alphanumeric strings, find the number...

View Article

What should I do to improve my performance on CodeChef?

I have been solving questions on CodeChef since almost an year,i have solved around 100 problems till now, and i solve an average of 3 questions per contest. But i don't know how to improve myself, Can...

View Article


determinant of matrix

hello I am doing some problem which include part of finding greatest matching and perfect matching in graph. I found that it is easy to implement it by tutte's matrix. I read algorithm here. for (int...

View Article

Image may be NSFW.
Clik here to view.

TCP - Editorial

Problem Link:contest, practiceDifficulty: MediumPre-requisites: Interpolation, Derivatives, IntegralsProblem:We are given 4 different points of the 2D plot of some cubic polynomial function F(t) and...

View Article

How is this solution getting AC?

http://www.codechef.com/viewsolution/3784470Can somebody tell me how is this getting accepted. I ran it on ideone and it is giving wrong answer for the sample test cases.

View Article
Browsing all 40121 articles
Browse latest View live


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