Is there any Machine Learning Guy ?
Hi i want to get in touch with some machine learning guys working on JAVA and web products , please mail me on saurabhwelldo@gmail.comregards, Saurabh
View ArticleFinding number of average elements
The question is to find the number of average elements in an array .(http://opc.iarcs.org.in/index.php/problems/AVERAGE) I know that this can be made efficient but I wanted to try to code the NxNxN...
View ArticleCounting The Important Pairs probelm solving
Hi All,//edited (live contest)my code is located at //removedI am a new user to codechef can any one please suggest me what are thing we must take care while coding. I have seen most of the submissions...
View Articlehow to reduce compilation time in C ??
I am getting TLE in my program .. using for loops 2 times & it is showing TLE..how to optimize my algorithm?? plz help
View ArticleRuntime Error(SIGSEGV)
CODE IN C RUNNING CORRECTLY IN DEV BUT IN THIS Runtime Error(SIGSEGV)#include<stdio.h> int main() { char s[20]; int i,cnt=0,n,j; scanf("%d",&n); for(i=1;i<=n;i++) { scanf("%s",s);...
View ArticleDoubt regarding Little Elephant and Bombs
This is the solution i've submitted. It successfully runs on my computer and shows the correct output.But here it tells that the answer is wrong.Can anybody explain me the reason for that
View ArticleATM PROBLEM ERROR
the judge is saying this is wrong ! i can't find the error. please help ! thanks.include <iostream>include <iomanip>using namespace std;int main() {int x; float y; cin>>x>>y;...
View ArticleMax sub array problem REIGN TLE
http://www.codechef.com/problems/REIGN my solution gives tle...can someone suggest optimisation for my code? My solution- http://www.codechef.com/viewsolution/3151583
View ArticleSmall Factorials, Java and big numbers
In the tutorial for the small factorials exercise: http://blog.codechef.com/2009/07/02/tutorial-for-small-factorials/ it states that there is built in support for dealing with large numbers in Java. My...
View ArticleWeak test cases for SEAGRP (Jan14 long contest)
The test cases for the problem SEAGRP are weak. Many wrong solution are being accepted which must have failed if test cases were good. One of my friend got accepted but his code giving wrong answer on...
View ArticleBESTBATS - Top Batsmen, WA, help pls.
http://www.codechef.com/problems/BESTBATS getting wa. here is my code: http://ideone.com/E8AnqD#include <iostream> #include <cstdio> #include <cstdlib> using namespace std; int...
View Articleproblem ATM Wrong answer
#include<iostream> #include<stdio.h> using namespace std; int main() { int amt; float bal; cin>>amt>>bal; if(amt%5==0&&amt<bal) { bal=bal-amt-0.50; }...
View ArticleTie breaker problem
Hi,What does fractional score means? Do we get points for partial solutions?
View ArticleTLE and WA
If my solution is both WA and TLE, will it say it a WA or TLE? i.e Can a TLE solution be wrong also?
View Articlehow to decide which algorithm technique to follow?
can somebody help me to know that how do we decide the algorithm technique to be used ? like i should apply greedy approach to a problem or DP or divide and conquer.or i should always try greedy and if...
View ArticleRECTQUER - Editorial
PROBLEM LINK:PracticeContestAuthor:Roman RubanenkoTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:EasyPREREQUISITES:Prefix sumPROBLEM:Given a N*N matrix of at most 10 different numbers, answer...
View ArticleInput test cases/Boundary/Tricky
Find tricky/boundary/edge test cases for the problem belowGiven a paragraph of text, write a program to find the first shortest sub-segment that contains each of the given k words at least once. A...
View Article