Problem feedtheduck
User shoryu386
Submission Time 2024-07-29 21:43:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

feedtheduck.cpp:7:4: error: invalid preprocessing directive #We
7 | # We can use the previous sum (sum of [i, j-1])
| ^~
feedtheduck.cpp:8:4: error: invalid preprocessing directive #to
8 | # to calculate the sum of [i, j] by adding a[j] to it
| ^~
feedtheduck.cpp:1:1: error: ā€˜nā€™ does not name a type
1 | n, targ = list(map(int, input().strip().split()))
| ^