Firstly, k15 is a strategic weapon meant for levelling the enemy cities with a nuclear strike and not a tactical weapon to be used against enemy warships.
Secondly, Agni 5 has a CEP close to zero that means it will fall not more than 10 metres from the target, precise enough for you?