Runtime Error
Code
n = int(input())
arr = list(map(int, input().split()))
q = int(input())
for i in range(q):
x = int(input())
minimum_idx = arr.index(min(arr)) + 1
print(minimum_idx_idx)
arr[minimum_idx_idx - 1] = x
Information
- Submit By
- Type
- Submission
- Problem
- P1086 KuZ the Position
- Contest
- Bangladesh 2.0
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2024-08-16 17:22:30
- Judged At
- 2024-10-03 13:22:10
- Judged By
- Score
- 0
- Total Time
- 45ms
- Peak Memory
- 12.785 MiB