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 ArticleWhen will the tester and setter solutions be posted for DEC Long challenge?
No solutions have been posted for REALSET,QTREE6 and DECORATE.
View ArticleDEC 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 Articleruntime 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 Articleruntime 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 ArticleACM_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 ArticleACM 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 ArticleGERALD03 - Editorial
PROBLEM LINK:PracticeContestAuthor:Gerald AgapovTester:Tasnim Imran SunnyEditorialist:Jingbo ShangDIFFICULTY:SimplePREREQUISITES:GreedyPROBLEM:Given a sequence of intervals [Li, Ri], try to transform...
View ArticleArray 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 Articleneed 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 Articleeditorial of rectangular queries (dec long challenge)
anyone please explain solution of rectangular queries of dec long challenge...... as soon as possible
View ArticleHELP 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 Articlecin 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 Articlepython 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 ArticleTLE 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 Articleinput 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 ArticleSIGSEGV 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 ArticleMARCHA1 i'm getting wrong answer ?
question link please provide a test case for which my code is failing.my solution:
View ArticleCollege 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 ArticleATM 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