A - Distinct Digits #include <bits/stdc++.h> #define ll long long #define sc scanf #define pr printf using namespace std; bool jzk(int k) { bool vis[10]; memset(vis, 0, sizeof(vis)); while (k) { if (vis[k % 10] == true) return false; vis[k % 10] = true; k /= 10; } return true;...