绳子比竹子长0.5米,将绳子对折后,它比竹子短了0.5米,竹子和绳子各长几米?