Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. Se dau N si M. Sa se afle cate numere prime sunt intre N si M ce au toate
  2. cifrele impare.
  3.  
  4. Exemplu:
  5. N = 25
  6. M = 35
  7. RASPUNS: 1
  8.  
  9. (Explicatie! Avem nr. prime 29, 31, dar 29 contine o cifra para => Raspuns = 1)
  10.  
  11. Exemplu2:
  12. N = 1
  13. M = 100
  14. RASPUNS: 15
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement