Search found 10 matches

by sm_programmer
Wed Dec 18, 2013 9:51 pm
Forum: Volume 119 (11900-11999)
Topic: 11917 - Do Your Own Homework
Replies: 21
Views: 6244

Re: 11917 - Do Your Own Homework

Ok, I did what you told me, and bingo, it worked WOOHOO!!! :D

But I have a question... as far as I know, that should be a PE, shouldn't it? Then, why most problems you had helped me to get AC, had such PE errors which the OJ interprets as WA? That concerns me :(

Thanks anyway! :D
by sm_programmer
Sun Dec 15, 2013 5:07 am
Forum: Volume 119 (11900-11999)
Topic: 11917 - Do Your Own Homework
Replies: 21
Views: 6244

Re: 11917 - Do Your Own Homework

Hi all! :D This code I did returns WA, even when I tested with available cases with success :(

Code: Select all

Got AC :P If I could do it, you can too :P
Where's my fault? I can't find it :-?
I appreciate your replies :D

P.S. I don't know why I'm feeling that this code fails in limit cases... :-?
by sm_programmer
Wed Jul 03, 2013 12:12 am
Forum: Volume 107 (10700-10799)
Topic: 10784 - Diagonal
Replies: 27
Views: 18785

Re: 10784 - Diagonals

Oh, yes, you're right.

Thanks, Brian! :D
by sm_programmer
Tue Jul 02, 2013 1:44 am
Forum: Volume 107 (10700-10799)
Topic: 10784 - Diagonal
Replies: 27
Views: 18785

Re: 10784 - Diagonals

Oh, you were right! Just made that change, and got AC!!! :roll:

BTW, why is it necessary to use double instead of float , even when I convert the value to unsigned long long ?

Is it perhaps for the 15-digit precision it uses for the square root, besides the 7-digit precision of the former ...
by sm_programmer
Tue Jul 02, 2013 1:36 am
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 69443

Re: 10062 - Tell Me the Frequencies!

Oh my! You're right, I just missed it! :roll:

After some tweaking, I got AC! :D
I think I should be more careful about those misses (btw, I forgot to diff this, you see...)

Thanks anyway, Brian! :D I'm just a beginner, so I think it's normal to commit these mistakes!
by sm_programmer
Sun Jun 30, 2013 9:53 am
Forum: Volume 107 (10700-10799)
Topic: 10784 - Diagonal
Replies: 27
Views: 18785

Re: 10784 - Diagonals

Hi everyone! :)

I did this problem in C, and works well w/test cases, but for some reason it gives me WA! :x


Removed after AC


I think I'm not doing the rounding properly, but I tried removing the ceil() of the square, and I still get WA...

Hope someone will find if I'm just doing it wrong ...
by sm_programmer
Sat Jun 29, 2013 4:24 am
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 69443

Re: 10062 - Tell Me the Frequencies!

Hi! :)

I've just set up this code which works w/given test cases, but I'm just getting WA! :(

Code: Select all

Removed after AC
Hope someone will find where I'm wrong. Thanks in advance. :D
by sm_programmer
Wed Jun 26, 2013 1:39 am
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 124763

Re: 10189 - Minesweeper

Thanks for the recommendation! :D
by sm_programmer
Tue Jun 25, 2013 3:04 am
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 124763

Re: 10189 - Minesweeper

I've just put the ":" as you said, and all of a sudden, it worked! :o
What a mistake! :lol: I'd have never realized by myself.

Thank you very much! :D
by sm_programmer
Mon Jun 24, 2013 7:52 am
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 124763

Re: 10189 - Minesweeper

Hello! :)

I just can't understand why I'm getting WA, even when I tried with every test I had available (and w/positive results). :(

Here's my code in C. I think I'm having problems because of the dynamic memory usage . :-?


Removed after AC


Hope someone will find where I'm wrong :D ...

Go to advanced search