Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

andryusha_na_knopke's blog

By andryusha_na_knopke, history, 4 years ago, In Russian

OK/ DJKSTRA IS really useful alghoritm. but oit is really hard. there is solution — DONT USE IT. USE @@* BFS