/in/foo.cc: In function 'int main()':
/in/foo.cc:11:42: error: 'num' was not declared in this scope; did you mean 'enum'?
11 | for (int i = 0; i <= 99999; i++) num[i] = 0;
| ^~~
| enum
/in/foo.cc:13:42: error: 'b' was not declared in this scope
13 | for (int j = 0; j < 10; j++) b[j] = 0; // 修正初始化 b 数组
| ^
/in/foo.cc:14:20: error: 'a' was not declared in this scope
14 | cin >> a[i];
| ^
/in/foo.cc:17:21: error: 'zs' was not declared in this scope
17 | if (zs(a[i][j] - '0') == 1)
| ^~
/in/foo.cc:18:21: error: 'b' was not declared in this scope
18 | b[a[i][j] - '0']++;
| ^
/in/foo.cc:21:21: error: 'b' was not declared in this scope
21 | if (b[j] > 0) num[i]++;
| ^
/in/foo.cc:21:31: error: 'num' was not declared in this scope; did you mean 'enum'?
21 | if (b[j] > 0) num[i]++;
| ^~~
| enum
/in/foo.cc:26:17: error: 'num' was not declared in this scope; did you mean 'enum'?
26 | if (num[temp] < num[i]) {
| ^~~
| enum
/in/foo.cc:30:28: error: 'a' was not declared in this scope
30 | if (strcmp(a[temp], a[i]) > 0) {
| ^
/in/foo.cc:35:17: error: 'a' was not declared in this scope
35 | cout << a[temp] << endl; // 使用 cout 输出
| ^