Commits

Sai Krishna K committed 11cda4e

update

Comments (0)

Files changed (1)

 
 main2(url,universal_limit)
  creates an array  of this type
-        main_array = [ 
-               ["some_string0",-1,1], 
-               ["some_string1",-1,1] , 
-               ["some_string2",-1,1] ,
-               ["some_string3",0,-1],
-               ["some_string4",0,-1],
-               ["some_string5",0,-1],
-               ["some_string6",1,-1],
-               ["some_string7",1,-1],
-               ["some_string8",2,-1],
-               ["some_string9",5,-1],
-               ["some_string10",7,-1],
-               ["some_string11",9,-1],
-               ["some_string12",11,-1],
-               ["some_string13",11,-1],
-               ["some_string14",11,-1]
-             ]
-
+        main_array = [ <br/>
+               ["some_string0",-1,1], <br/>
+               ["some_string1",-1,1] , <br/>
+               ["some_string2",-1,1] ,<br/>
+               ["some_string3",0,-1],<br/>
+               ["some_string4",0,-1],<br/>
+               ["some_string5",0,-1],<br/>
+               ["some_string6",1,-1],<br/>
+               ["some_string7",1,-1],<br/>
+               ["some_string8",2,-1],<br/>
+               ["some_string9",5,-1],<br/>
+               ["some_string10",7,-1],<br/>
+               ["some_string11",9,-1],<br/>
+               ["some_string12",11,-1],<br/>
+               ["some_string13",11,-1],<br/>
+               ["some_string14",11,-1]<br/>
+             ]<br/>
+<br/>
    this means . that string0 has urls -> string3 ,4 ,5 and string5 has urls-> string9
    this second element in the object array is its parent number
 
   this in turn is converted into
-			     [[0,
-			  -1,
-			  'some_string0',
-			  [[3, 0, 'some_string3', []],
-			   [4, 0, 'some_string4', []],
-			   [5,
-			    0,
-			    'some_string5',
-			    [[9,
-			      5,
-			      'some_string9',
-			      [[11,
-			        9,
-			        'some_string11',
-			        [[12, 11, 'some_string12'],
-			         [13, 11, 'some_string13'],
-			         [14, 11, 'some_string14']]]]]]]]],
-			 [1,
-			  -1,
-			  'some_string1',
-			  [[6, 1, 'some_string6', []],
-			   [7, 1, 'some_string7', [[10, 7, 'some_string10', []]]]]],
-			 [2, -1, 'some_string2', [[8, 2, 'some_string8', []]]]]
- 
+			     [[0, <br/>
+			  -1,<br/>
+			  'some_string0',<br/>
+			  [[3, 0, 'some_string3', []],<br/>
+			   [4, 0, 'some_string4', []],<br/>
+			   [5,<br/>
+			    0,<br/>
+			    'some_string5',<br/>
+			    [[9,<br/>
+			      5,<br/>
+			      'some_string9',<br/>
+			      [[11,<br/>
+			        9,<br/>
+			        'some_string11',<br/>
+			        [[12, 11, 'some_string12'],<br/>
+			         [13, 11, 'some_string13'],<br/>
+			         [14, 11, 'some_string14']]]]]]]]],<br/>
+			 [1,<br/>
+			  -1,<br/>
+			  'some_string1',<br/>
+			  [[6, 1, 'some_string6', []],<br/>
+			   [7, 1, 'some_string7', [[10, 7, 'some_string10', []]]]]],<br/>
+			 [2, -1, 'some_string2', [[8, 2, 'some_string8', []]]]]<br/>
+ <br/>
   this will be the output and its stored into the out.txt file.
   the output file is generated even after pressing ctrl+c formatting the all the urls calculated up untill now