How much reputation do i need to down vote a question or answer on...
Also i want to have a look at a chart describing reputation vs. permissions on the forum
View ArticleKayaks wrong answer c++.
getting correct for the test case... my attempt was http://www.codechef.com/viewsolution/3478153 .
View ArticleNumber of ways of selecting the numbers
Suppose i am given an array and a sum.I am asked to find the number of ways in which i can select the numbers from the given list(one number can be used any number of times) so that i can achieve the...
View ArticleLong Challenge Ranking
I just opened my account and my Long Challenge ranking shows NA.. Why is this??
View Articlewhats the mistake...??? (ATM)
#include<stdio.h> int main() { float amt,rmn,f; int wd; scanf("%d %f", &wd, &amt); if(amt<=0 || wd<0) { exit(0); } if(wd%5==0 && amt>wd && wd>=0) { f=(float)wd...
View ArticleSTEPUP: Need Output
For the practice problem Stepping Up, what should be the output for the following input?1 3 3 1 2 1 3 2 3After spending quite some time trying to solve the problem, I checked an accepted solution and...
View ArticleCOLARR-Editorial
PROBLEM LINK:PracticeContestAuthor:Dmytro BerezinTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:EasyPREREQUISITES:Ad-hoc, SortingPROBLEM:We are given a list of N cells, and a...
View ArticleTechnex'14 and FireEye, Inc. present Matheletics
Matheletics is a mathematical contest (inspired from PROJECT EULER) where a sound knowledge of mathematics together with computational thinking will be essential to solve problems. The motivation...
View ArticleWhat's wrong with my code (Sereja and Graph) (SEAGRP) ?
The code basically counts the number of nodes with even order and number of nodes with odd order and if they both are even individually, then it prints yes and no otherwise . #include <iostream>...
View Articlegetting NZEC java !!
Here is my code :import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { static final char[] spoon = {'p','o','o','n'}; static final char[]...
View ArticleProgramming Language to use
Hi,The only programming language I m familiar with is C#. But i see most of the guys using C, C++ or java.Do I need to learn one of these languages or is it fine with C#?
View ArticleGetting NZEC in java ??
package practice; import java.util.Scanner; class Cricket { /** * @param args */ public static void main(String[] args) throws Exception { // TODO Auto-generated method stub // BufferedReader br = new...
View ArticleWRONG ANSWER IN PRIME PALLINDROME
PLZ HAV A LOOK ON CODE AND TELL ME WHY I'M GETTING WRONG ANSWERinclude<stdio.h>int main() { int i, j, n, temp, flag, rem, rev;scanf("%d", &n); for (i = n + 1; i <= 1004000; i++) { temp =...
View ArticleFormal parameters of static storage class in C\C++
what problem it will cause if any language(C\C++) allow formal parameter of static storage class? I am asking more specific to C/C++ language.#include<iostream> using namespace std; void...
View ArticleTWODOGS-Editorial
PROBLEM LINK:PracticeContestAuthor:A Surya KiranTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:EasyPREREQUISITES:Ad-hocPROBLEM:Given a list of integers A and an integer k, pick...
View ArticleEasy Question - Birthday Candles
for the easy level question Birthday Candles : http://www.codechef.com/problems/CANDLE/ i have tried all the test cases that i could but i m still getting wrong answer. Please tell me the tell case for...
View Articlecheck my code. codechef is giving it wrong.
here is my code for EASY problem---Life, the Universe, and Everythingimport java.io.BufferedReader; import java.io.InpputStreamReader; import java.util.ArrayList; class Life { ArrayList<Integer>...
View ArticleIOPC13: Crazy Teacher
I have tried solving this question http://www.codechef.com/IOPC2013/problems/IOPC13H , but iam not able to figure out an algorithm, can any one explain/ideas about??
View ArticleNow on commitment phase.
Competitive programming proposal on StackExchangeQ & A on Stack Exchange.Thank you guys, with your help the proposal moved to next phase - Commitment.
View ArticleHoles problem
#include<iostream> using namespace std; int main() { char a[5],i,j,n,count=0; cout<<"Enter the value of n :"; cin>>n; cout<<"\n Enter the character "; for(i=0;i<n;i++) {...
View Article