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

When will the tester and setter solutions be posted for DEC Long challenge?

No solutions have been posted for REALSET,QTREE6 and DECORATE.

View Article


ACM ICPC onsite problems

@admin im wandering if the the replay of the ACM ICPC onsite regionals of kharagpur and amritapuri will be conducted on codechef as the problems are became public.if no replay will be conducted at...

View Article


runtime error in c

can anyone tell why i am getting runtime error??include <stdio.h>int main() { int i,m,n,j,k,list[10000],inc[10000]; scanf("%d",&n); for(i=0;i<n;i++) scanf("%d",&list[i]);...

View Article

runtime error in c

can anyone tell why i am getting runtime error??include <stdio.h>int main() { int i,m,n,j,k,list[10000],inc[10000]; scanf("%d",&n); for(i=0;i<n;i++) scanf("%d",&list[i]);...

View Article

why Runtime Error(SIGSEGV) ???

solution of snake snaky http://www.codechef.com/problems/SNAKY#include<stdio.h> int move(int map[1001][1001],int l,char ch,int sx,int sy,int cord[][2],int &status,int &stat) { int temp=0;...

View Article


Rectangular queries logic unveiled

I am a newbie on codechef and this problem(http://www.codechef.com/problems/RECTQUER)from Dec Challenge 2013 consumed my 4 days(solved it yesterday).So i thought it was worth to unveil the logic of...

View Article

SIGSEGV ERROR

This is with respect to GERALD 3. Please Help!! All my codes either end up with time limit exceeded or this particular error.

View Article

GERALD3 DECEMBER COOK OFF

include<stdio.h>include<stdlib.h>include<string.h>void strcpyx(char target,const char dest,int i,int j){int x=0,c=0; for(x=i;x<=j;x++) { target[c++]=dest[x]; } target[c]='\0'; }int...

View Article


getting SIGSEGV for MARBLES question

i am not sure why i am getting this error.please help.my code is given below.#include<stdio.h> double find_ncr(unsigned long long n,unsigned long long r) { if(n<r) return 0; else if(n==r)...

View Article


DEC COOK OFF 13 Rankings

I managed to solve one out of five question in dec cook off'13 but after the rankings were available , my rankings decreased by approx 53 points instead of increasing.... i am a newbie to Code Chef....

View Article

ACM_ICPC CERTIFICATES

Do we get certificates just for participating in the online-round of AMRITAPURI/KANPUR/KHARAGPUR or we have to qualify for onsite then only we get the certificates. Participating for the first time

View Article

ACM ICPC CERTIFICATE

@all those who participated in acm icpc this year can get your certificates from baylor site.(its in your dashboard, just got mine for amritapuri :) ) :)

View Article

Help regarding the following code?

"Input The first line contains integer t, the number of test cases. Integers K are given in the next t lines. Output For each K, output the smallest palindrome larger than K."#include<stdio.h>...

View Article


Array transform algo doesnt seem to be right

Hello people..can you please help me with this problem http://www.codechef.com/problems/ARRAYTRMi understood the algo... if there exists atleast n-1 numbers such that they can be reduced to 0 , then...

View Article

need help...i am a new bee!!!

i know c language thoroughly and have just started solving questions on code chef.....started at 7th december.But till know have solved only two questions in easy section.Need advice as to how to...

View Article


editorial of rectangular queries (dec long challenge)

anyone please explain solution of rectangular queries of dec long challenge...... as soon as possible

View Article

HELP am a new bee!!!

i know c language thoroughly and have just started solving questions on code chef.....started at 7th december.But till know have solved only two questions in easy section.Need advice as to how to...

View Article


cin works but getchar() doesn't while taking a char input

these are my two solutions for marblegf during december long challange.http://www.codechef.com/viewsolution/3085218http://www.codechef.com/viewsolution/3078607look at both the solutions. the only...

View Article

python 2.7 vs 3.1

when i tried to submit solution in python 3 it shows TLE but the same program when submitted in python 2.7 is accepted.(only 'print' syntax is changed). I saw that there is not even a single accepted...

View Article

TLE in QTREE6

can anyone tell me why my code is giving TLE. Thankyou in advance.... link to solution http://www.codechef.com/viewsolution/3129993 problem link http://www.codechef.com/problems/QTREE6

View Article
Browsing all 39796 articles
Browse latest View live


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