Search found 23 matches

by SHAHADAT
Thu Feb 21, 2008 11:19 pm
Forum: Volume 114 (11400-11499)
Topic: 11403 - Binary Multiplication
Replies: 25
Views: 9844

I got AC in this problem not checking termination case 0 0 but EOF.Can not the problem description or input file be corrected?
Sorry for my poor english.
by SHAHADAT
Thu Nov 29, 2007 8:34 pm
Forum: Volume 105 (10500-10599)
Topic: 10581 - Partitioning for fun and profit
Replies: 15
Views: 8431

CAN ANYBODY TELL ME WHAT IS THE MAXIMUM VALUE OF K?
I AM GETTING TLE
by SHAHADAT
Sun Jul 15, 2007 11:14 am
Forum: Volume 112 (11200-11299)
Topic: 11235 - Frequent values
Replies: 35
Views: 15946

to kollol-> you totally misunderstood the problem. in the probelm description says "The following q lines contain one query each, consisting of two integers i and j (1 ≤ i ≤ j ≤ n), which indicate the boundary indices for the query." that is the boundary of position. suppose for test case 10 1 -1 -1...
by SHAHADAT
Sun Jul 15, 2007 10:48 am
Forum: Volume 112 (11200-11299)
Topic: 11239 - Open Source
Replies: 21
Views: 7904

to darkos32 i tested that the char array is enough with size murid[10001][20] donot worry abt it. check this segment of code again if(posmurid[i]!=max-1 && posmurid[i]!=-1){ ----------------------------------------------------------------- LIFE IS COMBINED WITH JOY AND SORROW.IT IS NOT ONLY FOR SITT...
by SHAHADAT
Sun Jul 15, 2007 3:38 am
Forum: Volume 112 (11200-11299)
Topic: 11239 - Open Source
Replies: 21
Views: 7904

11239 - Open Source

i donot know whats wrong with the code can any one please tell me? i have tried many input and output . but got the correct output. but the judge solution does not like it. whY? code removed after got ac-------> sorry it was a silly mistake that should not have done during the contest time. I have t...
by SHAHADAT
Sat Jul 14, 2007 6:06 pm
Forum: Volume 3 (300-399)
Topic: 352 - The Seasonal War
Replies: 54
Views: 13127

BETOVSKY use your array a[27][27] as char and try to input as for(i=1;i<=n;i++) { scanf("%s", &a[i][1]); } instead of for(i=1;i<=n;i++) { scanf("%d", &linha); for(j=1;j<=n;j++){ a[i][j]=linha%10; linha=linha/10; } } because int is not sufficient of input as a number of 25 digits. -------------------...
by SHAHADAT
Wed May 16, 2007 3:51 pm
Forum: Volume 6 (600-699)
Topic: 601 - The PATH
Replies: 20
Views: 8290

painfull rte

if any one have any critical inputs.
i have getting wa.
by SHAHADAT
Fri Apr 06, 2007 6:15 am
Forum: Volume 110 (11000-11099)
Topic: 11001 - Necklace
Replies: 38
Views: 17087

for the input: 40000 3 40000 9 50000 3 60000 7 60000 9 60000 11 0 0 output: 6667 2222 8333 4286 3333 2727 Darko BUT MY AC PROGRAM GIVES THE FOLLOWING OUTPUT: 6666 2222 8333 4285 3333 2727 for the input: Try the following input: Code: 36584 8 8134 363 45029 46 47250 24 10545 215 10927 565 34317 1 36...
by SHAHADAT
Thu Mar 22, 2007 9:09 pm
Forum: Volume 110 (11000-11099)
Topic: 11032 - Function Overloading
Replies: 43
Views: 16807

Re: WA NEED I/O

AC.BUT almost 3.8 seconds.
Terrible :oops:
by SHAHADAT
Thu Mar 22, 2007 8:09 pm
Forum: Volume 110 (11000-11099)
Topic: 11032 - Function Overloading
Replies: 43
Views: 16807

WA NEED I/O

PLEASE CAN ANY ONE GIVE ME SOME I/O.
I'm GETTING WA
by SHAHADAT
Sat Dec 16, 2006 12:12 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 38803

101 why pe

cut
by SHAHADAT
Wed Jul 05, 2006 6:36 pm
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 39887

Re: 10013 Accepted (P.E.)

[quote="JuaingFall"]who can help me? Thanks

[code
deleted
by SHAHADAT
Wed Jul 05, 2006 8:48 am
Forum: Volume 103 (10300-10399)
Topic: 10340 - All in All
Replies: 129
Views: 31841

10340

I'm bored of wrong answer.... I get wa many times. whats the wrong here???? #include<stdio.h> #include<string.h> #include<stdlib.h> #include<memory.h> #define MAX 10000 char X[MAX],Y[MAX],string[MAX],store[MAX]; int i,j,m,n,c[MAX][MAX],b[MAX][MAX],k=0; int LCSlength() { m=strlen(X); n=strlen(Y); for...
by SHAHADAT
Thu Jun 29, 2006 10:15 am
Forum: Volume 102 (10200-10299)
Topic: 10235 - Simply Emirp
Replies: 150
Views: 31324

yeah---------
It's a great mistake............
I have edited the code......
now whats the wrong????????????
by SHAHADAT
Sun Jun 25, 2006 10:23 am
Forum: Volume 102 (10200-10299)
Topic: 10235 - Simply Emirp
Replies: 150
Views: 31324

10235 whats wrong???????

I don't know whats wrong with this..... I need some sample input output............. #include<stdio.h> #include<math.h> #define LIMIT 1000000 #define SIZE 1000000 #define BLOCK sizeof(long) long prime_num,primes[SIZE],temp[LIMIT/BLOCK/2+1]; long is_prime(long num) { num=(num-1)/2; if(num%BLOCK==0)re...

Go to advanced search