Search found 4 matches

by komunist
Wed Mar 31, 2004 2:26 pm
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 14527

:(
HELP Please.
by komunist
Mon Mar 29, 2004 1:46 pm
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 14527

112 WA WHY

Help me please. Where is my error? var i,j,k,n,m,s,s1,s2:longint; ch:char; a :array [1..200000] of char; b,c:array [1..200000] of longint; f:boolean; procedure push(a:longint);begin inc(s1);c[s1]:=a;s2:=s2+c[s1];end; procedure pop; begin s2:=s2-c[s1];c[s1]:=0;dec(s1);end; begin while not eof do begi...
by komunist
Fri Mar 12, 2004 10:18 am
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 41574

Why program gives 2 diferent reply for 1 test
by komunist
Thu Mar 11, 2004 3:31 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 41574

101 - i am going crazy

my code. It`s WA. I now why. BuTT :evil: when i debug my code on test 4 move 1 onto 0 move 0 onto 1 move 0 onto 2 move 2 onto 1 quit he otput 0: 0 1: 1 2 2: 3: 3 but when i run my program (klik on .exe file) and input then same test he otput 0: 0 2 1: 1 2: 3: 3 :o :o :o :-? WHY ??????????????? var i...

Go to advanced search