Submission #22602576
Source Code Expand
n = int(input())
st = []
for i in range(n):
s, t = input().split()
st.append([int(t), s])
st.sort(key=lambda x: x[0])
print(st[-2][1])
Submission Info
| Submission Time | |
|---|---|
| Task | B - Do you know the second highest mountain? |
| User | QmanEnobikto |
| Language | Python (3.8.2) |
| Score | 200 |
| Code Size | 152 Byte |
| Status | AC |
| Exec Time | 28 ms |
| Memory | 9328 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 200 / 200 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example0.txt, example1.txt, example2.txt |
| All | 000.txt, 001.txt, 002.txt, 003.txt, 004.txt, 005.txt, 006.txt, example0.txt, example1.txt, example2.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 000.txt | AC | 28 ms | 9164 KiB |
| 001.txt | AC | 19 ms | 9036 KiB |
| 002.txt | AC | 24 ms | 8972 KiB |
| 003.txt | AC | 19 ms | 9100 KiB |
| 004.txt | AC | 26 ms | 9328 KiB |
| 005.txt | AC | 19 ms | 9140 KiB |
| 006.txt | AC | 26 ms | 9208 KiB |
| example0.txt | AC | 17 ms | 8968 KiB |
| example1.txt | AC | 17 ms | 8872 KiB |
| example2.txt | AC | 21 ms | 9156 KiB |