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 ...
Search found 3 matches
- Thu Sep 17, 2009 10:45 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11352 - Crazy King
- Replies: 32
- Views: 17427
- Thu Sep 17, 2009 10:06 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11350 - Stern-Brocot Tree
- Replies: 6
- Views: 5309
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...
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.
- Thu Sep 17, 2009 9:14 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11093 - Just Finish it up
- Replies: 14
- Views: 11136
Re: 11093 - Just Finish it up
I don't understrand why my code get WA.
Could some one take a look at my code?
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.