UVa11727 Posted on 2026-03-05 Edited on 2026-03-08 In 解題紀錄 , UVa Views: 題目:https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2827 123456789101112131415#include <bits/stdc++.h>using namespace std;int main(){ int t; cin >> t; int arr[3]; for(int kase = 1; kase <=t; ++kase){ for(int i=0; i<3; ++i){ cin >> arr[i]; } sort(arr, arr+3); cout << "Case " << kase << ": " << arr[1] << '\n'; }}