这样写的C++代码为什么不可以?
#include<iostream>
using namespace std;
int zhiSu(int);
int huiWen(int);
int main()
{
int a, b;
cin >> a >> b;
for (int i = a; i <= b; i++)
if (zhiSu(i) == 0 && huiWen(i) == 0)
cout << i << endl;
system("pause");
return 0;
}
int zhiSu(int x)
{
int t = -1;
for (int i = 1; i <= x / 2 + 1; i++)
if (x%i == 0)
t++;
if (t == 0)
return 0;
else
return 1;
}
int huiWen(int x)
{
int a = x, y = 0;
for (;a!=0;)
{
y = y * 10 + a % 10;
a /= 10;
}
if (x == y)
return 0;
else return 1;
}
```求大佬指教