Compiler output
prog.cpp: In function 'int main(int, const char**)':
prog.cpp:51:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a.size(); ++i)
^
prog.cpp:53:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i + 1; j < a.size(); ++j)
^
prog.cpp:27:24: warning: unused variable 'maxim' [-Wunused-variable]
long long x, suma, maxim = -(1LL << 60);
^
prog.cpp: At global scope:
prog.cpp:24:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, const char * argv[])
^
prog.cpp:24:38: warning: unused parameter 'argv' [-Wunused-parameter]
int main(int argc, const char * argv[])
^