Search found 2 matches

by b
Fri Sep 16, 2005 8:08 am
Forum: Volume 4 (400-499)
Topic: 413 - Up and Down Sequences
Replies: 22
Views: 5473

413 why wa

i don't understand why wa.plz help me. #include<stdio.h> #include<string.h> #include<stdlib.h> #define max 100000 int main() { long a[max]; int i,j,l,m=0,check=0,check1=0,check2=0,k1check=0,k2check=0,in=0; double totalup=0,totaldown=0,neutral=0,k1=1,k=1; while(1) { scanf("%ld",&a[0]); if(a[0]==0) br...
by b
Fri Sep 16, 2005 8:03 am
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 47447

673 why wa

this is my code.i dont understand why wa.plz help me. #include<stdio.h> #include<string.h> #include<stdlib.h> main() { char t[200],t1[200],t2[200],t3[200],t4[200]; char t5[200]; int i,j,k,m=0,n=0,l,check=0,check1=0,k1=0,k2=0,m1=0,m2=0,m3=0,m4=0; char s[200]; int k3,k4; long p; p=atol(gets(s)); for(l...

Go to advanced search