Wrong Answer
Code
x=int(input())
for _ in range(x):
y, z, i = map(int, input().split())
if y==i:
print("0"+""+ str(z))
elif y<i:
print("0"+" "+str(z-(i-y) ))
elif y>i:
print(str(y-i)+" "+str(z))
Information
- Submit By
- Type
- Submission
- Problem
- P1187 Ticket Battle: Hridoy vs Kamona
- Contest
- Brain Booster #9
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2025-04-06 16:41:58
- Judged At
- 2025-04-06 16:41:58
- Judged By
- Score
- 10
- Total Time
- 23ms
- Peak Memory
- 3.137 MiB