Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct city {
- int city_num;
- int num_links;
- bool links[500][50001];
- void linkify() {
- for (int i = 0; i < 500;i++) {
- for (int j = 0; j < 50001;j++) {
- links[i][j] = false;
- }
- }
- }
- void add_link(int to,int trans) {
- links[to][trans] = true;
- }
- };
Add Comment
Please, Sign In to add comment