1.C++ 全局变量不明确与 using namespace std 冲突
//VS2019
#include<iostream>
using namespace std;
int N;
int count = 0;
void Process(char a, int k, int step)
{
int x, y;
if (k == N * N)
{
if (step > count)
{
count = step;
return;
}
}
...