#include <iostream> #include <algorithm> #include <cmath> using namespace std; int IFhave(int a[], int length, int reader, int n) { int flag = 0; int m; for (int i = 1; i <= n; i++) { m = pow(10, length); if ((a[i] - reader) % m == 0) { return a[i]; flag = 1; bre...