fork download
  1. <?php
  2.  
  3.  
  4. define('SUBWAY', 'sub');
  5. define('FOOT', 'foot');
  6. define('BUS', 'bus');
  7.  
  8. $transportName = array(
  9. SUBWAY => 'едешь на метро',
  10. FOOT => 'идешь пешком',
  11. BUS => 'едешь на автобусе'
  12. );
  13.  
  14. $pointNames = array(
  15. 'pet' => 'ст. м. Петроградская',
  16. 'chk' => 'ст. м. Чкаловская',
  17. 'gor' => 'ст. м. Горьковская',
  18. 'spo' => 'ст. м. Спортивная',
  19. 'vas' => 'ст. м. Василеостровская',
  20. 'kre' => 'Петропавловская крепость',
  21. 'let' => 'Летний сад',
  22. 'dvo' => 'Дворцовая площадь',
  23. 'isa' => 'Исакиевский собор',
  24. 'nov' => 'Новая Голландия',
  25. 'ras' => 'Дом Раскольникова',
  26. 'gos' => 'Гостиный Двор',
  27. 'sen' => 'Сенная Площадь',
  28. 'vla' => 'ст. м. Владимирская',
  29. 'vit' => 'Витебский вокзал',
  30. 'teh' => 'Технологический Институт'
  31. );
  32.  
  33. $paths = array(
  34. 'pet' => array(
  35. 'chk' => canGet(10, BUS),
  36. 'gor' => canGet(3, SUBWAY)
  37. ),
  38.  
  39. 'chk' => array(
  40. 'pet' => canGet(10, BUS),
  41. 'spo' => canGet(3, SUBWAY)
  42. ),
  43.  
  44. 'gor' => array(
  45. 'pet' => canGet(3, BUS),
  46. 'kre' => canGet(5, FOOT),
  47. 'gos' => canGet(6, SUBWAY)
  48. ),
  49.  
  50. 'spo' => array(
  51. 'chk' => canGet(3, SUBWAY),
  52. 'vas' => canGet(10, BUS),
  53. 'sen' => canGet(7, SUBWAY)
  54. ),
  55.  
  56. 'vas' => array(
  57. 'spo' => canGet(10, BUS),
  58. 'gos' => canGet(7, SUBWAY),
  59. 'nov' => canGet(11, FOOT)
  60. ),
  61.  
  62. 'kre' => array(
  63. 'gor' => canGet(5, FOOT)
  64. ),
  65.  
  66. 'let' => array(
  67. 'dvo' => canGet(6, FOOT),
  68. 'gos' => canGet(7, FOOT)
  69. ),
  70.  
  71. 'dvo' => array(
  72. 'isa' => canGet(6, FOOT),
  73. 'gos' => canGet(6, FOOT),
  74. 'let' => canGet(6, FOOT)
  75. ),
  76.  
  77. 'isa' => array(
  78. 'dvo' => canGet(6, FOOT),
  79. 'nov' => canGet(5, FOOT)
  80. ),
  81.  
  82. 'nov' => array(
  83. 'vas' => canGet(11, FOOT),
  84. 'isa' => canGet(5, FOOT),
  85. 'ras' => canGet(7, BUS)
  86. ),
  87.  
  88. 'ras' => array(
  89. 'nov' => canGet(7, BUS),
  90. 'sen' => canGet(3, FOOT)
  91. ),
  92.  
  93. 'gos' => array(
  94. 'vas' => canGet(7, SUBWAY),
  95. 'sen' => canGet(3, SUBWAY),
  96. 'dvo' => canGet(6, FOOT),
  97. 'gor' => canGet(6, SUBWAY),
  98. 'let' => canGet(7, FOOT),
  99. 'vla' => canGet(7, FOOT)
  100. ),
  101.  
  102. 'sen' => array(
  103. 'ras' => canGet(3, FOOT),
  104. 'spo' => canGet(7, SUBWAY),
  105. 'gos' => canGet(3, SUBWAY),
  106. 'vla' => canGet(4, SUBWAY),
  107. 'vit' => canGet(2, SUBWAY),
  108. 'teh' => canGet(3, SUBWAY)
  109. ),
  110.  
  111. 'vla' => array(
  112. 'sen' => canGet(4, SUBWAY),
  113. 'gos' => canGet(7, FOOT),
  114. 'vit' => canGet(3, SUBWAY)
  115. ),
  116.  
  117. 'vit' => array(
  118. 'sen' => canGet(2, SUBWAY),
  119. 'teh' => canGet(2, SUBWAY),
  120. 'vla' => canGet(3, SUBWAY)
  121. ),
  122.  
  123. 'teh' => array(
  124. 'sen' => canGet(3, SUBWAY),
  125. 'vit' => canGet(2, SUBWAY)
  126. )
  127. );
  128.  
  129. function canGet($time, $byWhat) {
  130. return array('time' => $time, 'by' => $byWhat);
  131. }
  132. $i = 0;
  133.  
  134. function makeOneStep($paths, $traversedPath, $time, $start, $finish, $i, $allTraversedPaths) {
  135. $allTraversedPaths = array();
  136. $traversedPath[$i] = $start;
  137. if ($start == $finish) {
  138. echo "путь пройден за $time\nПройденные пункты:\n";
  139. foreach ($traversedPath as $points) {
  140. echo "$points - ";
  141. }
  142. $allTraversedPaths[$i] = $traversedPath;
  143. //var_dump($traversedPath);
  144. //var_dump($allTraversedPaths);
  145.  
  146. $traversedPath = array(
  147. 'traversedPath' => $traversedPath,
  148. 'allTraversedPaths' => $allTraversedPaths);
  149.  
  150. return $traversedPath;
  151. }
  152. $i++;
  153. /* Раскладываем массив $paths и получаем $period - время перемещения от пункта к пункту, $time - общее затраченное время, $byWhat - на чём именно мы перемещаемся от пункта к пункту. */
  154. foreach($paths[$start] as $points => $value) {
  155. if (!in_array($points, $traversedPath)) {
  156. $period = $paths[$start][$points]['time'];
  157. $byWhat = $paths[$start][$points]['by'];
  158. //var_dump($byWhat);
  159. $time += $period;
  160. $start = $points;
  161. unset($paths[$start][$points]);
  162. makeOneStep($paths, $traversedPath, $time, $start, $finish, $i, $allTraversedPaths);
  163.  
  164. }
  165. }
  166. }
  167. $traversedPath = array();
  168. makeOneStep($paths, $traversedPath, 0, 'vit', 'teh', $i, $allTraversedPaths);
  169.  
  170. //var_dump($traversedPath);
  171. //echo $allTraversedPath;
  172. var_dump($traversedPath['allTraversedPaths']);
