Submission

Status:

PPPPPPPPPPPPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: agnes_chan

Problemset: ผลบวก (ง่าย)

Language: python

Time: 0.110 second

Submitted On: 2026-05-08 12:22:26

N , arr = input() , list(map(int,input().split()))
x , y = map(int,input().split())
print(sum(arr[x:y+1]))