art.cpp:2:0: warning: ignoring #pragma optimize [-Wunknown-pragmas]
#pragma optimize(O3)
art.cpp:5:12: warning: overflow in implicit constant conversion [-Woverflow]
int n,ans=-1e15,tmp=-1e15,sum=-1e15;pair<int,int> a[500005];
^~~~
art.cpp:5:22: warning: overflow in implicit constant conversion [-Woverflow]
int n,ans=-1e15,tmp=-1e15,sum=-1e15;pair<int,int> a[500005];
^~~~
art.cpp:5:32: warning: overflow in implicit constant conversion [-Woverflow]
int n,ans=-1e15,tmp=-1e15,sum=-1e15;pair<int,int> a[500005];
^~~~