We fabricated a nanolayered hybrid superconductor-ferromagnet spin-valve structure, the resistive state of which depends on the preceding magnetic field polarity. The effect is based on a strong exchange bias (about -2 kOe) on a diluted ferromagnetic copper-nickel alloy and generation of a long range odd in frequency triplet pairing component. The difference of high and low resistance states at zero magnetic field is 90% of the normal state resistance for a transport current of 250 {mu}A and still around 42% for 10 {mu}A. Both logic states of the structure do not require biasing fields or currents in the idle mode.