0_0_17783220_9399.cpp:13:7: error: expected nested-name-specifier before 'namespacestd'
using namespacestd;
^
0_0_17783220_9399.cpp:16:9: error: 'longlong' does not name a type
typedef longlong LL;
^
0_0_17783220_9399.cpp:21:1: error: 'vector' does not name a type
vector<int> fac[N];
^
0_0_17783220_9399.cpp:22:1: error: 'LL' does not name a type
LL f[N];
^
0_0_17783220_9399.cpp: In function 'void Mobius()':
0_0_17783220_9399.cpp:48:13: error: 'fac' was not declared in this scope
fac[j].push_back(i);
^
0_0_17783220_9399.cpp: At global scope:
0_0_17783220_9399.cpp:53:8: error: 'LL' does not name a type
inline LL sum(int p){
^
0_0_17783220_9399.cpp: In function 'void add(int, int)':
0_0_17783220_9399.cpp:64:9: error: 'f' was not declared in this scope
f[p] += v;
^
0_0_17783220_9399.cpp: In function 'void update(int, int, int)':
0_0_17783220_9399.cpp:73:23: error: 'fac' was not declared in this scope
for(int i =0 ;i < fac[n].size() ; i++){
^
0_0_17783220_9399.cpp: At global scope:
0_0_17783220_9399.cpp:79:1: error: 'LL' does not name a type
LL query(int p)
^
0_0_17783220_9399.cpp: In function 'int main()':
0_0_17783220_9399.cpp:95:13: error: 'f' was not declared in this scope
CLR(f,0);
^
0_0_17783220_9399.cpp:15:25: note: in definition of macro 'CLR'
#define CLR(a,b) memset(a,b,sizeof(a))
^
0_0_17783220_9399.cpp:108:41: error: 'query' was not declared in this scope
printf("%I64d\n",query(x));
^
0_0_17783220_9399.cpp:112:5: error: 'return0' was not declared in this scope
return0;
^
|