Search found 383 matches

by emotional blind
Wed Jan 12, 2005 7:29 am
Forum: Volume 6 (600-699)
Topic: 612 - DNA Sorting
Replies: 122
Views: 16018

612-output limit exeed

i do not know why my program gets output limit exeed here is my code #include<stdio.h> int main(void) { unsigned long int num, temp,total,d[100], sort[100]; int n, m, i, j,k; char dna[100][50]; scanf("%lu",&num); while(num--){ scanf("%d%d",&n, &m); for(i=0;i<m;i++) scanf("%s",&dna[i]); for(i=0;i<m;i...
by emotional blind
Wed Jan 12, 2005 6:54 am
Forum: Volume 4 (400-499)
Topic: 433 - Bank (Not Quite O.C.R.)
Replies: 18
Views: 2686

problem 433

my program gets wrong answer is there any critical input/output for which my program does not work properly plz help me here is my code #include<stdio.h> #include<string.h> #include<stdlib.h> char seg[3][29]; int p[9][9]; int segment[10][9]={ 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, ...
by emotional blind
Wed Dec 29, 2004 10:52 am
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 13795

112 gets wa

my solution gets wa can anyone help me ? #include<stdio.h> #include<string.h> char str[200000]; int summing (int num); int main(void) { int num, i, left, right; char c; while(scanf("%d",&num)==1){ while((c=getchar())!='('); left=1; right=0; i=0; str[i++]=c; while(left!=right){ c=getchar(); if(isdigi...
by emotional blind
Wed Dec 15, 2004 10:17 am
Forum: Volume 4 (400-499)
Topic: 433 - Bank (Not Quite O.C.R.)
Replies: 18
Views: 2686

my program is write with your input.
and still get wrong answer.
by emotional blind
Tue Dec 14, 2004 10:07 am
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 39689

thanks

thanks sohel i got accepted.
thanks a lot
but problem description says
"The first line of a input file is an integer N, then a blank line followed by N input blocks. The first line of an each input block contains a single number M (1<=M<=1000000)
by emotional blind
Mon Dec 13, 2004 8:42 am
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 39689

10013

i dont know why get wrong answer is there any critical input.. help me plz [/c] #include<stdio.h> #define MAX 1000000 int main(void) { unsigned long int block,i; long int m,j; short p[MAX],a,b,carry; scanf("%lu",&block); for(i=1;i<=block;i++){ scanf("%ld",&m); j=0; for(j=0;j<m;j++){ scanf("%hd%hd",&...
by emotional blind
Mon Dec 13, 2004 8:27 am
Forum: Volume 4 (400-499)
Topic: 433 - Bank (Not Quite O.C.R.)
Replies: 18
Views: 2686

critical input output of 433

i need some critical input and output of 433
i can send my code also
it get wrong answer
i dont know why
plz help me
by emotional blind
Mon Dec 13, 2004 8:01 am
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 13795

problem with 112

i think my program is ok.
but wa.
so i need some critical input and output.
can any body help me.
thanks.

Go to advanced search