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

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


Data Structures and Algorithms

Hi all, I need your help to make a list of most used data structures and algorithms along with their tutorials, implementation and some problems on them. It will be helpful to everyone in many ways. 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


How to solve SPOJ QTREE with centroid decomposition?

It's quite easy with HLD but I have no idea how to implement it so I went with centroid decomposition. Handling the max queries is relatively simple but I have no idea on how to to update. My idea is...

View Article

How to gain reputation in Codechef?

I am new to codechef so please any one guide to how to increase reputation?

View Article

can u send me the logic to solve this question

There are N cities in a kingdom. These cities are aligned in a row. So, each city has two neighbours except first and last city. Each city has an F-number which denotes the maximum cities he can ask...

View Article


Balanced Brackets(stack implementation)

I wrote this code for the problem Balanced Brackets but I can't seem to know why it gives segmentation fault in some test cases.https://www.hackerrank.com/challenges/balanced-brackets/problemchar*...

View Article


INSQ15_F - Editorial

PROBLEM LINK:PracticeContestAuthor:vishfrndsTester:codefor6768Editorialist:vishfrndsDIFFICULTY:MEDIUMPREREQUISITES:dijkstra's algorithm basic graph theoryPROBLEM:Given a graph of N nodes. i-th node has...

View Article

JULKA:spoj problem

can anyone please tell me what is wrong with this code..it give WA on spoj include<bits stdc++.h="">using namespace std; int main() { int l,m,t,i; char ta[101],ma[101]; int x[101],y[101]; for(int...

View Article

CHEFPLAG - Editorial

PROBLEM LINK:PracticeContestAuthor:Nikhil RamakrishnanTester:Nikhil RamakrishnanEditorialist:R. RamanaDIFFICULTY:SIMPLEPREREQUISITES:Calculating percentages.PROBLEM:You are given the number of...

View Article

How to get rid of getting NZEC error while submitting solution in java?

To all who are geting NZEC, try using this format in java:import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { try{ //Your Solve...

View Article


HS08TEST - Editorial

PROBLEM LINK:PracticeAuthor:ADMINEditorialist:SUSHANT AGARWALDIFFICULTY:CAKEWALKPREREQUISITES:Basic looping,Basic Input/Output,Data TypesEXPLANATION:Please refer to the sample solution given by...

View Article

What is wrong with the code??? The Palindrome loop works well when ran...

My code link is : https://pastebin.com/s3H0BB5WThe problems code is : RAINBOWA ( Practice-Beginners-7th question)Here is what i get as output:Input:3161 2 3 4 6 7 8 8 7 6 5 4 3 2 1 5151 2 3 4 5 6 7 8 7...

View Article


How to get rid of getting NZEC error while submitting solution in java?

To all who are geting NZEC, try using this format in java:import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { try{ //Your Solve...

View Article

HS08TEST - Editorial

PROBLEM LINK:PracticeAuthor:ADMINEditorialist:SUSHANT AGARWALDIFFICULTY:CAKEWALKPREREQUISITES:Basic looping,Basic Input/Output,Data TypesEXPLANATION:Please refer to the sample solution given by...

View Article


What is wrong with the code??? The Palindrome loop works well when ran...

My code link is : https://pastebin.com/s3H0BB5WThe problems code is : RAINBOWA ( Practice-Beginners-7th question)Here is what i get as output:Input:3161 2 3 4 6 7 8 8 7 6 5 4 3 2 1 5151 2 3 4 5 6 7 8 7...

View Article

Concatenation of Strings C++

I recently came to know that the operator+ is overloaded in c++ to concatenate two strings but it is highly inefficient(Complexity: linear in terms of resulting string). I searched about it but could...

View Article

Help with this problem

https://www.hackerrank.com/contests/dyuthi-game-of-codes-2/challenges/nice-sequence I tried this problem during the contest but was able to pass only a few test cases.I tried solving it using dynamic...

View Article
Browsing all 39796 articles
Browse latest View live


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