Search found 1 match

by chinhoyin
Thu Dec 19, 2002 10:01 am
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 45036

10013 Time Limit Exceeded

I find that most accepted programs are in C or C++, few in PASCAL![pascal]var cnt,e,f,a,b,c,d,n,l,h,nine:integer; begin readln(input,n); for cnt:=1 to n do begin nine:=0; readln(input); readln(input,l); readln(input,a,b); for h:=2 to l do begin readln(input,c,d); if c+d=9 then begin inc(nine); if ni...

Go to advanced search