converting Jframe content to html
I have made one Jframe graphic application.. is it possible to execute that graphic same as it is in html file. If yes...then how?
View ArticleDoubt regarding forget password
What does the following statement imply? The total length of S in a single input file will not exceed 10^6.
View Articleforgetpw input
For the forgetpw question what i have done to read the encrypted password is to declare an array S of length 10^6 and then cin>>S.Is the approach correct
View ArticleChef and Digit Jumps
I have my solution with code SIGSEGV. How many memory I can use in this problem?I have 2 arrays of N and 1 vector<int> structure with max sum of element = N? what's a problem?
View ArticleChef and Digit Jump JUNE14 Challenge
What does this mean??? i - 1 (Si-1) and i + 1 (Si+1)Can somebody explain the 2nd test case Input: 012134444444443Output: 4The jump sequence mentioned is 1-2-4-5-15. I am not able to understand how we...
View ArticleTime execution
for a time limit of 1 sec ,what is the maximum number of loops that i can expect to have in a program (neglecting the effect of fast input/output)?
View ArticleTPRODUCT: Getting wa
I am getting a wrong answer for the practice problem TREE PRODUCT. Can anyone tell me the problem with my solution? It seems to be a pretty straightforward question and I am quite sure the logic I am...
View Articlegetting wrong answer
#include<stdio.h> int main(){ int n,c,t,k,a[100]; long unsigned int candy; for(scanf("%d",&t);t>0;t--){ scanf("%d%d",&n,&candy); for(k=0,c=0;k<n;k++) {scanf("%d",&a[k]);...
View ArticleINTEST in Python
I have done with several submissions for enormous input test in Python2.7 I tried with, import psyco psyco.full() also. Here are some approches I used, 1) I taken all input at once,and then find final...
View ArticleHelp understanding Question MAXPR
Does the Question say that the sub sequence s[1],s[2], .....,s[k] be the continuous elements of array a, but not randomly picked elements in an ascending order.For exampleLet A= {...
View Articlequestion on small factorials problem(easy).
i have solved the problem using linked list. the solution is working well on my system's compiler but on codechef it is showing a runntime error. Please tell me what is the problem ASAP. this is my...
View Articleplease help me in finding out runtime error (Nzec) in my c code its properly...
include<stdio.h>void main() { int a,b[2000],i,j,k,l=0; //printf("enter no"); scanf("%d",&a); if(a){ //printf("enter nos"); for(i=0;i<a;i++) scanf("%d",&b[i]); for(i=0;i<a;i++) {...
View ArticleUse of C++ code template
Why most people save a C++ code template where they include almost all the header file, no matter what the problem is, there code always have the same code, typical example in C++ 4.3.2#include...
View Articlelarge data in C++
I am not an awesome coder and not really an algo guy.But love coding small stuff....I have been trying out hands on competitive coding and been facing problems with handling large data. My codes solve...
View ArticleSIGSEGV ERROR
my code show this error SIGSEGVCode Deletedit is a simple code and where array out of index occur i don't know..
View ArticleWA in BUY1GET1
I am getting wrong Answer in the problem BUY1GET1 . This is my code #include<iostream> #include<vector> #include<string.h> #include<algorithm> using namespace std; struct S{...
View ArticleWhy I am getting wrong answer in guessing game?
I have applied my logic, and got all correct answers on my PC, also my program is working fine with M,N<10^9, and yeah i am not using any nested loops. Please help me. I have got wrong answer about...
View Articlewhat is the nzec error in this code..?
Please tell me the nzec code in this code because i have java on my pc n dis code is running perfectly wid d correct answer there but showing a runtime nzec error in codechef...so plz guide me to...
View ArticleWhy am I getting NZEC?
Please help me, why am I getting NZEC in this submission. http://www.codechef.com/viewsolution/4044436
View Article