Search found 6 matches

by samin
Mon Nov 16, 2015 11:04 am
Forum: Volume 101 (10100-10199)
Topic: 10114 - Loansome Car Buyer
Replies: 38
Views: 21223

Re: 10114 - Loansome Car Buyer

HI,

can anyone please tell me why is my java code showing compilation error while it is working on java online editors?


import java.io.*;
import java.util.*;

public class HelloWorld{

public static void main(String []args){
Scanner in = new Scanner(System.in);
//PrintWriter out = new ...
by samin
Fri Apr 03, 2009 6:43 am
Forum: Volume 4 (400-499)
Topic: 483 - Word Scramble
Replies: 122
Views: 38865

Re: 483

try to take a large string such as char p[90000]
by samin
Sat Nov 22, 2008 10:32 pm
Forum: Volume 110 (11000-11099)
Topic: 11063 - B2-Sequence
Replies: 73
Views: 51390

11063 - B2-Sequence

plz can any one tell me what's the problem in thi code? #include<stdio.h>

int uni[20001];

int main()
{
int a[100];
int i,j,n,t=0,flag;

while(scanf("%d",&n)!= EOF)
{
for(i=0;i<=20000;i++)
uni[i] = 0;
t++;
flag = 1;
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
if(a[i]<=0)
flag = 0;
}

for ...
by samin
Wed Nov 19, 2008 9:31 pm
Forum: Volume 4 (400-499)
Topic: 483 - Word Scramble
Replies: 122
Views: 38865

plz help me 483

cut after ac

Thanks buddy.
by samin
Tue Jul 22, 2008 11:13 pm
Forum: Volume 113 (11300-11399)
Topic: 11385 - Da Vinci Code
Replies: 70
Views: 35039

11385 - Da Vinci Code

#include<stdio.h>
int main()
{
unsigned long int a[72],b[52];
int i,n,m,j,max;
char cat[101];
unsigned long int c[52];
char str[101];
a[1]=1,a[2]=2;
for(i=3;i<=50;i++)
{
a = a[i-1]+a[i-2];
}
scanf("%d",&m);
while(m-- > 0)
{
max = 0;
scanf("%d",&n);
for(i=0;i<n;i++)
scanf("%d",&b ...
by samin
Fri Jul 18, 2008 9:57 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 58039

Re: 401 palindromes WA help

hello plz can any one help????????


Thanx vaiya

Go to advanced search