TLE due to max macro. help
Difference between en1 and en2, changed 14 character(s)
These 2 solutions differ only in use of predefined max and #define max .↵

[TLE code](
http://https://mirror.codeforces.com/contest/1446/submission/129700100)↵

[AC code](
http://https://mirror.codeforces.com/contest/1446/submission/129700068)↵

Please provide detailed explanation to me, it took forever to debug. ↵
Thanks↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Aoi_Hill 2021-09-23 21:01:29 14
en1 English Aoi_Hill 2021-09-23 20:55:36 338 Initial revision (published)