Quantcast
Browsing all 39796 articles
Browse latest View live

where the editorial of DIVGAME(Game Of Divisors) cook 44

Codechef Why u not give editorial of DIVGAME( Game Of Divisors ).

View Article


wa in abcstr

This code gave me wrong answer...Can someone point out the error?? http://www.codechef.com/viewsolution/3636945

View Article


MAXCOUNT - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATIONThis was supposed to be a problem that anyone who knows basic programming could solve and I'm glad that it's satisfied our expectations.For the...

View Article

wa in abcstr

#include<string.h> #include <stdio.h> int main() { long long int m,n,s=0,a=0,b=0,c=0,i,j,k; char arr[1000000],ch; scanf("%s",arr); m=strlen(arr); if((m%3)==0) n=m; else if(((m-1)%3)==0)...

View Article

why tags dont cover all questions

why in codechef , there isnt any tool which is in spoj and which classifies each question i.e. the category of question (like dp easy,kmp ,medium etc etc ) is written against each question . more...

View Article


why did this PROSUM solution not get accepted?

this solution for PROSUM gave a wrong answer... i dont understand why, while the same solution with the data type changed long long int got accepted. Why did the first solution not get...

View Article

FREQUENT SPOJ....:(

hey was tried solving http://www.spoj.com/problems/FREQUENT/ but "WA" comes up..plz find the bug.or provide any test cases where my code fails.. my solution http://ideone.com/9dNJtd

View Article

How to write a c Program To Check The Order Of Opening And Closing Brackets?

How to write a c Program To Check The Order Of Opening And Closing Brackets? eg- ((()())) 1.how to check whether this patter will be true or false ?

View Article


Trie tree implementation

hello guys ,i face problem in implementation of trie tree,can anyone provide good material for trie tree. I am beginner in string data structure so please guide me.

View Article


most dinstance points problem

Find the distance between the most distant points in c++... how to solve this problem...

View Article

String Length

How to find the string length without using loop and library function in c?

View Article

Help in Mobius Inversion

Is there an efficient algorithm for Mobeius Inversion Function?If yes,then how to implement it?

View Article

Square digit squares: getting wa

http://www.codechef.com/viewsolution/3646160 kindly help :)

View Article


Does CodeChef have any Code Of Conduct?

I am new to CodeChef. I am not sure what can be considered as an improper conduct on this website. I do not want to be penalized for doing something unknowingly which is not the accepted behavior. Is...

View Article

getting wrong ans in THE LEAD GAME .HELP!!!!

cannot find what is wrong with this code of question link text . workng for most of the test cases i tried on my pc still getting wrong answer with codechef compiler . help !! include<stdio.h>int...

View Article


help me please

hello I need to solve this problem. please help me. I have to solve this problem immideately http://www.e-olimp.com/en/problems/1593please solve this problem for me...

View Article

lucky strings problem

Certain letters of the alphabet are "lucky". The first "lucky" letter of the alphabet is "a", and every 2nd letter after a is also considered "lucky". In this way lucky letters include "a", "c", "e",...

View Article


count of maximum | giving wrong answer despite of several fruitfull test cases

i don't understand why my code is giving wrong answer it is producing correct results for all test cases provided at question page and in forums.. please help#include <stdio.h> int main() { int...

View Article

ABC string WA!!

I have read the editorial before implementing this.But I don't know what I'm missing:#include<cstdio> #include<iostream> #include<cstring> #include<map> using namespace std;...

View Article

Anybody tell me that why Compiler gives a WRONG answer in codechef???

http://ideone.com/VWXZKz

View Article
Browsing all 39796 articles
Browse latest View live


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