NZEC error in java in FARASA
I am new to the concept of Fast Fourier Transformation. So I looked up at the codes of few very good coders like Ankit Shrivastava. In the solution of Ankit Shrivastava with solution link :...
View ArticleHow to add bits/stdc++.h in Dev C++
I guess the #inlude<bits stdc++.h=""> is not present for Dev C++. Can anyone please help me out? Is there anyway in which we can do it manually?
View Articleselect language
where do i select the language like C or c++i only know about C and C++, not about something like gcc 4.8.1 or something like that...
View Articlewhere wrong
well,i was trying this question:https://www.hackerrank.com/contests/may13/challenges/equal and i am getting wrong answer for two test cases can someone tell me where this program is going wrong along...
View ArticlePopular Rice recipe...Wrong Answer...
Can someone please tell me where I am going wrong.Thanks in advance. Following is the code:include <iostream>include <cstring>using namespace std;int main() { int t; //test case...
View Articlewich test case i didnt considrd ?
i ws trying this q. link text ,working on all test cases stil showing wrong ansr ..HELP !!!! using namespace std; int main() { unsigned long int t[100000],n,x,y,j,a,i,p; scanf("%u",&a); if(a>=1...
View ArticleBitwise 2014 - Prizes worth 50k!
Greetings from Bitwise 2014. The details regarding registration and schedule for Bitwise.Bitwise is an annual, time-constrained, algorithm - intensive online programming contest organised by the...
View ArticleWrong Answer for Clean up with Python code
Hi,I've tried debugging this code but I'm unable to realize why its failing. Could anyone suggest what the issue might be?Code:T=int(raw_input()) #1<=T<=50 n=0 #Total tasks to be completed m=0 #...
View ArticleFCTRL time limit xceedd ..
how can i optimise my code such dat it dont xceed the time limit ..q. is fctrlinclude<iostream>include<stdio.h>include<stdlib.h>using namespace std; int fact(int n){ int i,x=0;...
View ArticleDividing grids in area?
I want to know the C coding for the following scenario - Consider An area 100* 100. Squares of side 20 each is taken and whole area is divided into 25 grids . Now we randomly place some marbles in the...
View ArticleLittle Chef and Numbers - runtime exception
I strongly believe the following is not against Cde of Conduct rules...I found that in PROSUM, there is a problem in input - line with N contains whitespaces, so in some cases, this can lead to runtime...
View ArticleDifferent Output
Today,there was a coding round for internship in our collage.I wrote a code which was giving different output for same test case on ideone and Hackerrank.On ideone output was 4 and on hackerrank output...
View ArticleSIGABRT Runtime Error
What is this weird runtime error? FAQ says it occurs when STL elements try to store too much memory. In my code for MIKE3 (Mike and Stamps) I have only declared one global vector of the formvector<...
View ArticleTesting a Java program
I had developed my solution to work as "java Main in.txtout.txt", however I am receiving a "Wrong answer" message when a submit my solution.In the FAQ I have found that I must test using java test <...
View ArticleCOCI 6, task FONT
hi guys, can someone pls explain what is asked on COCI 6 task FONT: http://hsin.hr/coci/contest6_tasks.pdfthanks beforehand
View ArticleDRGHTS-Editorial
PROBLEM LINK:PracticeContestAuthor:Sergey NaginTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:EasyPREREQUISITES:Depth first traversalPROBLEM:Given a forest with N nodes, where...
View ArticleHow to deal with huge data types
I am very noob in programming and since my school days, i used to work with integers only in C. Most of the problems here in CodeChef have testcases reaching to long long int values. I can think of the...
View Articleeditorial not found
http://www.codechef.com/problems/REIGN editorial of this problem showing not found....y is it so??
View Article