secret.cpp: In function 'void napravi(int, int, int*)':
secret.cpp:24:17: error: too few arguments to function 'void napravi(int, int, int*)'
napravi(l,mid-1);
^
secret.cpp:11:6: note: declared here
void napravi(int l,int r,int a[])
^~~~~~~
secret.cpp:25:17: error: too few arguments to function 'void napravi(int, int, int*)'
napravi(mid+1,r);
^
secret.cpp:11:6: note: declared here
void napravi(int l,int r,int a[])
^~~~~~~
secret.cpp: In function 'void Init(int, int*)':
secret.cpp:30:18: error: expected primary-expression before ']' token
napravi(0,n-1,a[]);
^
secret.cpp: In function 'int Query(int, int)':
secret.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^