art.cpp: In function 'long long int findS(long long int, long long int)':
art.cpp:10:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int i=0;i<SizeA.size();i++){
| ~^~~~~~~~~~~~~
art.cpp: In function 'int main()':
art.cpp:19:28: error: 'LLONG_MIN' was not declared in this scope
19 | long long int temp,Max=LLONG_MIN;
| ^~~~~~~~~
art.cpp:3:1: note: 'LLONG_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <algorithm>
+++ |+#include <climits>
3 | #include <vector>
art.cpp:26:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i=0;i<SizeA.size()-1;i++){
| ~^~~~~~~~~~~~~~~
art.cpp:27:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int j=i+1;j<SizeA.size();j++){
| ~^~~~~~~~~~~~~