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

Invitation to Coder 2015 (BITS-Pilani)

I would like to invite you all to Coder 2015 jointly organized by Computer Science Association and Information Systems Association, BITS-Pilani, as a pre-Apogee event.The contest will be held on...

View Article


How to minimize a string.Cook 56

http://www.codechef.com/viewsolution/6570234 Can anyone please explain where my solution is failing. I can't figure it out myself.

View Article


scudiv spoj - getting wrong answer

please help why this code wrong answer on spoj ....include<bits stdc++.h="">using namespace std;define omax 23define nmax 81define INF 1000000003typedef long long LL;struct cylinder { int ovol;...

View Article

help in remember the recipe practice(easy) twstr

Please can anyone help me in finding the possible reason of my solution getting tle? http://www.codechef.com/viewsolution/6573074

View Article

please help with this code snip print is not working

script.py board=[] for i in board: board.append(['O','O','O','O','O']print board

View Article


Getting SIGFPE runtime error (Not dividing by zero)

Hi I am new to codechef and competitive programming today i was solving this problem http://www.codechef.com/problems/SPCANDY and i submitted my code but i am getting SIGFPE runtime error i searched...

View Article

STL tutorial

Here is a link of topcoder which i found very useful for the beginners have a look if you are new to programming...

View Article

Wrong answer in ONP-Transform the expression

My code inspite of generating all the test cases is showing wrong answer#include<stdio.h> #include<stdlib.h> #include<string.h> typedef struct stack { char a[400]; int top; } stack;...

View Article


Remove redundant parentheses from an arithmetic expression

Its a interview question. I have not been able to get any optimal solution. Can someone share the logic and code for this. (preferably in Java)e.g : ((ab)+c) should become ab+c.My logic is Parenthesis...

View Article


Holes in the text

Unable to find the error in the program as it runs successfully and give desired result on linux terminal. But "WRONG ANSWER" is shown after submission. please help...

View Article

Gettig wrong answer in DIVGOLD

link is http://ideone.com/BeQeYV

View Article

Bytelandian gold coin : Wrong Answer

include<bits stdc++.h="">using namespace std; int limit = 10000000; int dp[ 10000000 ] = {0}; int maximum = 0;int solve( int n ) { if( dp[n] != 0) return dp[n]; if( n < 12) return dp[ n ] = n;...

View Article

new to programming

I am new to programming what all things i should do to be good at it

View Article


my ques is about enormous input test..it shows run time error..plz help

include<iostream>using namespace std;int main() { long int n,k,i,count=0,t; cin>>n; cin>>k;for(i=0;i<n;i++) {="" cout<<endl;="" cin="">>t; if(t%k==0) count++; }...

View Article

ACMICL1 - Editorial

PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL1Author:Cheral KhandediyaTester:Shubham GuptaDIFFICULTY:EASY-MEDIUMPREREQUISITES:NonePROBLEM:You have N mice. All of them eat cupcakes with...

View Article


Challenge Hunt - All programming challenges at one place

Hi all!We all love to participate in programming challenges, don't we? The only problem is that we are often not aware about the numerous online programming challenges that happen regularly and only...

View Article

ACMICL2 - Editorial

PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL2Author:Eklavya SharmaTester:Hasil SharmaDIFFICULTY:MEDIUMPREREQUISITES:Math, Binary exponentiation, MatricesPROBLEM:A well of depth h...

View Article


ACMICL3 - Editorial

PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL3Author:Aditi AgarwalTester:Siddharth SahaiDIFFICULTY:EASYPREREQUISITES:SortingPROBLEM:When a person enters or exits a library, he enters his...

View Article

ACMICL4 - Editorial

PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL4Author:Ravi Shankar PandeyTester:Shubham GuptaDIFFICULTY:MEDIUM-HARDPREREQUISITES:Longest Common Subsequence and Longest Increasing...

View Article

ACMICL5 - Editorial

PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL5Author:Jaiwant RawatTester:Ankit SultanaDIFFICULTY:HARDPREREQUISITES:Dynamic ProgrammingEXPLANATION:For solving it we will keep track of...

View Article
Browsing all 39796 articles
Browse latest View live


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