## Search found 110 matches

Wed Jan 23, 2002 2:19 pm
Forum: Volume 1 (100-199)
Topic: 104 - Arbitrage
Replies: 223
Views: 15167
so how is your code like now? just in case, can i contact you by email?
Sun Jan 20, 2002 5:09 pm
Forum: Volume 1 (100-199)
Topic: 104 - Arbitrage
Replies: 223
Views: 15167
read the question, "For each table in the input file you must determine whether a sequence of exchanges exists that results in a profit of more than 1 percent (0.01)".

ie. even the input is

2
1.005
1

this one should be considered no solution. i think it's not what your code meant, right?
Sun Jan 20, 2002 12:27 pm
Forum: Volume 1 (100-199)
Topic: 132 - Bumpy Objects
Replies: 38
Views: 4853
so is this problem requires something like Convex Hull? you're seemingly to hint that
Sun Jan 20, 2002 12:26 pm
Forum: Volume 1 (100-199)
Topic: 104 - Arbitrage
Replies: 223
Views: 15167
took another glance at your code, seems you have nowhere stating something like "1.01". only >1.01 will be printed, i remember it's stated somewhere in the problem.
Sun Jan 20, 2002 7:01 am
Forum: Volume 1 (100-199)
Topic: 104 - Arbitrage
Replies: 223
Views: 15167
on the first glance, if not overlooked, your printf("1"); gives me a feeling that your sequence must be started (and ended) with 1, but seems that you can start with any other, 2, 3... etc.
Sat Jan 12, 2002 8:12 am
Forum: Volume 5 (500-599)
Topic: 537 - Artificial Intelligence?
Replies: 76
Views: 11438
so is the output 0.00W?
Thu Jan 03, 2002 2:19 pm
Forum: Volume 1 (100-199)
Topic: 132 - Bumpy Objects
Replies: 38
Views: 4853
can someone explain the question to me? and what is base line? i don't understand how to get from the sample input to the sample output. if 6, where are two vertices it mentioned to not intersect the object.
Tue Jan 01, 2002 1:13 pm
Forum: Volume 5 (500-599)
Topic: 537 - Artificial Intelligence?
Replies: 76
Views: 11438
frustrated in WA. any tricks on that? will a test case takes more than one line? can anyone supply some tricky sample input?
Tue Jan 01, 2002 10:58 am
Forum: Volume 6 (600-699)
Topic: 616 - Coconuts, Revisited
Replies: 37
Views: 11988

### 616 - Coconuts, Revisited

can anyone tell me the trick? pls help me to verify the following cases. Input: 0 1 2000000000 95 2 5 11 -1 Output: 0 coconuts, no solution 1 coconuts, no solution 2000000000 coconuts, no solution 95 coconuts, no solution 2 coconuts, no solution 5 coconuts, no solution 11 coconuts, 2 people and 1 mo...
Mon Dec 31, 2001 3:54 pm
Forum: Volume 6 (600-699)
Topic: 695 - Placing the Ops
Replies: 6
Views: 2219
thanks a million and more! i get AC, i can't imagine that can be the trick. but, i wonder how you find the trick? or any hints on facing such tricks?
Mon Dec 31, 2001 3:45 pm
Forum: Volume 1 (100-199)
Topic: 104 - Arbitrage
Replies: 223
Views: 15167
weird! i cut and paste your 2nd post of code and submit it, it is accepted! and your program performs better than mine too. are you sure you get WA? pls submit again.
Sun Dec 30, 2001 8:21 am
Forum: Volume 6 (600-699)
Topic: 695 - Placing the Ops
Replies: 6
Views: 2219

### 695 - Placing the Ops

i understand division is only for integers. can anyone tell me what is the trick? and is it really "If there are multiple correct answers, then any one of them will be acceptable"? or need special way to put the operators? and it seems that there're space in the line of input of operators.
Sun Dec 30, 2001 8:16 am
Forum: Volume 1 (100-199)
Topic: 104 - Arbitrage
Replies: 223
Views: 15167
on the first glance, it looks that your program is ok, so the first guess is using log() will cause error in decimal points.
Sat Dec 29, 2001 11:06 am
Forum: Volume 5 (500-599)
Topic: 558 - Wormholes
Replies: 30
Views: 15324