Type(1.1) (Numerical) Let
f:R->R
and
g:R->R
be defined as
f(x)={(x+a,x<0),(|x-1|,x>=0):}
g(x)={(x+1,x<0),((x-1)^(2)+b,x>=0):}
, where
a,b
are non-negative real numbers. If
g@f(x)
is continuous for all
xinR
, then
a+b
is equal to