Quantcast
Browsing all 39796 articles
Browse latest View live

NAME2 - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYCAKEWALKPREREQUISITESAd-HocPROBLEMGiven two strings, say A and B, find whether A is a sub-sequence of B, or whether B is a sub-sequence of A.A sub-sequence is...

View Article


Regarding Date Time Picker control in dot net

Hi, I am designing a windows application which needs dates subtraction from date to end date and report should be generated. How to subtract two dates(format should be dd:mm:yy) by comparing the dates...

View Article


Error in these codes for linked list

#include<stdio.h> #include<conio.h> typedef struct linkedlist { int info; struct linkedlist *next; }node; void create(node *head); void insert_beg(node *head,int value); void...

View Article

KINGCON - Editorial

PROBLEM LINK:PracticeContestAuthor:Jay PandyaTester:Hiroto SekidoEditorialist:Anton LunyovDIFFICULTY:EASYPREREQUISITES:Biconnected componentsPROBLEM:Getting rid of the story line the problem simply...

View Article

iostream.h and conio.h in c++

i use turbo c++ and my code for "rise and fall of power " worked well in tc. but there was an compilation error stating that iostream.h and conio.h could not be inluded.....what should i do?

View Article


Name reduction Query( May Challenge)

I submitted this code and got WA. Could someone please tell me why I am getting WA despite it working perfectly in my computer.Link to the problem:Name reductionHere is my code://name red 2...

View Article

Compilation error which using iostream.h and conio.h in c++

i use turbo c++ and my code for "rise and fall of power " worked well in tc. but there was an compilation error stating that iostream.h and conio.h could not be included. what should i do?

View Article

Help me with my code for WITMATH

I submitted my code in python of WITMATH during the contest and got AC. When i was submitting the same using C++ it was giving TLE though i had taken all steps to prevent overflow. Please can anyone...

View Article


Runtime error in rise and fall of power

Can Someone please tell me what is wrong with my code(http://www.codechef.com/viewsolution/2166308) for the question (http://www.codechef.com/problems/A4)

View Article


Getting WA for The Rise and Fall of Power

Can someone tell whats wrong with my solution to this problem. Problem-http://www.codechef.com/problems/A4/ My solution-http://www.codechef.com/viewsolution/2166013

View Article

Implementation for WEIRDFN on SPOJ using Red black tree giving TLE

I implemented WEIRDFN on SPOJ link(http://www.spoj.com/problems/WEIRDFN/) using red-black trees which is much similar to Codechef problem RRATING which got AC using same implementation . How much...

View Article

SUBMIT Button not working!!

@admin : I am not able to submit my code for any problem. Any issue?

View Article

What's going wrong? Please help.

vector< vector<int> > adj; // vector of vectors adj vector< vector<int> >::iterator it; for( it = adj[node].begin(); it != adj[node].end(); ++it ); // line xyz { int val =...

View Article


AMMEAT - Editorial

Problem Link:PracticeContestDifficulty:CAKEWALKPre-requisites:ad-hocProblem:You have N plates of meatballs, the ith having Pi meatballs. What is the minimum number of plates you need to choose so that...

View Article

resources for probability and permutation & combination

I am kind of weak in probability and permutation & combination. But I don't have time to go through entire textbooks. Is there compact tutorial or any site where I can all the concepts.

View Article


Name Reduction | Run time Error

Here is my code: http://www.codechef.com/viewsolution/2167540 , it is giving run time error, I have banged my head for several hours, but couldn't find why, I tried to do it with different array sizes...

View Article

Run time error in Fierce Battles

I am getting run time error in fierce battles , and i am unable to find the reason for it as it runs on my laptop.

View Article


how should i start approaching codechef programming?

i have just started getting involved in codechef.. merely reading the practice questions i am not able to understand the way to approach the programmming. someone please help

View Article

FIRESC - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYSIMPLEPREREQUISITESGraph Theory, Union Find, Depth First SearchPROBLEMAn Office has several people on which a relationship of being mutual friends is defined. Two...

View Article

C tutorials

Hello, I have a reasonably knowledge regarding java and I would like to learn the C language, it's just curiosity and I want to have a better understanding of the lower level languages (comparing to...

View Article
Browsing all 39796 articles
Browse latest View live


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