Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. #include <cstdlib>
  2. #include <string>
  3. #include <fstream>
  4. #include <iostream>
  5.  
  6. using namespace std;
  7.  
  8. string read_file(string filename);
  9. void push (World& world, int& i, int j)
  10. bool solve (World& world, int a, int b, int& step_number)
  11.  
  12. struct City {
  13.     int id; //i
  14.     int road; //j
  15.     struct City* next_city;
  16. };
  17.  
  18. struct World {
  19.     City* head;
  20. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement