A theoretical quest for high temperature superconductivity on the example of low-dimensional carbon structures