Skip to main content
16 events
when toggle format what by license comment
Feb 6 at 19:46 comment added Simd @qwr Yes. I realise that isn't necessarily obvious at first
Feb 6 at 19:40 comment added qwr Oh I see the start and end index are both inclusive.
Feb 6 at 19:31 comment added Simd @qwr Currently for k=2 the first subarray has sum 8 and the second has sum 28. Which subarray has 1 in it with a larger sum?
Feb 6 at 19:26 comment added qwr Shouldn't the first example have for k=2 the subarray containing 1?
Feb 5 at 15:59 answer added CursorCoercer timeline score: 1
Feb 4 at 4:13 history edited Simd CC BY-SA 4.0
added 72 characters in body
Feb 2 at 16:13 history edited Simd CC BY-SA 4.0
added 34 characters in body
Feb 2 at 16:11 comment added Simd @CursorCoercer you can 1 index but other than that please stay with the way I have done it.
Feb 2 at 16:08 comment added CursorCoercer Are we allowed to use other types of indices for the output? For example, is 1-indexed okay? Is non-inclusive okay? Is half-inclusive okay?
Feb 2 at 15:23 history edited Simd CC BY-SA 4.0
edited body
Feb 2 at 15:16 history edited Simd CC BY-SA 4.0
added 351 characters in body
Feb 2 at 15:11 comment added Simd @CommandMaster Thank you.
Feb 2 at 15:10 history edited Simd CC BY-SA 4.0
added 351 characters in body
Feb 2 at 15:09 comment added Command Master You should put \$k\leq3\$ in bold, and probably also a bit higher, as it's quite significant.
Feb 2 at 15:03 history edited Simd CC BY-SA 4.0
added 351 characters in body
Feb 2 at 14:41 history asked Simd CC BY-SA 4.0