Intuit interview question

Given and array to provide maximum sum by doing floor and ceiling operation.