请确保你的程序能够处理负数和零,并且能够处理重复的数字。
```cpp #include using namespace std; int main() { int num1, num2; cout <<