Problem duckbuttons
User Visagan
Submission Time 2026-02-20 18:44:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckbuttons.cpp:8:25: error: stray ā€˜#’ in program
8 | total += a[i] * i # i = (cell index - 1)
| ^
duckbuttons.cpp:2:1: error: ā€˜n’ does not name a type
2 | n, d = map(int, input().split())
| ^