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

ignus deoria the great city...

Problem:-http://www.codechef.com/IGNS2014/problems/IGNUS14D/ My solution:-http://www.codechef.com/viewsolution/3475042 Can someone explain what is wrong with my algorithm or my code?

View Article


ignus: getting wrong answer

please help getting wa time and again,getting correct answer for many test casesmy code: http://www.codechef.com/viewsolution/3474620problem link:...

View Article


Virtual Contest..

Why doesn't codechef include the feature of virtual contest ? There were some really good contests held within the last 1 week but due to some issue i couldn't participate in them .It would be really...

View Article

Cypher query to find paths through directed weighted graph to populate...

Hi, I am new to Neo4j and am trying to query the following in Cypher:Final output should be a list of nodes, sorted by ascending visitation order, after a run of n path iterations, each of which adds...

View Article

TWODOGS-Editorial

PROBLEM LINK:PracticeContestAuthor:A Surya KiranTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:EasyPREREQUISITES:Ad-hocPROBLEM:Given a list of integers A and an integer k, pick...

View Article


Getting TLE for ATOM

Question : ATOMThis is my code for above question#include<iostream> #include<cstdio> using namespace std; long long int get_num() { long long int num=0; char c=getchar_unlocked();...

View Article

LCPESY-Editorial

PROBLEM LINK:PracticeContestAuthor:ShipluTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:CAKEWALK PREREQUISITES:Ad-hocPROBLEM:Given two alphanumeric strings, find the number...

View Article

WA in CINEMA of codemutants

i don't understand why this solution of mine is giving WA. works perfectly on ideone.include<stdio.h>main() { int t,test,m,n,p,q,i,j,k,l,flag=1,x,y,c=0; char a[1005][1005]; int ma[1005],na[1005];...

View Article


TLE matchstick

Was trying to solve http://www.codechef.com/problems/MSTICK by Segment tree but still TLE pops up..:(. Heres my code .plz help me out..:( http://www.codechef.com/viewsolution/3448843

View Article


SEARRAYS - Editorial

Problem Link:contest, practiceDifficulty: EasyPre-requisites: DP, ImplementationProblem:We need to count the number of 01-strings of N chars, such that any continuous section of ones of them have a...

View Article

Invitation for participation in IOPC 2014, IIT Kanpur

The Department of Computer Science & Engineering, Indian Institute of Technology, Kanpur (http://cse.iitk.ac.in/) and the Techkriti team](http://techkriti.org/) presents the 2014 edition of IOPC,...

View Article

Image may be NSFW.
Clik here to view.

Goal almost achieved!

Competitive programming proposal on StackExchangeQ & A on Stack Exchange.*Basically if you want to support this, just sign up to Area51 Stack Exchange, confirm your email address to get 50...

View Article

please tell me what's the problem in this code:

when i submitted this code, i got "wrong answer" icon...please explain what wrong answer this code is giving??THIS IS THE PROBLEM OF "SCHOOL" PRACTICING LEVEL, PROBLEM CODE:...

View Article


TAKE A PICTURE

Hi everyone, I need help to create a java program to take a picture using a webcam. Thank you :)

View Article

Help in Printing Sheets practice problem

My code for this problem( http://www.codechef.com/problems/IOPC13D ) is :-#include<iostream> using namespace std; int main() { int t,n; cin>>t; while(t--) { cin>>n; if(n%3==0 ||...

View Article


C++ - Pointers, Call by reference, Basic

I have a long-term fear of pointers and I am trying to start from the beginning to make my roots strong. As basic as this question may seem, can someone address this query? Would be of great help. I am...

View Article

How should I stop myself from cheating in Long Contests?

Read completely.This is a serious issue. Confession : All the problems I solved in current contest are copied from ideone.com except MAXDIFF and LEVY.In March'13 I saw that solutions to many questions...

View Article


problem code A3

I need some help on Problem A3 (The guessing game) there are few submission which makes no use of seg tree or fenwick tree , can some one plz expalin the logic

View Article

CHSEQ22-Editorial

PROBLEM LINK:PracticeContestAuthor:Roman FurkoTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:Easy-MediumPREREQUISITES:Connected componentsPROBLEM:We are given an array of N...

View Article

GERALD03 - Editorial

PROBLEM LINK:PracticeContestAuthor:Gerald AgapovTester:Tasnim Imran SunnyEditorialist:Jingbo ShangDIFFICULTY:SimplePREREQUISITES:GreedyPROBLEM:Given a sequence of intervals [Li, Ri], try to transform...

View Article
Browsing all 39796 articles
Browse latest View live


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