Revision 2f72beab-996e-400c-a62d-e2f145ed8ed4 - Code Golf Stack Exchange

# [Stax](https://github.com/tomtheisen/stax), 11 [bytes](https://github.com/tomtheisen/stax/blob/master/docs/packed.md#packed-stax)<sup>CP437</sup>

 ä¢⌠┐xⁿtH↔BU

[Try it online!](https://staxlang.xyz/#c=%C3%A4%C2%A2%E2%8C%A0%E2%94%90x%E2%81%BFtH%E2%86%94BU&i=%5B%5B1%2C+1%2C+1%5D%2C+%5B1%2C+1%2C+0%5D%2C+%5B1%2C+0%2C+1%5D%5D%0A%5B%5B1%2C+2%2C+3%2C+4%5D%2C+%5B1%2C+1%2C+0%2C+0%5D%2C+%5B1%2C+0%2C+1%2C+0%5D%2C+%5B1%2C+0%2C+0%2C+1%5D%5D%0A%5B%5B1%2C+2%2C+2%2C+2%5D%2C+%5B2%2C+1%2C+0%2C+0%5D%2C+%5B3%2C+0%2C+1%2C+0%5D%2C+%5B4%2C+0%2C+0%2C+1%5D%5D%0A%5B%5B34%2C+11%2C+35%2C+5%5D%2C+%5B56%2C+567%2C+0%2C+0%5D%2C+%5B58%2C+0%2C+679%2C+0%5D%2C+%5B40%2C+0%2C+0%2C+7%5D%5D%0A%5B%5B3%2C+5%2C+6%5D%2C+%5B7%2C+1%2C+0%5D%2C+%5B8%2C+0%2C+0%5D%5D%0A%5B%5B9%2C+9%2C+9%2C+9%5D%2C+%5B9%2C+9%2C+0%2C+0%5D%2C+%5B9%2C+7%2C+9%2C+0%5D%2C+%5B9%2C+0%2C+0%2C+9%5D%5D%0A%5B%5B1%2C+0%2C+3%2C+4%5D%2C+%5B1%2C+1%2C+0%2C+0%5D%2C+%5B1%2C+0%2C+1%2C+0%5D%2C+%5B1%2C+0%2C+0%2C+1%5D%5D%0A%5B%5B1%2C+6%2C+3%2C+4%5D%2C+%5B13%2C+2%2C+0%2C+6%5D%2C+%5B29%2C+0%2C+1%2C+0%5D%2C+%5B2%2C+0%2C+0%2C+4%5D%5D&a=1&m=2)

Unpacked version with 13 bytes:

 B|AsF:10i^\=*

Finally tied Husk and beaten by Jelly by just one byte ...

## Explanation

 B Push tail (all except 1st row) of the input array, then push the head (1st row)
 |A All elements in the head are truthy
 This will be used as an accumulator
 sF For each element in the tail, execute the rest of the program
 :1 All truthy indices
 0i^\ Expected truthy indices (0 and the current row number)
 = The truthy indices are as expected
 * Perform logical "and" with the accumulator
 Implicit output of the final accumulator

AltStyle によって変換されたページ (->オリジナル) /