searchig a vector
Hello,
I'm trying to write a program that will look into a vector (for example vector below)

and as an output will return only once each value inside the vector and assign it corresponding number i.e t1=1, t2=2, t5=5, t7=7, t8=8, t18=18, t88=88
Thanks for help


