graphs Some algorithms derived from graph theory and combinatoric optimization which may be useful for some programming contests