标签:blog int border sub count top center ack ase
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 22270 Accepted Submission(s): 13029
2 3 170.00 165.00 180.00 4 165.00 182.00 172.00 160.00
180.00 182.00
#include <iostream> using namespace std; int main() { int t,count; double score,max = -1; cin >> t; for (int i = 1; i <= t; i++) { cin >> count; max = -1; while (count--) { cin >> score; max = max > score ? max : score; } printf("%.2lf\n", max); } }
标签:blog int border sub count top center ack ase
原文地址:http://www.cnblogs.com/theskulls/p/6057397.html