What is wrong with this algorithm?

Правка en1, от Negationist, 2024-10-08 19:24:07

Problem: Array Game — https://codeforces.me/contest/1904/problem/C Idea of the code, consider all possible combinations of 2 elements to make diff, mn = min of, mn, diff, [first element greater than diff]-diff, [one element left of the first element greater than diff]-diff. Thanks so much.

My Code

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Negationist 2024-10-08 19:24:07 1895 Initial revision (published)