Vì \(\frac{10^{18}+1}{10^{19}+1}< 1\Rightarrow B=\frac{10^{18}+1}{10^{19}+1}< \frac{10^{18}+1+9}{10^{19}+1+9}\)
\(\Rightarrow B< \frac{10^{18}+10}{10^{19}+10}\)
\(\Rightarrow B< \frac{10\left(10^{17}+1\right)}{10\left(10^{18}+1\right)}\)
\(\Rightarrow B< \frac{10^{17}+1}{10^{18}+1}\)
\(\Rightarrow B< A\)
Vậy A > B.