Problem snacks
User fanqie
Submission Time 2026-02-15 15:44:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snacks.cpp: In function ‘int main()’:
snacks.cpp:25:24: error: expected ‘;’ before ‘cnt’
25 | cnt[x[i]]+=cnt[l[i]]
| ^
| ;
26 | cnt[l[i]]=0;
| ~~~