Submission #31063378
Source Code Expand
a, b, c = map(int, input().split())
if a <= b <= c:
print(b)
elif a <= c <= b:
print(c)
elif b <= a <= c:
print(a)
elif b <= c <= a:
print(c)
elif c <= a <= b:
print(a)
elif c <= b <= a:
print(b)
Submission Info
| Submission Time | |
|---|---|
| Task | A - 2 番目に大きい整数 (The Second Largest Integer) |
| User | Pro_ktmr |
| Language | PyPy3 (7.3.0) |
| Score | 100 |
| Code Size | 231 Byte |
| Status | AC |
| Exec Time | 61 ms |
| Memory | 61780 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample-01.txt, sample-02.txt, sample-03.txt, sample-04.txt |
| All | 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 01-10.txt, 01-11.txt, 01-12.txt, 01-13.txt, 01-14.txt, 01-15.txt, sample-01.txt, sample-02.txt, sample-03.txt, sample-04.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 01-01.txt | AC | 61 ms | 61428 KiB |
| 01-02.txt | AC | 48 ms | 61432 KiB |
| 01-03.txt | AC | 48 ms | 61512 KiB |
| 01-04.txt | AC | 50 ms | 61488 KiB |
| 01-05.txt | AC | 49 ms | 61432 KiB |
| 01-06.txt | AC | 48 ms | 61600 KiB |
| 01-07.txt | AC | 50 ms | 61376 KiB |
| 01-08.txt | AC | 49 ms | 61716 KiB |
| 01-09.txt | AC | 53 ms | 61688 KiB |
| 01-10.txt | AC | 50 ms | 61448 KiB |
| 01-11.txt | AC | 49 ms | 61780 KiB |
| 01-12.txt | AC | 50 ms | 61452 KiB |
| 01-13.txt | AC | 48 ms | 61444 KiB |
| 01-14.txt | AC | 50 ms | 61476 KiB |
| 01-15.txt | AC | 49 ms | 61624 KiB |
| sample-01.txt | AC | 48 ms | 61624 KiB |
| sample-02.txt | AC | 53 ms | 61704 KiB |
| sample-03.txt | AC | 50 ms | 61556 KiB |
| sample-04.txt | AC | 48 ms | 61692 KiB |