Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Se dau N si M. Sa se afle cate numere prime sunt intre N si M ce au toate
- cifrele impare.
- Exemplu:
- N = 25
- M = 35
- RASPUNS: 1
- (Explicatie! Avem nr. prime 29, 31, dar 29 contine o cifra para => Raspuns = 1)
- Exemplu2:
- N = 1
- M = 100
- RASPUNS: 15
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement