There are different documents and books which are claiming that Administrative distance for static routes configured using exit interface is 1 and for the static route configured using next-hop IP address Administrative distance is 0.
R1(config)#ip route 18.104.22.168 255.255.255.0 10.10.2.1 R1(config)#ip route 22.214.171.124 255.255.255.0 fastEthernet 0/0
This is not true. Both of them are having AD value of 1. The confusion is coming from the info that directly connected interface has AD of 0, but static route outbound that interface is having the AD of 1.