0_0_25053902_15950.cpp: In function 'int prime(int*)':
0_0_25053902_15950.cpp:7:2: error: 'nbsp' was not declared in this scope
^
0_0_25053902_15950.cpp:10:64: error: 'i' was not declared in this scope
if( hash[i/2] )
^
0_0_25053902_15950.cpp:11:67: error: continue statement not within a loop
continue;
^
0_0_25053902_15950.cpp:12:61: error: 'i' was not declared in this scope
int x=i<<1;
^
0_0_25053902_15950.cpp:14:78: error: 'j' was not declared in this scope
hash[j/2]=1;
^
0_0_25053902_15950.cpp:20:64: error: 'i' was not declared in this scope
if( hash[i]==0 )
^
0_0_25053902_15950.cpp:21:70: error: 'i' was not declared in this scope
num[++count]=( i<<1 )+1;
^
0_0_25053902_15950.cpp: At global scope:
0_0_25053902_15950.cpp:25:6: error: 'nbsp' declared as reference but not initialized
bool judge( int num[], int count , long long number )
^
0_0_25053902_15950.cpp:25:56: error: expected ')' before ';' token
bool judge( int num[], int count , long long number )
^
0_0_25053902_15950.cpp:25:56: error: expected constructor, destructor, or type conversion before ';' token
0_0_25053902_15950.cpp:25:58: error: 'number' does not name a type
bool judge( int num[], int count , long long number )
^
0_0_25053902_15950.cpp: In function 'int main()':
0_0_25053902_15950.cpp:54:69: error: 'i' was not declared in this scope
printf( "Case %d: ",i );
^
0_0_25053902_15950.cpp:55:80: error: 'judge' was not declared in this scope
bool t=judge( num,count,number );
^
|