Search found 3 matches

by StAnger
Thu Sep 17, 2009 10:45 pm
Forum: Volume 113 (11300-11399)
Topic: 11352 - Crazy King
Replies: 32
Views: 12042

Re: 11352 - Crazy King

And is there any more special cases in dealing with this? I've read the thread above but still can't get AC. Can someone help me to find out where my problem is? Thanks a lot... #include <iostream> #include <queue> #include <string> using namespace std; class PathRecord { int x, y; int length; publi...
by StAnger
Thu Sep 17, 2009 10:06 pm
Forum: Volume 113 (11300-11399)
Topic: 11350 - Stern-Brocot Tree
Replies: 6
Views: 4343

Re: 11350 - Stern-Brocot Tree

Could anyone help me with my code?
Am I missing something? Just can't figure out why it doesn't work...

Code: Select all

After using C++ style "cout" instead of C style "printf", the problem is solved.
by StAnger
Thu Sep 17, 2009 9:14 pm
Forum: Volume 110 (11000-11099)
Topic: 11093 - Just Finish it up
Replies: 14
Views: 8017

Re: 11093 - Just Finish it up

I don't understrand why my code get WA.
Could some one take a look at my code?

Code: Select all

I've solved the problem by initializing data at beginning of each step.

Go to advanced search