Type: Default 1000ms 256MiB

校田径队选拔

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

校田径队要从22名备选运动员中选拔一人参加比赛。选拔规则如下:

首先比较百米成绩(秒),成绩越小越好(用时越短越优秀)

如果两名运动员成绩相同,则比较犯规次数,犯规次数越少越好

输入两名运动员的(成绩,犯规次数),输出被选中运动员的成绩和犯规次数。

输入格式

一行4个整数: time1 foul1 time2 foul2

输出格式

一行两个整数:被选中运动员的time foul

12 2 11 5
11 5
12 2 12 1
12 1
12 2 12 3
12 2
1 2 1 2
1 2

季科_周六下午

Not Claimed
Status
Done
Problem
8
Open Since
2024-3-1 0:00
Deadline
2026-8-14 23:59
Extension
24 hour(s)