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

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


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


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

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


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

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


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


input in python

How can we input data in python like that of ideone. like i have input stored in file and i want to give whole input at once through stdin.

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


MARCHA1 i'm getting wrong answer ?

question link please provide a test case for which my code is failing.my solution:

View Article

College wise Codechef ratings- please see this site

Guys please check out this awesome site. You can add your code chef username and it will display rankings of users from your college. Please add your college if it is not present and then add usernames...

View Article

ATM showing wrong answer in C++

#include<iostream> #include<iomanip> using namespace std; int main() { int X; double Y; cout<<X<<" "<<fixed<<setprecision(2)<<Y<<endl; if(0<X<=2000...

View Article
Browsing all 40121 articles
Browse latest View live


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