Search found 73 matches

by sjn
Tue May 28, 2002 1:23 pm
Forum: Volume 4 (400-499)
Topic: 497 - Strategic Defense Initiative
Replies: 144
Views: 21317

Really?
but when i used max=10000 just now, i also got WA again :cry:

???????????
:roll:
by sjn
Sun May 26, 2002 10:03 am
Forum: Volume 4 (400-499)
Topic: 402 - M*A*S*H
Replies: 56
Views: 13551

i can also pass it :(
i really don't why
i use pascal language
if u know pascal,i hope u can help me with my porgram. :oops:
by sjn
Sat May 25, 2002 7:10 pm
Forum: Volume 4 (400-499)
Topic: 402 - M*A*S*H
Replies: 56
Views: 13551

I have also passed this case,and the cases following Input: 10 2 3 5 4 3 2 9 6 10 10 6 2 7 3 4 7 4 5 3 2 4 47 6 11 2 7 3 4 8 5 10 7 8 3 7 4 2 3 9 10 2 5 3 31 9 5 8 2 1 7 7 11 3 6 5 4 9 10 5 2 1 5 3 9 7 16 3 11 2 7 3 4 8 5 10 7 8 3 7 4 2 3 9 10 2 5 3 25 1 7 7 7 7 8 8 8 8 9 9 9 9 10 10 10 10 11 11 11 ...
by sjn
Sat May 25, 2002 7:41 am
Forum: Volume 4 (400-499)
Topic: 402 - M*A*S*H
Replies: 56
Views: 13551

who can tell me what is the output for

25 1 7 7 7 7 8 8 8 8 9 9 9 9 10 10 10 10 11 11 11 11
by sjn
Thu May 23, 2002 4:19 pm
Forum: Volume 4 (400-499)
Topic: 496 - Simply Subsets
Replies: 48
Views: 9274

p496

I got WA for this problem, i don't know why ...
My source code should be OK, it works perfectly ...

we all know A^B=B^A
but my friend told i was wrong
so who can help me :cry:

help pls~
by sjn
Thu May 23, 2002 7:15 am
Forum: Volume 4 (400-499)
Topic: 497 - Strategic Defense Initiative
Replies: 144
Views: 21317

to:Caesum

when i submit ,i'll delete the following:

assign(input,'input.txt');
reset(input);
assign(output,'output.txt');
rewrite(output);
by sjn
Wed May 22, 2002 10:56 am
Forum: Volume 4 (400-499)
Topic: 497 - Strategic Defense Initiative
Replies: 144
Views: 21317

p497

I got WA for this problem, i don't know why ...
My source code should be OK, it works perfectly ...


pls help... :roll:
by sjn
Tue May 07, 2002 7:30 am
Forum: Volume 4 (400-499)
Topic: 443 - Humble Numbers
Replies: 82
Views: 7226

for "st" mod 10=1 and mod 100<>11
for "nd" mod 10=2 and mod 100<>12
for "rd" mod 10=3 and mod 100<>13
by sjn
Tue May 07, 2002 7:25 am
Forum: Volume 4 (400-499)
Topic: 485 - Pascal's Triangle of Death
Replies: 50
Views: 4932

My God, i am so careless.
Thank you for your help :-?
by sjn
Sun May 05, 2002 3:26 am
Forum: Volume 4 (400-499)
Topic: 485 - Pascal's Triangle of Death
Replies: 50
Views: 4932

At last i have ACed it :wink:

but i find when i write to 201, then number is already bigger than 10^60

why ?
by sjn
Sat May 04, 2002 3:53 pm
Forum: Volume 4 (400-499)
Topic: 485 - Pascal's Triangle of Death
Replies: 50
Views: 4932

p485 for WA :(

I got WA for this problem, i don't see why ... My source should be OK, it works perfectly ... Here is my output [pascal] 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 1 6 15 20 15 6 1 1 7 21 35 35 21 7 1 1 8 28 56 70 56 28 8 1 1 9 36 84 126 126 84 36 9 1 1 10 45 120 210 252 210 120 45 10 1 1 11 55 165...
by sjn
Mon Apr 08, 2002 3:28 pm
Forum: Volume 5 (500-599)
Topic: 545 - Heads
Replies: 67
Views: 43934

Re: Hope it'll help

chang wrote:Pls check the output for input=6, output should be 1.563.
I also got WA before handling specially this input.

chang
to chang:

thank you for replying
but i have done what you said, my program output is right
and alse WA so.....MY GOD! :-? :-? :-?
by sjn
Mon Apr 08, 2002 8:28 am
Forum: Volume 5 (500-599)
Topic: 545 - Heads
Replies: 67
Views: 43934

545

program p545; var i,index,n:integer; procedure solve; var temp:real; i,count:integer; begin temp:=1; count:=0; for i:=1 to n do begin temp:=temp/2; if temp<1 then begin temp:=temp*10; inc(count); end; end; writeln (temp:0:3,'E-',count); end; begin readln (index); while not eof do begin read(n); writ...

Go to advanced search