Submission #36736045
Source Code Expand
A=int(input()) B=int(input()) if A>B: print(1) elif A==B: print(0) else: print(-1)
Submission Info
| Submission Time | |
|---|---|
| Task | B - 三方比較 (Three-Way Comparison) |
| User | tttnishimo |
| Language | Python (3.8.2) |
| Score | 100 |
| Code Size | 95 Byte |
| Status | AC |
| Exec Time | 25 ms |
| Memory | 9052 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 |
| 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, sample-01.txt, sample-02.txt, sample-03.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 01-01.txt | AC | 17 ms | 9052 KiB |
| 01-02.txt | AC | 18 ms | 8820 KiB |
| 01-03.txt | AC | 17 ms | 8820 KiB |
| 01-04.txt | AC | 17 ms | 8956 KiB |
| 01-05.txt | AC | 18 ms | 8876 KiB |
| 01-06.txt | AC | 20 ms | 8820 KiB |
| 01-07.txt | AC | 21 ms | 8960 KiB |
| 01-08.txt | AC | 19 ms | 8956 KiB |
| 01-09.txt | AC | 17 ms | 8876 KiB |
| sample-01.txt | AC | 20 ms | 8832 KiB |
| sample-02.txt | AC | 25 ms | 8940 KiB |
| sample-03.txt | AC | 17 ms | 8820 KiB |