#include<bits/stdc++.h>
using namespace std ;
typedef long long ll ;
const int maxn = 2e6 + 7 ;
const int mod = 998244353 ;
inline ll read() {
ll x = 0, f = 1 ;
char c = getchar() ;
while (c > '9' || c < '0') {
if (c == '-')
f = -1 ;
c = getchar() ;
}
while (c >= '0' && c <= '9') {
x = x * 10 + c - '0' ;
c = getchar() ;
}
return x * f ;
}
ll a[maxn] , b[maxn] , n , m , t ;
ll sum[maxn] , Sum[maxn] , ssum[maxn] , SSum[maxn] , A[maxn] , B[maxn] ;
char s[maxn] ;
void solve(){
n = read() ;
for(int i = 1 ; i <= n ; i ++){
a[i] = read() ;
}
ll Min = LONG_LONG_MAX ;
for(int i = 1 ; i <= n - 1 ; i ++){
Min = min(Min , max(a[i] , a[i + 1])) ;
}
cout << Min - 1 << endl ;
}
int main(){
t = read() ;
while(t --){
solve() ;
}
return 0 ;
}
原始补丁网站的链接:PuTTY for win32 storing configuration into file2. 6. 2024 - Update: this modified PuTTY is now based on PuTTY 0.81 (version 0.23.0)
本次官方正式发布的补丁与上一版本的补丁相同,无明显变化。关于JK补丁的信息也可以参考&…