#27881: CPP


11030067@mail.hpsh.tp.edu.tw (和平110級鄧雨珊)

學校 : 臺北市立和平高級中學
編號 : 163096
來源 : [61.64.210.174]
最後登入時間 :
2022-10-23 16:54:59
d659. 11727 - Cost Cutting -- UVa11727 | From: [219.85.87.59] | 發表日期 : 2021-11-03 21:23

#include <iostream>
#include <algorithm>
using namespace std;

int main(){
int t, a[3], x=1;
cin >> t;
while (t--){
cin >> a[0] >> a[1] >> a[2];
sort(a, a+3);
cout <<"Case "<< x++ <<": "<< a[1] <<endl;
}
}
 
ZeroJudge Forum