0_0_19394314_13893.cpp:9:1: error: expected initializer before 'memset'
memset(isp,0,sizeof(isp));
^
0_0_19394314_13893.cpp:10:1: error: expected unqualified-id before 'for'
for(int i = 2; i <= 3163; i++)
^
0_0_19394314_13893.cpp:10:16: error: 'i' does not name a type
for(int i = 2; i <= 3163; i++)
^
0_0_19394314_13893.cpp:10:27: error: 'i' does not name a type
for(int i = 2; i <= 3163; i++)
^
0_0_19394314_13893.cpp:13:3: error: expected unqualified-id before 'for'
for(int j = i*i;j<10000000;j+=i)
^
0_0_19394314_13893.cpp:13:19: error: 'j' does not name a type
for(int j = i*i;j<10000000;j+=i)
^
0_0_19394314_13893.cpp:13:30: error: 'j' does not name a type
for(int j = i*i;j<10000000;j+=i)
^
0_0_19394314_13893.cpp:17:2: error: expected initializer before 'long'
long long temp = a;
^
0_0_19394314_13893.cpp:19:2: error: expected unqualified-id before 'while'
while(temp!=0)
^
0_0_19394314_13893.cpp:23:2: error: expected unqualified-id before 'return'
return a==b;
^
0_0_19394314_13893.cpp:27:1: error: expected initializer before 'setp'
setp();
^
0_0_19394314_13893.cpp:29:2: error: expected unqualified-id before 'for'
for(long long i = 5;i<=10000000;i++)
^
0_0_19394314_13893.cpp:29:22: error: 'i' does not name a type
for(long long i = 5;i<=10000000;i++)
^
0_0_19394314_13893.cpp:29:34: error: 'i' does not name a type
for(long long i = 5;i<=10000000;i++)
^
0_0_19394314_13893.cpp:32:14: error: redefinition of 'long long int b'
long long a,b;
^
0_0_19394314_13893.cpp:18:12: note: 'long long int b' previously defined here
long long b = 0;
^
0_0_19394314_13893.cpp:33:2: error: expected unqualified-id before 'while'
while(cin >> a >> b)
^
0_0_19394314_13893.cpp:39:3: error: expected unqualified-id before 'for'
for(int i=0;i<index;i++)
^
0_0_19394314_13893.cpp:39:15: error: 'i' does not name a type
for(int i=0;i<index;i++)
^
0_0_19394314_13893.cpp:39:23: error: 'i' does not name a type
for(int i=0;i<index;i++)
^
0_0_19394314_13893.cpp:42:4: error: expected unqualified-id before 'else'
else if(p[i]<=b)
^
0_0_19394314_13893.cpp:44:4: error: expected unqualified-id before 'else'
else
^
0_0_19394314_13893.cpp:47:3: error: 'cout' does not name a type
cout << endl;
^
0_0_19394314_13893.cpp:49:2: error: expected unqualified-id before 'return'
return 0;
^
|