Search found 148 matches

by 10153EN
Wed Jun 26, 2002 7:33 pm
Forum: Volume 1 (100-199)
Topic: 108 - Maximum Sum
Replies: 233
Views: 24152

Stefan Pochmann means that before you post codes here, press the *C* button or *C++* button above the text-field so as to give an indented version of your codes.

It's better to do so since the "plain-texted" codes are difficult to read, let alone to debug.
by 10153EN
Wed Jun 26, 2002 4:10 pm
Forum: Volume 100 (10000-10099)
Topic: 10060 - A hole to catch a man
Replies: 22
Views: 6245

Problem solved. Just to add the first point at the end of the line~

Thx for reading~
by 10153EN
Wed Jun 26, 2002 12:19 pm
Forum: Volume 100 (10000-10099)
Topic: 10002 - Center of Masses
Replies: 59
Views: 26673

I think your definition of centre of mass is not correct for all case, just correct for triangles.

You can search in Google or Yahoo and you will find the definition of "centre of mass" of a polygon.
by 10153EN
Tue Jun 25, 2002 8:36 pm
Forum: Volume 100 (10000-10099)
Topic: 10060 - A hole to catch a man
Replies: 22
Views: 6245

10060 - A hole to catch a man

I want to ask if there's mistakes in the sample input? It states that the line of input is in the form of T X0 Y0 X1 Y2 ... X0 Y0 However, for the sample input: 2 2 0 0 0 10 5 15 12 10 10 0 0 0 5 0 0 5 100 100 0 0 0 5 3 1 2 0 0 10 0 10 10 0 10 5 2 0 The second last line isn't of this format. Do I un...
by 10153EN
Tue Jun 25, 2002 7:00 pm
Forum: Volume 102 (10200-10299)
Topic: 10230 - Savage Garden
Replies: 11
Views: 4882

Yes, there should be only *tiny L-shapes* as you said.

There's sth you have misunderstood with the problem :wink:
by 10153EN
Tue Jun 25, 2002 3:01 pm
Forum: C++
Topic: Judge's GNU GCC command line options?
Replies: 3
Views: 2344

I write programs in C and is new to C++.

Just curious to the register variables as you said. Would you give me a brief introduction on it and it's use?

Thx.
by 10153EN
Tue Jun 25, 2002 12:08 pm
Forum: C
Topic: floating exception??!!
Replies: 2
Views: 2347

Example of floating exception includes division by zero.

I think you can take a look at your program to see if there's such case.
by 10153EN
Mon Jun 24, 2002 9:22 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 32634

What do mean by *command line args*?

I also write the programs as
int main(int argc, char **argv)
and it's OK~
by 10153EN
Mon Jun 24, 2002 7:21 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 32634

As cyfra said your program can be got accepted without any change. That's your submission problem.

You can try to add a line of
/* @BEGIN_OF_SOURCE_CODE */ as the 1st line of your program and add a line of
/* @END_OF_SOURCE_CODE */ as the last line of your program to see if it helps
by 10153EN
Mon Jun 24, 2002 6:02 pm
Forum: Volume 2 (200-299)
Topic: 291 - The House Of Santa Claus
Replies: 19
Views: 7010

I think for this problem, the sample output of the problem is just to give us the format of the output only, as we can deduce from the diagram that the outputs are incorrect.
by 10153EN
Mon Jun 24, 2002 1:38 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 62586

Never mind~ :)

Would the base you used too large? base 100000 would cause overflow if two large numbers < 100000 are multiplied...
by 10153EN
Mon Jun 24, 2002 12:59 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 62586

Are you asking for the wrong problem number? 10200 is Prime Time, so it's not strange (in other words, a normal way) to solve it by prime numbers. :D
by 10153EN
Mon Jun 24, 2002 11:31 am
Forum: Volume 100 (10000-10099)
Topic: 10057 - A mid-summer night's dream.
Replies: 21
Views: 10075

My program gives
3 2 6
2 3 4
I think you intercept the output of the problem a bit wrongly.
You want to think it more carefully or need hints?
by 10153EN
Mon Jun 24, 2002 11:11 am
Forum: Volume 100 (10000-10099)
Topic: 10057 - A mid-summer night's dream.
Replies: 21
Views: 10075

I think you *may* intercept the problem description a bit wrongly.

Could you tell me what's the output for the following inputs?
6
1
2
3
8
100
9000
4
2
2
5
10
by 10153EN
Mon Jun 24, 2002 7:25 am
Forum: Volume 4 (400-499)
Topic: 402 - M*A*S*H
Replies: 56
Views: 13752

:D :D :D I exposed my poor English :D :D :D

Go to advanced search