#pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include using namespace std; int main(){ int N; cin>>N; vector S(N); for(int i=0;i>S[i]; int ans = 0; int now = 0; for(int i=0;i