Блог пользователя PHANTOM_23

Автор PHANTOM_23, история, 18 месяцев назад, По-английски

Here's link to the problem. IN this problem u r given an array with n+2 element i.e n elements n+1 element is the sum of the whole n elements and n+2 element is an integer in range 1 to 10e9, this array is now shuffled and we must retrieve these n element. It gave error on test 7 saying "wrong answer too big sum of the array 'a' (test case 4)" .could someone please point me where iam going wrong .Thank you very much. My submission(code)

Полный текст и комментарии »

  • Проголосовать: нравится
  • -9
  • Проголосовать: не нравится