Search found 4 matches

by henry1007
Tue Apr 24, 2007 12:58 pm
Forum: Volume 4 (400-499)
Topic: 412 - Pi
Replies: 104
Views: 17939

I hv also tried 412. The first time I count {2, 7, 2} as one pair only and get WA. Then I remove the part checking repeated numbers - count {2, 7, 2} as 3 pairs and get AC. So I think the problem supposes repeated numbers are seen as distinct ones. It make sense actually - we calculate pi by a RANDO...
by henry1007
Sat Apr 21, 2007 9:28 pm
Forum: Pascal
Topic: Uses Crt to use Readkey function ----> compiler error
Replies: 2
Views: 5096

Re: Problem is about input!

This is my code to problem 100 but always i got TIME limit EXCEDEED!! What is problem with my code? I wonder y u got a TLE rather than RE - the maximum allowed integer is 999999, yet the range of Word is 0-65536. Also, y bother reading numbers in Real and trunc them in calculations? Use LongInt dir...
by henry1007
Fri Apr 20, 2007 3:37 pm
Forum: Volume 1 (100-199)
Topic: 160 - Factors and Factorials
Replies: 205
Views: 24599

henry1007, Your output section is not correct. Another wrong is that- you take all the input and after getting the zero input you give output. It is not necessary. Take a input and give output. I give some input for test. 80 70 30 50 100 0 80! = 78 36 19 12 7 6 4 4 3 2 2 2 1 1 1 1 1 1 1 1 1 1 70! =...
by henry1007
Thu Apr 19, 2007 7:32 pm
Forum: Volume 1 (100-199)
Topic: 160 - Factors and Factorials
Replies: 205
Views: 24599

I also got a PE...I just can't figure out y. I've tried inputting all the way from 2 to 100 and check the output - unless I missed sth, there should be no problem. Here's my code, it would be great if someone can help me out :( Code Deleted P.S. I will delete the code once it's got modified and acce...

Go to advanced search