#include #include #include #include #include using namespace std; int main() { int testcase; cin>>testcase; int quries; int i,j; int array[10000]; int store[10000]; for(i=0;i>quries; for(j=0;j>array[j]; } int sum=0; for(j=0;j