#include using namespace std; typedef int i32; typedef unsigned int u32; #ifdef DEBUG #define PRINT_VALUE(v){using namespace std;cout<<#v<<" :"< void set_mem(T *begin,u32 size,T value){ for(u32 i=0;im){ j++; } j--; max_num = max(max_num,perfix[i+j]-perfix[i]); } PRINT_VALUE(max_num); return max_num; } int main(){ cin>>t; PRINT_VALUE(t); for(u32 i=1;i<=t;i++){ cin>>n>>k>>m; set_mem(perfix, n+1, 0u); for(u32 j=1;j<=n;j++){ cin>>x[i]; } string s; cin>>s; for(u32 j=0;j