시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
2 초 | 512 MB | 265 | 149 | 121 | 54.260% |
Kristen is a meteorologist, who is monitoring extreme temperatures in the forest of Palaiseau. She has collected temperature measurements at various times over several days. Help her find out what the lowest and highest temperatures were in her entire dataset.
The input is formed of N lines, each line i with 1 ≤ i ≤ N being a space-separated list of ki tokens:
The output should contain a single line with two integers: the lowest and highest temperatures in the entire dataset, in this order.
2020-01-15 5 4 6 8 12 13 12 9 7 2020-01-16 6 3 4 6 10 12 11 7
3 13
ICPC > Regionals > Europe > Southwestern European Regional Contest > SWERC 2019 PE번