Welcome   HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online
Home
FAQs
Problem Set
Practices
Online Contests
Major Exercises
OI Special
Judgement
Submit
Online Status
User Ranklist
Users
Register new
Login
Web Links
Hunan Normal University
College of Information Science and Engineering
中庸之道
Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:32768KB
Total submit users: 80, Accepted users: 69
Problem 11293 : No special judgement
Problem description
  读入三个整数a、b、c,找出中间数并输出。若有两个数相同,最大数作为中间数。

Input
  有多组测试数据。输入的第一行是整数T(0<T<=2000),表示测试数据的组数。每一组测试数据只有一行,分别为整数a、b和c,相邻两 数间有一个空格。该行没有其它多余的符号。-2^31<a,b,c<2^31。

Output
  对应每组输入,输出一行三个数的中间数。该行不能有其它多余的符号。

Sample Input
3
2 3 4
12 35 12
13 13 10
Sample Output
3
35
13
Problem Source
  UESTC

Submit   Discuss   Judge Status  Problems  Ranklist 

HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online, Version 2010.5.5.final.
Web visits:18424 today,16241415 total, since 2010-05-07