Wrong Answer
Code
t= int(input())
for i in range(t):
n=int(input())
count=0
arr=list(map(int,input().split()))
arr1=list(map(int,input().split()))
for j in range(n):
if(arr[j]<arr1[j]):
count=count+(arr1[j]-arr[j])
print(count)
Information
- Submit By
- Type
- Submission
- Problem
- P1228 Business Strategy
- Contest
- LUCC Presents Kick & Code Intra LU Programming Contest
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2025-09-01 05:57:07
- Judged At
- 2025-09-01 05:57:07
- Judged By
- Score
- 0
- Total Time
- 17ms
- Peak Memory
- 3.27 MiB