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-11-11 03:11:50
- Judged By
- Score
- 0
- Total Time
- 16ms
- Peak Memory
- 3.148 MiB