TLE due to max macro. help

Revision en1, by Aoi_Hill, 2021-09-23 20:55:36

These 2 solutions differ only in use of predefined max and #define max .

TLE code

AC code

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

Tags tle, theory

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)