Quantcast
Browsing all 39796 articles
Browse latest View live

Can you please tell me why NZEC occurs?

public class Main{ public static void main (String[] args) throws java.io.IOException{ java.io.BufferedReader r = new java.io.BufferedReader(new java.io.InputStreamReader (System.in)); int n,k,t,c;...

View Article


Invitation to code hustle contest by keteki.biz

The contest would be held on october 15 .. 10 am, I wonder if its the right time, I can change the time.Every contestant takes part with rs. 50. The top winners would win all the prize money (a little...

View Article


array index 10^3 vs 1000

Hi Everyone,While I am trying to solve problem:Add two no's, I initialized the array to arr[10^3] (somewhere I have seen this way in an answer in codechef) and I was wondering that its not working. I...

View Article

shortest path

Mr. Kim has to deliver refrigerators to N customers. From the office, he is going to visit all the customers and then return to his home. Each location of the office, his home, and the customers is...

View Article

Your College Is At Which Position In Codechef Contests?

I think that there sholuld be a ranklist which can also show the rankings of colleges on the basis of contests.This Will also develop a coding culture in their respective colleges.

View Article


ACM ICPC Kolkata Kanpur site 2017

At the time of making Demand Draft for ACM ICPC Kanpur 2017, there is need of Bank Branch name and Bank Branch code. But, these informations are not provided anywhere. Can anyone help in finding the...

View Article

CS Academy Round #52 with Prizes

Hi all,I would like to invite you to CS Academy's next contest which takes place on Wednesday. There will be some money prizes awarded to the top 2 participants. You can find out more details on the...

View Article

Merge Sort Tree - Tutorial

Prerequisites : Segment TreesTarget Problem : Given an array of N elements and you have to answer Q queries of the form L R K , To Count the numbers smaller than K in range L to R.Key Idea : The key...

View Article


My answer is correct but the question does not accept it.

Question : CIELAB.import java.util.*;public class Main{public static void main(String []args) { Scanner sc=new Scanner(System.in); long a,b,x,d; a=sc.nextInt(); b=sc.nextInt(); x=a-b; d=x%10; x=x/10;...

View Article


How to know whether a problem passed all test cases in topcoder practice ?

I am a beginner. I have started coding in Topcoder. Now in arena after selecting a Div-2 200 point problem I submit it after 10 min. Then it says "submitting for 200 pt". Now I got somewhat 163 points....

View Article

what could be the most optimum way to check balanced parenthesis?

I have one string which can only have '(' and ')' ex: ((())) or ()()() now I want to check whether this parenthesis is balanced or not.static boolean isValidSequence(char []s){ char[] temp=new...

View Article

DP on Trees - Lecture Series | Tutorial

HiI had conducted a 3 day lecture series for DP on Trees at my youtube channel. Playlist Link ► https://goo.gl/SjtNaK.I have covered 3 types of techniques here: 1. Easy DP ► Link to Video 2. In Out DP...

View Article

ACM ICPC 2018 REGIONALS

I can't find the criteria for the selection of a team to the onsite round from the online round for IIITM Gwalior, Kanpur-Kolkata and Hindustan University.And why the total number of slots for...

View Article


someone pls help me in this INTEST problem

link of problem :> https://www.codechef.com/problems/INTEST my solution :> https://www.codechef.com/viewsolution/15715061language :> JAVAit works fine in my pc but here it shows wrong answer

View Article

COPS - Editorial

PROBLEM LINK:PracticeContestAuthor:Devendra AgarwalTester:Surya KiranEditorialist:Amit PandeyDIFFICULTY:CakewalkPREREQUISITES:NonePROBLEM:There are 100 houses in a lane, numbered from 1 to 100. N cops...

View Article


Getting segmentation fault. please help me.

for the questionhttps://www.hackerearth.com/practice/algorithms/graphs/breadth-first-search/practice-problems/algorithm/oliver-and-the-battle-1/#c120773 I am getting the Segmentation fault. here is my...

View Article

How do I test my uploaded problem on CodeChef?

I am done with uploading my problem on CodeChef. I am getting an error Solutions to this problem cannot be sumbitted now!.What should i do now ?

View Article


unable to submit my solution

CodeChef submission 15712334 (PYTH) plaintext list. Status: WA, problem CODG1704, contest CODG2017. By tushar2899 (tushar2899), 2017-10-08 22:14:45i don't know what is the problem with this solution i...

View Article

Giving away android chatting app!

print Hi developers , I created an android app for chatting called as 'Chativo' Now I am not able to upload it anywhere.... So I have decided to give it for free to an android developer , If you are...

View Article

IIT Bombay event - all questions copied from codeforces

Hey I want to expose this event - International Coding Challenge | Techfest, IIT Bombay which is going on currently link All their problems are copied from codeforces. As far as i remember, this is not...

View Article
Browsing all 39796 articles
Browse latest View live


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