Задание
Между \(\displaystyle 8\) населенными пунктами (назовём их \(\displaystyle А {\small,}\)\(\displaystyle Б {\small,}\)\(\displaystyle В {\small,}\)\(\displaystyle Г {\small,}\)\(\displaystyle Д {\small,}\)\(\displaystyle Е {\small,}\)\(\displaystyle Ж {\small}\) и \(\displaystyle З \)) курсируют электрички по следующим маршрутам: \(\displaystyle А - Б{\small,}\) \(\displaystyle А- Ж{\small,}\) \(\displaystyle Г - Е {\small,}\)\(\displaystyle Б - В{\small,}\)\(\displaystyle Г - Д{\small,}\)\(\displaystyle А - В{\small,}\)\(\displaystyle Г - З{\small,}\)\(\displaystyle Д - З\) и \(\displaystyle Д - Е{\small.}\)
Можно ли добраться на электричках (возможно, с пересадками) из пункта \(\displaystyle А\) в пункт \(\displaystyle З{\small?}\)
- Да
- Нет