0_0_33197884_31403.c: In function 'isPrime':
0_0_33197884_31403.c:4:22: error: expected expression before '/' token
int isPrime(int num){//返回0代表的不是质数,1则代表是质数
^
0_0_33197884_31403.c:4:22: error: stray '\267' in program
0_0_33197884_31403.c:4:22: error: stray '\265' in program
0_0_33197884_31403.c:4:22: error: stray '\273' in program
0_0_33197884_31403.c:4:22: error: stray '\330' in program
0_0_33197884_31403.c:4:22: error: stray '\264' in program
0_0_33197884_31403.c:4:22: error: stray '\372' in program
0_0_33197884_31403.c:4:22: error: stray '\261' in program
0_0_33197884_31403.c:4:22: error: stray '\355' in program
0_0_33197884_31403.c:4:22: error: stray '\265' in program
0_0_33197884_31403.c:4:22: error: stray '\304' in program
0_0_33197884_31403.c:4:22: error: stray '\262' in program
0_0_33197884_31403.c:4:22: error: stray '\273' in program
0_0_33197884_31403.c:4:22: error: stray '\312' in program
0_0_33197884_31403.c:4:22: error: stray '\307' in program
0_0_33197884_31403.c:4:22: error: stray '\326' in program
0_0_33197884_31403.c:4:22: error: stray '\312' in program
0_0_33197884_31403.c:4:22: error: stray '\312' in program
0_0_33197884_31403.c:4:22: error: stray '\375' in program
0_0_33197884_31403.c:4:22: error: stray '\243' in program
0_0_33197884_31403.c:4:22: error: stray '\254' in program
0_0_33197884_31403.c:4:22: error: stray '\324' in program
0_0_33197884_31403.c:4:22: error: stray '\362' in program
0_0_33197884_31403.c:4:22: error: stray '\264' in program
0_0_33197884_31403.c:4:22: error: stray '\372' in program
0_0_33197884_31403.c:4:22: error: stray '\261' in program
0_0_33197884_31403.c:4:22: error: stray '\355' in program
0_0_33197884_31403.c:4:22: error: stray '\312' in program
0_0_33197884_31403.c:4:22: error: stray '\307' in program
0_0_33197884_31403.c:4:22: error: stray '\326' in program
0_0_33197884_31403.c:4:22: error: stray '\312' in program
0_0_33197884_31403.c:4:22: error: stray '\312' in program
0_0_33197884_31403.c:4:22: error: stray '\375' in program
0_0_33197884_31403.c:7:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = 2;i <= sqrt(num);i++){
^
0_0_33197884_31403.c:7:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_33197884_31403.c:9:4: error: 'flag' undeclared (first use in this function)
flag = 1;
^
0_0_33197884_31403.c:9:4: note: each undeclared identifier is reported only once for each function it appears in
|