Skip to main content

Timeline for Non-overlapping Matrix Sum

Current License: CC BY-SA 4.0

6 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
Dec 17, 2018 at 10:54 history edited Arnauld CC BY-SA 4.0
saved 3 bytes
Dec 17, 2018 at 10:40 comment added tsh f=([a,...r],k,i=1)=>a?Math.max(...a.map(c=>k&(i+=i)?-1/0:c+f(r,k|i))):0 It's strange, but Math.max saves bytes...
Dec 17, 2018 at 10:17 history edited Arnauld CC BY-SA 4.0
fixed version
Dec 17, 2018 at 9:56 comment added val - disappointed in SE @Shaggy but it is impossible to compose 0 from input array, -1+(-1) is -2 and it is correct answer.
Dec 16, 2018 at 21:57 history answered Arnauld CC BY-SA 4.0