diff --git a/Sherlock and Array b/Sherlock and Array new file mode 100644 index 0000000..b98b931 --- /dev/null +++ b/Sherlock and Array @@ -0,0 +1,41 @@ +#include +#include +#include +#include +#include +using namespace std; + + +int main() { + int t; + cin>>t; + for(int j=0;j>n; + if(n==1) + {cout<<"YES"<>a[i]; + m+=a[i]; + } + for(long long int i=1;i