cf/mirror

Primes or Palindromes?

CF
568A1600· expert3s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
1 1
Output
40
Sample 2of 3
Input
1 42
Output
1
Sample 3of 3
Input
6 4
Output
172
568A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)