Submission #45489539
Source Code Expand
Copy
A, B, C, D = map(int, input().split())if A+B > C+D:print("Left")elif A+B == C+D:print("Balanced")else:print("Right")
A, B, C, D = map(int, input().split()) if A+B > C+D: print("Left") elif A+B == C+D: print("Balanced") else: print("Right")
Submission Info
Submission Time | |
---|---|
Task | A - Libra |
User | KoyanagiHitoshi |
Language | Python (CPython 3.11.4) |
Score | 100 |
Code Size | 135 Byte |
Status | AC |
Exec Time | 10 ms |
Memory | 8688 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | s1.txt, s2.txt, s3.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, s1.txt, s2.txt, s3.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | AC | 10 ms | 8480 KB |
02.txt | AC | 9 ms | 8396 KB |
03.txt | AC | 9 ms | 8540 KB |
04.txt | AC | 9 ms | 8548 KB |
05.txt | AC | 9 ms | 8456 KB |
06.txt | AC | 9 ms | 8584 KB |
07.txt | AC | 9 ms | 8576 KB |
08.txt | AC | 9 ms | 8468 KB |
09.txt | AC | 9 ms | 8636 KB |
s1.txt | AC | 9 ms | 8640 KB |
s2.txt | AC | 9 ms | 8408 KB |
s3.txt | AC | 9 ms | 8688 KB |