已知等差数列{an)的前n项和为Sn=﹣n2+(10+k)n+(k﹣1),则实数k=____ ,an=____
I can't enter the room because the k____ to the door is lost.