how to delete some unwanted photos from icloud
Are you using iCloud Photo Library on your iPhone? Then deleting the Photo from your Photos.app will remove them from iCloud Photo Library.
Else explain please which iCloud service you are using for your photos - My Photo Stream, iCloud Photo Saaring, iCloud Photo Library and on which devices you are signed into iCloud.