Success #stdin #stdout #stderr 0.03s 52472KB
stdin
Standard input is empty
stdout
путь пройден за 12
Пройденные пункты:
vit - sen - teh - путь пройден за 5
Пройденные пункты:
vit - teh - путь пройден за 12
Пройденные пункты:
vit - vla - sen - teh - путь пройден за 35
Пройденные пункты:
vit - vla - gos - vas - spo - sen - teh - путь пройден за 44
Пройденные пункты:
vit - vla - gos - vas - nov - ras - sen - teh - путь пройден за 22
Пройденные пункты:
vit - vla - gos - sen - teh - путь пройден за 57
Пройденные пункты:
vit - vla - gos - dvo - isa - nov - vas - spo - sen - teh - путь пройден за 51
Пройденные пункты:
vit - vla - gos - dvo - isa - nov - ras - sen - teh - путь пройден за 67
Пройденные пункты:
vit - vla - gos - gor - pet - chk - spo - vas - nov - ras - sen - teh - путь пройден за 48
Пройденные пункты:
vit - vla - gos - gor - pet - chk - spo - sen - teh - путь пройден за 63
Пройденные пункты:
vit - vla - gos - let - dvo - isa - nov - vas - spo - sen - teh - путь пройден за 57
Пройденные пункты:
vit - vla - gos - let - dvo - isa - nov - ras - sen - teh - NULL
stderr
PHP Notice:  Undefined variable: allTraversedPaths in /home/GQw6Lc/prog.php on line 170
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: isa in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: isa in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: spo in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: spo in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: dvo in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: dvo in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vas in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vas in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: nov in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: nov in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: nov in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: nov in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: dvo in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: dvo in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: nov in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: nov in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: dvo in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: dvo in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vla in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: isa in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: isa in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: spo in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: spo in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: dvo in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: dvo in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vas in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vas in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: nov in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: nov in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gos in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: nov in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: nov in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: dvo in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: dvo in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: sen in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: sen in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: nov in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: nov in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: sen in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: sen in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: isa in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: isa in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: spo in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: spo in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vas in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vas in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: dvo in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: dvo in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: sen in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: sen in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vas in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vas in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: gor in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: sen in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: sen in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: isa in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: isa in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: kre in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: let in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: sen in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: sen in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: ras in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: vas in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: vas in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 158
PHP Notice:  Undefined index: teh in /home/GQw6Lc/prog.php on line 159
PHP Notice:  Undefined index: allTraversedPaths in /home/GQw6Lc/prog.php on line 174