Search found 151 matches

by stubbscroll
Thu Jun 28, 2007 10:52 pm
Forum: C++
Topic: BigInt in C++!!!
Replies: 4
Views: 5645

The only example reference I remember off the top of my head is this:

http://www.shygypsy.com/tools/BigInt.cpp

But you could try googling also. Others probably exist.
by stubbscroll
Tue Jun 26, 2007 12:33 am
Forum: C++
Topic: BigInt in C++!!!
Replies: 4
Views: 5645

C++ does not have built-in support for big integers. You need to create routines yourself or find routines written by someone else.

I'm curious, what syntax did you try, the one in Java?
by stubbscroll
Sat Jun 16, 2007 12:38 pm
Forum: Volume 112 (11200-11299)
Topic: 11223 - O: dah dah dah!
Replies: 43
Views: 19201

I had to remove trailing spaces from each output line in order to avoid Presentation error. But then again, that might depend on how the input is read. I don't know the input reading nuances in other languages than C.
by stubbscroll
Fri Jun 15, 2007 2:45 pm
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 45367

There is no need to post the same question more than once. Your approach is very complex. I haven't studied your code in detail, apart from observing that it's too slow. I suggest you go for a much simpler approach, as described below. One bug: if(!ss[n]) { s[n]=sum1(fact[n].a,fact[n].ptr); ss[n]=1;...
by stubbscroll
Wed Jun 13, 2007 1:14 pm
Forum: Off topic (General chit-chat)
Topic: little joey what is your problem?????
Replies: 6
Views: 29257

Previous post on this topic was went page 2. and i also post here my problem. But no one replay. For this i make new topic. Am i worng. no i am not.................................... You posted this 12 minutes after posting your code in the correct topic, no-one can really expect a reply *that* qu...
by stubbscroll
Wed Jun 13, 2007 1:01 pm
Forum: Volume 112 (11200-11299)
Topic: 11228 - Transportation system.
Replies: 30
Views: 13238

I'm having WA in this prob.. confused about a point.. why do Little Joey's and asif_rahman0's outputs differ?? please explain this.. :roll: Since both people get AC, it could mean that the judge input is weak. Ideally, two different solutions should not both get AC, although it seems to happen a lo...
by stubbscroll
Fri Jun 01, 2007 12:23 am
Forum: Off topic (General chit-chat)
Topic: Joachim Wulff has got 2000 problems solved!!!
Replies: 16
Views: 41383

yiuyuho wrote:sabbatical...are you a professor?
Hehe, not quite, although I might hope to be a professor one day. I'm currently a student.

I thought "sabbatical year" was the usual phrase for taking a year off from work, regardless of profession, although I guess it isn't too common in most companies.
by stubbscroll
Wed May 30, 2007 11:26 pm
Forum: Off topic (General chit-chat)
Topic: Joachim Wulff has got 2000 problems solved!!!
Replies: 16
Views: 41383

I'm a bit late, but... Congratulations Joachim! 2000 solved problems is a huge accomplishment. Even going for the 2000 easiest problems would mean solving a lot of incredibly hard ones. I'm 60% towards the same amount, but in order to reach 2000 I would probably need another year or two as unemploye...
by stubbscroll
Wed May 30, 2007 1:15 pm
Forum: Volume 6 (600-699)
Topic: 631 - Microzoft Calendar
Replies: 11
Views: 6280

Rio, I get a different output for line 5 with my AC program. Here's my output for your tests:

Code: Select all

Bates-Money-Sixth-6-1bd
Gill-Sun-First-2-1bd
Gill-Sun-First-1-1bd
Feast 5-2bd
Bates-Sun-Second-4-399bd
Bates-Sun-Second-4-244bd
Gill-Money-Fourth-2-479
Bates-Mountains-First-5-2446
by stubbscroll
Sun May 13, 2007 11:40 am
Forum: Volume 2 (200-299)
Topic: 219 - Department of Redundancy Department
Replies: 6
Views: 3666

Re: 219 - Department of the Redundancy Department

Lots of WAs, so I may be making a conceptual error... Am I right that the line If more than one sequence of FDs can be used to show another FD is redundant, any such sequence is acceptable, ... means that we only have to print one sequence, and not all sequences separated by "--OR--", like in the s...
by stubbscroll
Thu May 10, 2007 2:27 am
Forum: Bugs and suggestions
Topic: 883 - HTML bug
Replies: 1
Views: 1847

883 - HTML bug

A bugged tag causes half of the problem statement to be written in italics, depending on which web browser you're using. </sub</i> is missing a >.
by stubbscroll
Thu May 10, 2007 1:31 am
Forum: Bugs and suggestions
Topic: 626 - Output specification
Replies: 1
Views: 1988

626 - Output specification

It isn't mentioned in the problem statement whether there should be a blank line after the last test case. I got AC assuming yes. The text "output a blank line after each test case" should be added to the problem statement.
by stubbscroll
Thu May 10, 2007 12:41 am
Forum: Bugs and suggestions
Topic: 449 - output underspecified
Replies: 1
Views: 1785

449 - output underspecified

The problem statement says: The following example shows more clearly the format of the input and output files. It does not state if there should be a blank line only between test cases, or after every test case. I got Accepted by outputting a blank line after each test case. This requirement should ...
by stubbscroll
Tue Apr 24, 2007 1:44 am
Forum: C
Topic: What is Floting point error?
Replies: 5
Views: 7670

If I spotted correctly, you are dividing by zero. You set d5=fabs(x1-x3), which is 0, and two lines later you divide by 2.0*d5.

Go to advanced search