Due to scheduled maintenance, Codeforces may be unavailable starting from October 8, 20:00 (UTC) for a duration of 30 to 120 minutes. ×
Please read the new rule regarding the restriction on the use of AI tools. ×

Negationist's blog

By Negationist, history, 2 hours ago, In English

Problem: Array Game — https://codeforces.net/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
  • Vote: I like it
  • 0
  • Vote: I do not like it