标签:
Time Limit: 1000MS | Memory Limit: 32768KB | 64bit IO Format: %I64d & %I64u |
Description
Input
Output
Sample Input
Sample Output
#include<iostream> #include<algorithm> using namespace std; int n,m,t,a[105]; int main() { cin>>t; while(t--) { cin>>n>>m; for(int i=0;i<n;i++) cin>>a[i]; sort(a,a+n); cout<<(100-a[0])*(100-a[0])<<endl; } }
标签:
原文地址:http://www.cnblogs.com/hfc-xx/p/4761585.html