Compiler and Parsers
Why my code says WA i cannot get. Please Helpimport java.io.*; class Compiler { static String a[]; static int pos; public static void main(String args[])throws Exception { BufferedReader br=new...
View ArticleNo Mail regarding Top 20 for May 14 Long Challenge
I scored a rank of 17 in May long challenge. My other friends who scored ranks in top 20 have received mail for ending up in Top 20. I haven't received mail till yet. Can anyone tell me why.
View ArticleTROOT - Editorial
The solutions provided are both wrong for this example 5 4 1 2 2 3 2 4 4 5 + 1 3 + 3 5 - 1 3 - 3 5 Answers should be 3 3 15 60.
View ArticleExplain the output of these C codes
#include <stdio.h> int main () { int i = 4; int x = ++i + ++i + ++i; printf ("%d", x); return 0; }Output : 19#include <stdio.h> int main () { int i = 0; while (i++ <= 10); printf ("%d",...
View Articleproblems/TWODOGS/why am i getting wrong answer
link text questionlink text my answeri am getting correct ans for all the test cases which i have tried . can someone point me what is wrong in my code
View ArticleDecrease string
#include<stdio.h> int main() { unsigned int t,inp; scanf("%u",&t); while(t--) { unsigned int temp; scanf("%u",&inp); temp = inp?1+(inp/26):0; inp=inp+temp; while(inp--) {...
View ArticleAndroid Programmin
Can anyone recommend any good online free tutorial for android programming
View ArticleFacebook application
It is necesary to have a webspace to build a facebook application for any platform.?
View ArticleSmall factorial NZEC in java
Hi Please find below my code. I have run it in java 1.6. The output is absolutely right i cross verified for many digits. but i get nzec runtime error. i even handled exceptions. what is going wrong?...
View ArticleLanguage runtime specification
I'm looking for the page of runtime specification on languages, by that I mean where it is specified which language is multiplied by what factor for a given time limit of a problem. I saw it somewhere...
View Articledigjump problem
Hi, I've done the digjump problem and my code is working on given testcases but when I submitted the code it says wrong answer.I'm not getting why it is.Please help.Thanks
View ArticleRun time error with Python
Hi, I am trying to sumbit my code in Python and a run time error is thrown most of the time. I am using Python 2.7.3 on my PC and same codes run correctly for all given inputs.What's wrong ?
View Articlewhat's the syntax to run my program on codechef's input files.
what should I do to make my program take input from codeshef's files.
View Articletricky things in FORGETPW
what should be output for 0.0? i'm printing 0 for it but getting wa. what should be output for this case??? or is there anything else i'm missing???
View Articlepython input
I want to know how to give input in python like we do in c or c++. Like, 1 2 3i mean output using space not by enter.
View ArticleTASTYD - Editorial
Author: Roman Rubanenko Tester: Vamsi Kavala Editorialist: Bruno OliveiraPROBLEM LINKSPracticeContestDIFFICULTYMediumPRE-REQUISITESDivide-and-conquerProblem:Chef is at a restaurant serving dishes....
View ArticleAMSGAME1_need help.......
this is the algorithm upon which ihave formed my code..if(n>1) then, if atleast 1 odd number is present in the sequence then the output is 1 .if all the numbers are even then output is 2. if...
View Articletime limit
hello friends , i m new on online coding and don't know much about time limit of a program..i submitted a solution and its written that time limit exceeded now what to do ?
View ArticleRuntime error(NZEC) in python but AC in c
When I submitted my code in python, it shows NZEC but when I resubmit it in C with the same logic now it got accepted, I am sure that this python code can not throw any exceptions like...
View Articlewrong answer in prime pallindrome .please tell problem?
When I ran this code int turbo c++ the answer to 31 was coming correctly to be 101.But when I submitted it was giving that "wrong answer"!Please tell me problem?include<stdio.h>long int pal(long...
View Article