go to post Paul Collins · Feb 2, 2022 size 62 Class CodeGolf.PairedOpposites{ ClassMethod Solve(o As %String) As %Integer{s res=0 f i=1:1:$l(o,",") s res=$p(o,",",i)+res q res} } Certifications & Credly badges:Paul has no Certifications & Credly badges yet.Global Masters badges:Paul has no Global Masters badges yet.Followers:Paul has no followers yet.Following:Paul has not followed anybody yet.
size 62
{ ClassMethod Solve(o As %String) As %Integer
{
s res=0 f i=1:1:$l(o,",") s res=$p(o,",",i)+res q res
} }