this is in reference to the question Granama Recipies...
how this code will work while(str1[j]!='\0') { count1[(str1[j]-'a')]++; j++; }
View Articlegetting NZEC java !!
Here is my code :import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { static final char[] spoon = {'p','o','o','n'}; static final char[]...
View Articlewhich C++ version am i using?
Hi! I'm new here and am a beginner as well... I'm not sure which version of c++ i use.. Could someone guide me please? Which compiler should I use for the same?
View Articleregarding while loop
{ int i; while(i=10) { printf("%d",i); i=i+1; } return 0; } //explain how o/p obtained //
View Articlecan you plz tell why this code showing nzec
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.Arrays; import java.util.StringTokenizer;class Walk {public static void main(String[] args)...
View ArticleSSTORY Massive confusion and word trickery?
This question has one of the most confusing statements ever(I don't know if author wants to test our english or coding/algorithm skills :\). The same problem has very concise russian statement..Why is...
View Articlehelp in little chef and numbers why this code is giving time limit exceeded...
def fun(): test = input() test1 = int(test) for i in range(test1): num = input() num1= int(num) arr = input() arr1 = arr.split() arr1 = list(set(arr1)) le= len(arr1)-1 i,j=0,le count = 0...
View ArticleSearching Users from same institute
I want to know is there any method by which I could know the rankings of all the code-chef users of my college . If any ,Suggest !!
View ArticleBIT(Binary Indexed Tree /Fenwick Tree )
Hey just studied BIT from http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=binaryIndexedTrees but couldnot understand how to know to calculate tree[idx],it must be question...
View Articleshould i focus on time and memory?
i just started coding on codechef..i want to know that if i should bother about the execution time and the memory taken by my program?
View Articleplease explain the code to obtain below o/p in c lang
expalin c program to produce the following o/p 1 2 3 4 5 6 7 8 9 10 please explain each statement in above o/p program
View Articlelong contest ranking
http://www.codechef.com/users/raul1rnjn535_3 My rating in long contest has increased as per the performance graph but my net rating is shown as 0 & my ranking is NA...why???I am very curious..
View Articleplease explain the code to obtain below o/p in c lang
please explain the code to obtain below o/p in c lang 0 expalin c program to produce the following o/p 1 2 3 4 5 6 7 8 9 10
View Articlelittle chef and numbers (march 2014) problem ..
can anyone suggest more test cases ....... i have tried all possible test cases and always got correct answer but my program is not being accepted by codechef (it say's wrong answer)
View ArticleSmall Factorials-C code working on PC but not on code chef
helloo......my code is giving correct answer on PC but wrong on Code chef. Someone..please help me out what is wrong with this code.http://www.codechef.com/viewsolution/3595694#include<stdio.h>...
View Articlehelp me with this code. (abacus 14 help ram)
include<iostream>include<math.h>using namespace std; int main() { int t,i,m,n; long long a,b,c,j,k,h[100]; cin>>t; for(i=0;i<t;i++) {="" cin="">>a>>b;...
View ArticleWhere are editorials of the external contests organized by peers posted ?
Is there any place on codechef wiki or blogs where the editorials of the contests conducted by other institutions other than Codechef are posted ? ( Apart from Long Challenge ,COOK OFF and Lunch Time)...
View ArticleTest Cases Still Week for SSTORY even after Re-judge
One of my solution was still Accepted though it should give wrong answer. My code gave 'e' for s1="aecd" and s2="acad", where answer should be 'a'.
View Article