Quantcast
Channel: CodeChef Discuss - latest questions
Browsing all 40121 articles
Browse latest View live
↧

my countryID

I belong to india and my username is "ahsas" but my account shows that the codechef server couldnt detect my country.... plzzzz help admin

View Article


store xml in java data structure

Define a java data structure to store n number of files as defined below note that each file may contain millions of tags and each tag may contain millions of subtags.the aim of ds should be such that...

View Article


Error in code

The code is working fine on my system. Can you please what is the error in it? The code is of CAO stage-1 of September Challenge 2013

View Article

Runtime error SIGSEGv

My code runs perfectly fine on the system, both geany(ied) and terminal. I even checked for the standard input output format, reading the inputs from a file and directing them to another output file....

View Article

why, getting compile time error? (its working fine in netbeans)

Main.java:8: error: class cool_guys is public, should be declared in a file named cool_guys.java public class cool_guys

View Article


Runtime Error(NZEC)

I get the following error Runtime Error(NZEC)when running python code with psyco JIT compilingcode: import psyco psyco.full() ......

View Article

Its 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 Article

What 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 Article


Problem 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 Article


Update 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 Article

SPOJ 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 Article

Image may be NSFW.
Clik here to view.

A 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 Article

WA for ANAGRAM TECH04

Problem link : TECH04My code : TECH04

View Article


how 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 Article

How many substrings?

how find the number of diffrent substrings in string S.

View Article


Not getting desired output for I Spy You CD202

Problem link : CD202My code : CD202

View Article

What 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 Article


Calculating 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 Article

CodeChef 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 Article

SIGABRT error

Getting SIGABRT in CAO2. Any Clue as to how to correct it ? Data given in FAQs seems insufficient !

View Article
Browsing all 40121 articles
Browse latest View live


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