0_0_38955043_14930.cpp: In function 'int main()':
0_0_38955043_14930.cpp:24:9: error: 'q1t' was not declared in this scope; did you mean 'q1'?
24 | q1t<int>::iterator it;//遍历集合
| ^~~
| q1
0_0_38955043_14930.cpp:24:13: error: expected primary-expression before 'int'
24 | q1t<int>::iterator it;//遍历集合
| ^~~
0_0_38955043_14930.cpp:26:14: error: 'it' was not declared in this scope; did you mean 'int'?
26 | for (it = q1.begin();it != q1.end();it++)
| ^~
| int
0_0_38955043_14930.cpp:34:13: error: 'elq1' was not declared in this scope; did you mean 'q1'?
34 | elq1 cout << *it << " ";//输出的不是最后一个元素则需要输出空格
| ^~~~
| q1
|