\(P=\dfrac{a}{a+\sqrt{2018a+bc}}+\dfrac{b}{b+\sqrt{2018b+ca}}+\dfrac{c}{c+\sqrt{2018c+ab}}\)
\(=\dfrac{a}{a+\sqrt{a.\left(a+b+c\right)+bc}}+\dfrac{b}{b+\sqrt{b.\left(a+b+c\right)+ca}}+\dfrac{c}{c+\sqrt{c.\left(a+b+c\right)+ab}}\)
\(=\dfrac{a}{a+\sqrt{a^2+ab+bc+ca}}+\dfrac{b}{b+\sqrt{b^2+ab+bc+ca}}+\dfrac{c}{c+\sqrt{c^2+ab+bc+ca}}\)
\(=\dfrac{a\left(\sqrt{a^2+ab+bc+ca}-a\right)}{ab+bc+ca}+\dfrac{b\left(\sqrt{b^2+ab+bc+ca}-b\right)}{ab+bc+ca}+\dfrac{c\left(\sqrt{c^2+ab+bc+ca}-c\right)}{ab+bc+ca}\)
\(=\dfrac{a\left(\sqrt{\left(a+b\right)\left(a+c\right)}-a\right)}{ab+bc+ca}+\dfrac{b\left(\sqrt{\left(b+c\right)\left(b+a\right)}-b\right)}{ab+bc+ca}+\dfrac{c\left(\sqrt{\left(c+a\right)\left(c+b\right)}-c\right)}{ab+bc+ca}\)
\(\le\dfrac{a\left(\dfrac{2a+b+c}{2}-a\right)}{ab+bc+ca}+\dfrac{b\left(\dfrac{2b+c+a}{2}-b\right)}{ab+bc+ca}+\dfrac{c\left(\dfrac{2c+b+a}{2}-c\right)}{ab+bc+ca}\)
\(=\dfrac{ab+ac}{2\left(ab+bc+ca\right)}+\dfrac{bc+ba}{2\left(ab+bc+ca\right)}+\dfrac{ca+cb}{2\left(ab+bc+ca\right)}\)
\(=\dfrac{2\left(ab+bc+ca\right)}{2\left(ab+bc+ca\right)}=1\)
\(maxP=1\Leftrightarrow a=b=c=\dfrac{2018}{3}\)