aboutsummaryrefslogtreecommitdiff
path: root/challenge-262/asherbhs/j/ch-1.ijs
blob: ce70b24a6e890783ce447ab7a227be01fbddb126 (plain)
1
2
3
4
5
6
7
MaxPositiveNegative=.{{>./+/"1]1 _1=/*y}}

echo MaxPositiveNegative _3 1 2 _1 3 _2 4
echo MaxPositiveNegative _1 _2 _3 1
echo MaxPositiveNegative 1 2

exit''