标签:tran ack rip others cstring names sample limit mono
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 10966 Accepted Submission(s): 6710
#include<iostream> #include<cstring> #include<queue> #include<cstdio> #include<algorithm> #include<cmath> using namespace std; #define maxn 1010 #define INF 99999999 int main() { int n; while(~scanf("%d",&n)) { int t; while(n--) { int a[105]; scanf("%d",&t); for(int i=0; i<t; i++) scanf("%d",&a[i]); sort(a,a+t); printf("%d\n",a[1]); } } return 0; }
标签:tran ack rip others cstring names sample limit mono
原文地址:http://www.cnblogs.com/l609929321/p/6601406.html