0_0_32869824_20575.cpp:1:1: error: expected unqualified-id before 'for'
for (int q=2; q*q<=m; q++) {
^
0_0_32869824_20575.cpp:1:15: error: 'q' does not name a type
for (int q=2; q*q<=m; q++) {
^
0_0_32869824_20575.cpp:1:23: error: 'q' does not name a type
for (int q=2; q*q<=m; q++) {
^
0_0_32869824_20575.cpp:7:1: error: expected unqualified-id before 'if'
if (m != 1) p[cnt++] = m;//https://blog.csdn.net/xiongshimin1997/article/details/87927092
^
|