0_0_24302154_6580.cpp:1:1: error: stray '\346' in program
求指点~
^
0_0_24302154_6580.cpp:1:1: error: stray '\261' in program
0_0_24302154_6580.cpp:1:1: error: stray '\202' in program
0_0_24302154_6580.cpp:1:1: error: stray '\346' in program
0_0_24302154_6580.cpp:1:1: error: stray '\214' in program
0_0_24302154_6580.cpp:1:1: error: stray '\207' in program
0_0_24302154_6580.cpp:1:1: error: stray '\347' in program
0_0_24302154_6580.cpp:1:1: error: stray '\202' in program
0_0_24302154_6580.cpp:1:1: error: stray '\271' in program
0_0_24302154_6580.cpp:1:1: error: stray '\357' in program
0_0_24302154_6580.cpp:1:1: error: stray '\275' in program
0_0_24302154_6580.cpp:1:1: error: stray '\236' in program
0_0_24302154_6580.cpp: In function 'void siftPrime(int, primeTable*)':
0_0_24302154_6580.cpp:14:47: error: 'malloc' was not declared in this scope
flag = (char *)malloc(sizeof(char) * (n >> 1));
^
0_0_24302154_6580.cpp:15:43: error: 'memset' was not declared in this scope
memset(flag, '0', sizeof(char) * (n >> 1));
^
0_0_24302154_6580.cpp:17:19: error: 'sqrt' was not declared in this scope
sqrtRoot = sqrt(n);
^
0_0_24302154_6580.cpp:28:11: error: 'free' was not declared in this scope
free(flag);
^
0_0_24302154_6580.cpp: In function 'long long int maxPower(long long int, long long int, primeTable*)':
0_0_24302154_6580.cpp:77:53: error: 'malloc' was not declared in this scope
pf = (primeFactor *)malloc(sizeof(primeFactor) * 50);
^
0_0_24302154_6580.cpp:86:9: error: 'free' was not declared in this scope
free(pf);
^
0_0_24302154_6580.cpp: In function 'int main()':
0_0_24302154_6580.cpp:95:79: error: 'malloc' was not declared in this scope
pt.primeSet = (int *)malloc(sizeof(int) * (((MAXN / 100) >> 1) + (MAXN >> 3)));
^
0_0_24302154_6580.cpp:108:18: error: 'free' was not declared in this scope
free(pt.primeSet);
^
|