标签:uri pid ble output enter tle desc mem main
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 10766 Accepted Submission(s): 6548
1 #include <bits/stdc++.h> 2 using namespace std; 3 int main() 4 { 5 int T,n; 6 int a[15]; 7 while(cin>>T) 8 { 9 while(T--) 10 { 11 cin>>n; 12 for(int i=0;i<n;i++) 13 cin>>a[i]; 14 sort(a,a+n); 15 cout<<a[1]<<endl; 16 } 17 } 18 return 0; 19 }
标签:uri pid ble output enter tle desc mem main
原文地址:http://www.cnblogs.com/ECJTUACM-873284962/p/6391236.html