标签:amp class mat str math bsp ret algo algorithm
#include<cmath> #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; int main(void) { int t; scanf("%d",&t); while(t--) { int n; scanf("%d",&n); int a[n]; for(int i = 0; i < n; i++) scanf("%d",&a[i]); sort(a,a+n); printf("%d\n",a[1]); } return 0; }
标签:amp class mat str math bsp ret algo algorithm
原文地址:https://www.cnblogs.com/AC-AC/p/9742001.html