Configuration of polymers at the solid-liquid interface