HELP IN DIV1 A PROBLEM 745 DIV1

Правка en1, от Noob5644, 2021-10-01 12:31:49

https://codeforces.net/contest/1580/problem/A

In this problem i know the brute force which will be (400)^4 which will give tle for sure.can anyone tell me some better approach for this by which it can be solved in the given time limit

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Noob5644 2021-10-01 12:31:49 269 Initial revision (published)