extract commonly used libraries for programming contest