Search found 73 matches

by sjn
Sun Feb 08, 2004 2:57 pm
Forum: Volume 3 (300-399)
Topic: 358 - Don't Have A Cow
Replies: 52
Views: 10816

At last i got AC :wink:
when i chose the epsilon with 1e-5 i passed it
by sjn
Sat Feb 07, 2004 11:37 pm
Forum: Volume 3 (300-399)
Topic: 324 - Factorial Frequencies
Replies: 23
Views: 4068

p324.cpp: In function `void layout(int)': p324.cpp:67: use of `count' is ambiguous p324.cpp:14: first declared as `int count[10]' here D:/Program Files/MinGW/include/c++/3.2/bits/stl_algo.h:390: also declared as `std::iterator_traits<_Iterator>::difference_type std::count(_InputIter, _InputIter, co...
by sjn
Sat Feb 07, 2004 7:43 pm
Forum: Volume 3 (300-399)
Topic: 330 - Inventory Maintenance
Replies: 26
Views: 7439

Sometime the judge gives WA instead of RTE
so Dominik Michniewski, you may not got WA but RTE

hope useful :wink:
by sjn
Sat Feb 07, 2004 12:38 pm
Forum: Volume 3 (300-399)
Topic: 358 - Don't Have A Cow
Replies: 52
Views: 10816

I got WA several times and don't know why i got the following result from my program could anything check it for me? thx in advanced! Input: 51 100 0.00 100 0.01 100 0.02 100 0.03 100 0.04 100 0.05 100 0.06 100 0.07 100 0.08 100 0.09 100 0.10 100 0.11 100 0.12 100 0.13 100 0.14 100 0.15 100 0.16 100...
by sjn
Wed Feb 04, 2004 6:17 pm
Forum: Volume 3 (300-399)
Topic: 335 - Processing MX Records
Replies: 12
Views: 5314

my ACed program ran out with the following a.com => a.com => a.com => d.com a.com => c.com a.com => c.com A.com => catchall z.com => catchall y.com => G.com Y.com => catchall mail.b.edu => server1.com grail.b.edu => server2.com home.b.edu => server2.com c.edu => server3.com cedu => server5.com mail....
by sjn
Wed Feb 04, 2004 6:12 pm
Forum: Volume 3 (300-399)
Topic: 335 - Processing MX Records
Replies: 12
Views: 5314

i think there is no test data with multiple choices.
by sjn
Mon Feb 02, 2004 5:34 pm
Forum: Volume 3 (300-399)
Topic: 362 - 18,000 Seconds Remaining
Replies: 75
Views: 26332

Sorry, what i mean is "ceil" :(
i made the mistake when i posted the topic

[c]double rate = transferedBytes/5.0;
printf("%d seconds\n", ceil(remainBytes/rate)); [/c]

i got WA by the code above.
i don't know why and u can try this yourself :-?

but many thanks to CDiMa for ur reply :wink:
by sjn
Sun Feb 01, 2004 6:40 pm
Forum: Volume 3 (300-399)
Topic: 312 - Crosswords (II)
Replies: 20
Views: 9016

Pay attention to the description of the problem
Don't use any unnecessary spaces at the end of the line.
hope this can help u :wink:
by sjn
Sat Jan 31, 2004 9:14 am
Forum: Volume 3 (300-399)
Topic: 362 - 18,000 Seconds Remaining
Replies: 75
Views: 26332

double
by sjn
Thu Jan 29, 2004 5:58 pm
Forum: Volume 7 (700-799)
Topic: 713 - Adding Reversed Numbers
Replies: 142
Views: 40628

10^500 is enough :wink:
by sjn
Wed Jan 28, 2004 5:44 pm
Forum: Volume 3 (300-399)
Topic: 362 - 18,000 Seconds Remaining
Replies: 75
Views: 26332

i hate this problem!

At last i got AC But i am still confused about this problem i passed it by [c]remainSecond = remainBytes/(transferedBytes/5.0); printf("%d seconds\n", ceil(remainSecond)); [/c] and always got WA by [c]rate = transferedBytes/5.0; printf("%d seconds\n", ceil(remainBytes/rate));[/c] rate is double type...
by sjn
Sun Jan 25, 2004 9:20 pm
Forum: Volume 3 (300-399)
Topic: 362 - 18,000 Seconds Remaining
Replies: 75
Views: 26332

i passed the input above
and i also used
[c]ceil(remainBytes / ((float)transferedBytes / 5))[/c]
Still got WA :(
Can anyone help me??? :cry:
by sjn
Sun Dec 28, 2003 7:28 pm
Forum: Volume 105 (10500-10599)
Topic: 10550 - Combination Lock
Replies: 24
Views: 20815

Remember Always turn the dial :lol:
by sjn
Sat Dec 20, 2003 8:57 pm
Forum: Volume 1 (100-199)
Topic: 147 - Dollars
Replies: 233
Views: 21647

ACed

At last I have ACed the problem :wink:

Thank you, paulhryu!
by sjn
Sat Dec 20, 2003 7:19 pm
Forum: Volume 1 (100-199)
Topic: 147 - Dollars
Replies: 233
Views: 21647

help

0.20 4 2.00 293 20.00 2886726 50.00 513269191 100.00 47580509178 120.00 170631714918 150.00 855199081968 200.00 7402472263151 220.00 15443740016191 250.00 42082966861176 300.00 181490736388615 AM I RIGHT??? but I still got WA :cry:

Go to advanced search