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

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 Article


Finding 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 Article


Doubt in Cleaning Up

http://www.codechef.com/viewsolution/3188690

View Article

Counting 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 Article

how 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 Article


Runtime 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 Article

Doubt 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 Article

ATM 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 Article


Max 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 Article


Small 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 Article

Weak 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 Article

SEAGRP input sample

can anyone tell me what will the output be 1 4 3 1 1 1 2 3 4

View Article

BESTBATS - 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 Article


problem 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 Article

Tie breaker problem

Hi,What does fractional score means? Do we get points for partial solutions?

View Article


TLE 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 Article

how 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 Article


Image may be NSFW.
Clik here to view.

RECTQUER - 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 Article

Using long numbers

How to use long numbers (>32k) in c?..........help me

View Article

Input 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
Browsing all 39796 articles
Browse latest View live


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