Quantcast
Browsing all 40121 articles
Browse latest View live

A3 - Editorial

does anyone have any DEEPER notion about A3 - The Guessing Game: http://www.codechef.com/problems/A3 approach? thanx beforehand.edit: pls look below for explanation. and pls show your gratitude by...

View Article


DECORATE - Editorial

Given a string S, the problem first requires you to compute the set of all unique palindromes of the string. This is part one of the problem. For example, given the string "abab", the set of all unique...

View Article


CUBE - Editorial

Link: contestAuthor: viv001@Tester: gerald@Denote the two cubes to be A[][][] and B[][][]. For every fixed (x,y), let MaxLineLenXY[x][y][z] be the maximum length of a line with x and y coordinates...

View Article

MARBLEGF - Editorial

PROBLEM LINKContestAUTHOR@kurumaTESTER@white_kingSOLUTIONThis is a trivial application of Fenwick tree. Those not familiar with Fenwick tree may look at the topcoder editorial available here.All this...

View Article

TLE given codeforces question

The following code gives TLE but i think it should have given Runtime Errror... As The size of the input(n) was 10^5... and i took it as 100. #include<bits/stdc++.h> using namespace std; int...

View Article


How to learn programming in C++ and code here

Should I run through the tutorial on learncpp.com and then attempt these problems? Or is there more I need to know

View Article

hello... friends... who want to learn java... free... free...

see... my sites... and get cool tutorials... dailyclick here

View Article

Alternative to using printf repeatedly

What is the best way to display output quickly? Is it recommended to write all output to one string and then print the string at once? Are there any libraries for quick input/output?

View Article


College wise Codechef ratings- please see this site

Guys please check out this awesome site. You can add your code chef username and it will display rankings of users from your college. Please add your college if it is not present and then add usernames...

View Article


Longest Common Pattern

How to make output screen wait without using getch() or delay()?

View Article

fatal error

i am using borland turbo c++ and getting error " prog.cpp:1:24: fatal error: iostream.h: No such file or directory # include ^ compilation terminated. " plz....help the program is running fine on my...

View Article

REIGN - TLE Max sub array problem

http://www.codechef.com/problems/REIGN my solution gives tle...can someone suggest optimisation for my code? My solution- http://www.codechef.com/viewsolution/3151583

View Article

Editorial for CUBE CAKES

Can anybody please provide the editorial of CUBE CAKES of December Challenge 2013..???

View Article


Fast Multiplication - explanation

I will try to explain the working of the fast multiplication function in brief.If we want to do an operation like 10^18 * 10^18 % MOD, where MOD is also of the order of 10^18, direct multiplication...

View Article

explaination of Forbidden Sum?

can someone explain this part of the editorial of Forbidden Sum of January Long (http://discuss.codechef.com/questions/35346/frbsum-editorial) "For the static Segment Tree, we can maintain a sorted...

View Article


getting WA for ERROR

questionmy solutionplease give me a test case where my code fails

View Article

Learn Java with tutorials

see... my sites... and get cool tutorials... dailyclick here

View Article


Incompatible Type - Guessing Game

Hi, please help me, when I try to run my code for the Guessing Game, I get an: incompatiable type compiler error. What's happening?import java.util.; import java.io.; public class Main { private String...

View Article

Can you please tell me why NZEC occurs?

public class Main{ public static void main (String[] args) throws java.io.IOException{ java.io.BufferedReader r = new java.io.BufferedReader(new java.io.InputStreamReader (System.in)); int n,k,t,c;...

View Article

Donation required for brother's education

Help me to fundraiser for my brother's education i know this is not the right place to ask for donation Please check this link and donate whatever you want.http://igg.me/at/brothersEducation

View Article
Browsing all 40121 articles
Browse latest View live


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