Advertisement
SVXX

Bus Route DLL

Feb 28th, 2014
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. ...Reading the input file ...
  2. ...Info of the route:
  3. The list of bus stops for Route No. 11:
  4. Stop 1:Diamond Hill MTR Station, 0, 114.202
  5. Stop 2:Choi Hung MTR Station, 0, 114.209
  6. Stop 3:UST North, 0, 114.265
  7.  
  8. ...The direct distance of the route is 0.0637665
  9. ...The path length of the route is 0.0637665
  10.  
  11. ...Searching for the stop "UST North"...
  12. ...The stop is found.
  13. ...The next stop is:
  14. ...The prev stop is: Choi Hung MTR Station
  15.  
  16. ...Inserting the stop "UST South":
  17. ...Info of the updated route:
  18. The list of bus stops for Route No. 11:
  19. Stop 1:Diamond Hill MTR Station, 0, 114.202
  20. Stop 2:Choi Hung MTR Station, 0, 114.209
  21. Stop 3:UST South, 22.3375, 114.263
  22. Stop 4:UST North, 0, 114.265
  23.  
  24. ...Removing the stop "UST South":
  25. ...Info of the updated route:
  26. The list of bus stops for Route No. 11:
  27. Stop 1:Diamond Hill MTR Station, 0, 114.202
  28. Stop 2:Choi Hung MTR Station, 0, 114.209
  29. Stop 3:UST North, 0, 114.265
  30.  
  31. ...Reversing the route:
  32.  
  33. Program received signal SIGSEGV, Segmentation fault.
  34. 0x0000000000402800 in reverseList (route=..., stopA=..., stopB=...)
  35. at busRoute.cpp:316
  36. 316 nonReverseEnd->prev = head;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement