ignus deoria the great city...why i am getting wrong??
#include<iostream> using namespace std; struct node { int data; node *next; }; node *head; node *tail; int count; void push(int b,int n) { node *x=new node; x->data=b; x->next=NULL;...
View ArticleWhy no Summer Internship Contests ?
@admin and users : Don't you guys think that there should be hiring contests or something like that on Codechef, kind of like what they had on Hacker Earth this month. I mean we do have excellent...
View ArticleWCOUNT wrong answer
ok , i have a problem with modules and big numbers . could you tell me what is wrong with my solution to the word count problem . a failing test case would be also great.
View Articleunable to find the runtime error here in sums in triangle
/ * To change this template, choose Tools | Templates * and open the template in the editor. / package pract;/ * @author dell / import java.io.; import java.util.; class SumInTriangle { public static...
View Articleignus deoria the great city...
Problem:-http://www.codechef.com/IGNS2014/problems/IGNUS14D/ My solution:-http://www.codechef.com/viewsolution/3475042 Can someone explain what is wrong with my algorithm or my code?
View Articleignus: getting wrong answer
please help getting wa time and again,getting correct answer for many test casesmy code: http://www.codechef.com/viewsolution/3474620problem link:...
View ArticleVirtual Contest..
Why doesn't codechef include the feature of virtual contest ? There were some really good contests held within the last 1 week but due to some issue i couldn't participate in them .It would be really...
View ArticleCypher query to find paths through directed weighted graph to populate...
Hi, I am new to Neo4j and am trying to query the following in Cypher:Final output should be a list of nodes, sorted by ascending visitation order, after a run of n path iterations, each of which adds...
View ArticleTWODOGS-Editorial
PROBLEM LINK:PracticeContestAuthor:A Surya KiranTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:EasyPREREQUISITES:Ad-hocPROBLEM:Given a list of integers A and an integer k, pick...
View ArticleGetting TLE for ATOM
Question : ATOMThis is my code for above question#include<iostream> #include<cstdio> using namespace std; long long int get_num() { long long int num=0; char c=getchar_unlocked();...
View ArticleLCPESY-Editorial
PROBLEM LINK:PracticeContestAuthor:ShipluTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:CAKEWALK PREREQUISITES:Ad-hocPROBLEM:Given two alphanumeric strings, find the number...
View ArticleWA in CINEMA of codemutants
i don't understand why this solution of mine is giving WA. works perfectly on ideone.include<stdio.h>main() { int t,test,m,n,p,q,i,j,k,l,flag=1,x,y,c=0; char a[1005][1005]; int ma[1005],na[1005];...
View ArticleTLE matchstick
Was trying to solve http://www.codechef.com/problems/MSTICK by Segment tree but still TLE pops up..:(. Heres my code .plz help me out..:( http://www.codechef.com/viewsolution/3448843
View ArticleSEARRAYS - Editorial
Problem Link:contest, practiceDifficulty: EasyPre-requisites: DP, ImplementationProblem:We need to count the number of 01-strings of N chars, such that any continuous section of ones of them have a...
View ArticleInvitation for participation in IOPC 2014, IIT Kanpur
The Department of Computer Science & Engineering, Indian Institute of Technology, Kanpur (http://cse.iitk.ac.in/) and the Techkriti team](http://techkriti.org/) presents the 2014 edition of IOPC,...
View ArticleGoal almost achieved!
Competitive programming proposal on StackExchangeQ & A on Stack Exchange.*Basically if you want to support this, just sign up to Area51 Stack Exchange, confirm your email address to get 50...
View Articleplease tell me what's the problem in this code:
when i submitted this code, i got "wrong answer" icon...please explain what wrong answer this code is giving??THIS IS THE PROBLEM OF "SCHOOL" PRACTICING LEVEL, PROBLEM CODE:...
View ArticleTAKE A PICTURE
Hi everyone, I need help to create a java program to take a picture using a webcam. Thank you :)
View ArticleHelp in Printing Sheets practice problem
My code for this problem( http://www.codechef.com/problems/IOPC13D ) is :-#include<iostream> using namespace std; int main() { int t,n; cin>>t; while(t--) { cin>>n; if(n%3==0 ||...
View ArticleHow should I stop myself from cheating in Long Contests?
Read completely.This is a serious issue. Confession : All the problems I solved in current contest are copied from ideone.com except MAXDIFF and LEVY.In March'13 I saw that solutions to many questions...
View Article