Runtime Error(NZEC)
I get the following error Runtime Error(NZEC)when running python code with psyco JIT compilingcode: import psyco psyco.full() ......
View ArticleIts is saying wrong answer, I don't know why
I am new to this site and I tried the first one of September Challenge, It is working fine and I am getting the required result. But it says wrong answer, don't know why. Can anyone help me figure it...
View ArticleWhat is the criteria for choosing the Time Limits on a program?
I was trying to solve the CAO Stage 2 problem in the September Challenge. However, it shows that my solution timed out. The time limit for the problem is 1 secs and I got TLE. However, some submitted...
View ArticleProblem in to queue or not to queue
To Queue or not to queue is one of the Question...Ive been satisfyin all the conditions like the range of Q, string length is a +ve integer, c is lower case and modulo... Ive gone through all these...
View ArticleUpdate submatrix and query submatrix.
If we are given a matrix of NxN (N<=1000). There are 2 operations:update x1, y1, x2, y2, val. In this operation, val is added to each element in the sub-matrix (x1, y1, x2 y2).Query x1, y1, x2, y2....
View ArticleSPOJ Problemm Code GSS1
For practising segment trees I was trying the GSS1 problem of SPOJ. When I ran my code on SPOJ it failed on the 9th test case. After some debugging, i came up with test case 6 1 2 80 79 -90 -8 1 1 6But...
View ArticleA tutorial on Suffix Arrays
Hello @all,This text will focus on the construction of Suffix Arrays, it will aim to explain what they are and what they are used for and hopefully some examples will be provided (it will be mainly...
View Articlehow to input a 2d matrix using getchar_unlocked
how to input a 2d matrix using getchar_unlocked or the fastest method to do so.
View ArticleWhat is the difference between scanf and gets?
Problem : NOPC1My code using scanf : scanfMy code using gets : getsApart from the input method everything else is same in the codes. Then why the outputs of both are different?
View ArticleCalculating Trigonometric Ratios Of an Angle in C++ without using the...
Hey , I'm a high school student . We've been given a question in programming in C++ to find trigonometric ratios of an angle without using sin() , cos() , tan()..Right now , I'm totally blank . Please...
View ArticleCodeChef Quick Ranks Chrome Extension
Here's my first crude attempt on a chrome extension, I thought it should be related to CodeChef somewhat :P You can see the ranks in all the contests u have participated on...
View ArticleSIGABRT error
Getting SIGABRT in CAO2. Any Clue as to how to correct it ? Data given in FAQs seems insufficient !
View ArticlePeople asking help on facebook
It's slightly off-topic post but, a necessary one. From, the past few contests i observed a thing unkown people are asking help and hints about the codechef long-contest problems on facebook by...
View ArticleContest question
To take part in the september challenge 2013 should I have signed-up somewhere or am I good to go as it is(without prior sign-up) and if I am able to participate where can I see my rating?
View ArticleSuggest me a book for algos
Hey, can anyone suggest me a good book for algorithms at beginner level ?? I have CLRS but its very difficult to understand . :(
View ArticleSIGSEGV error
can anyone tell me why the program at this link:http://www.codechef.com/viewsolution/2366766 is showing SIGSEGV error.
View Articlejava vs other
why is the running time of java so large compared to other languages,isn't there any way to reduce it other than making the algorithm efficient!!
View Article