摘要:
1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 class LittleElephantAndBooks{ 8 public: 9 int getNumber(vector pages,int number){10 sort(pages.begin(),pages.end());11 int res = pages[number];12 for(int i = 0; i < number-1; i ++ ){13 res +=... 阅读全文