Comments
On KANCodeforces Round #424 Editorial, 9 years ago
+1

There are only at most 2000 score changes, so you have at most 2000 initial score to check