Tính tổng đại số
\(A=\dfrac{1}{2}-\dfrac{1}{3}-\dfrac{2}{3}+\dfrac{1}{4}+\dfrac{2}{4}+\dfrac{3}{4}-\dfrac{1}{5}-\dfrac{2}{5}-\dfrac{3}{5}-\dfrac{4}{5}+...+\dfrac{1}{10}+\dfrac{2}{10}+...+\dfrac{9}{10}\)
\(B=\dfrac{1}{2}+\dfrac{1}{3}+\dfrac{2}{3}+\dfrac{1}{4}+\dfrac{2}{4}+\dfrac{3}{4}+...+\dfrac{1}{n}+\dfrac{2}{n}+...+\dfrac{n-1}{n}\)\(\left(n\in Z,n\ge2\right)\)